Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6263328ybx; Mon, 11 Nov 2019 06:32:27 -0800 (PST) X-Google-Smtp-Source: APXvYqz4UyiO8ivZ5AFMlH53MPPcm7XtsWoC4luViutvv6CXWweHsLKAhxgkO67cvfD7lrkJEHze X-Received: by 2002:aa7:c98f:: with SMTP id c15mr26775957edt.98.1573482747668; Mon, 11 Nov 2019 06:32:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573482747; cv=none; d=google.com; s=arc-20160816; b=h+ze9Ugz59QoxYqqCTty115u8e0f2YpmQVw/TJX6nHpXJBwPkFdrx5idHN7gSuCzXR 4W/2b2Q2Q1ERqqovtfQ/30e3lTm/TX2KTIkWYUVc+FNtsw7bArK55JipUK3zNsbtUuIY tBAv6cnezAmJVpHt0fc0+bNdjeYDUSo+AlDBftygwQq4Nyt2NqYggI6i25Tx35qrgv8L EIRpXsuYUokeHnLCV5wpM7QKRF9CPPNUvRRUkrLIkN32edgglCttydAFdHkQHUZEdlDX Xm4i/hgDJlk1XteGW9W7Htrcb6bHYL1m0klVYCQu1NXOP+PlR+g8GsWvBlB1Fttdj48O lenQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to; bh=c3n9KPPoCMDf86LLMdxgnzDMjkpPMASRZaER+0oPUFs=; b=GlK4o5Il1HhCCRlys/lo5KPSk9uVU8GJZRqldWXz8flDNodo8Kr+1lAyKuMeiAfshP 4jOe6dgQWhb927wrSPd9nTeAdSjqj+4pSzMJojnnIk1iyoyecgUI4Yhs5moTebgwiI5C PxGR3qIVi93R5/dzqBlrPrfdYrz13az5L0TfJgVFbN11bjLwUuZ/MFs1xk9Ejwh4XNGo R1ojWru52fvGOur0tjWEsvnX7w917S03RJeo4TBJhflev1zERfAQK8fO/hzfmEWYjN4V V+qia5zKlGKesF/P0+wvPyC/VEN/FhIQpLzxQlvsFRQqxV4N4VnbFJPGF3/hMOSDm1EX qr0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si14173138edj.451.2019.11.11.06.32.02; Mon, 11 Nov 2019 06:32:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbfKKOap (ORCPT + 99 others); Mon, 11 Nov 2019 09:30:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:41464 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726853AbfKKOap (ORCPT ); Mon, 11 Nov 2019 09:30:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1B8C2B543; Mon, 11 Nov 2019 14:30:44 +0000 (UTC) To: Juergen Gross , Boris Ostrovsky Cc: lkml , the arch/x86 maintainers , Andy Lutomirski , "xen-devel@lists.xenproject.org" From: Jan Beulich Subject: [PATCH 0/2] x86/Xen/32: xen_iret_crit_fixup adjustments Message-ID: Date: Mon, 11 Nov 2019 15:30:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch here fixes another regression from 3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs"), besides the one already addressed by https://lists.xenproject.org/archives/html/xen-devel/2019-10/msg01988.html. The second patch is a minimal bit of cleanup on top. 1: make xen_iret_crit_fixup independent of frame layout 2: simplify xen_iret_crit_fixup's ring check Jan