Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1525830ybc; Tue, 19 Nov 2019 23:16:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyRM9HJK3Lia1LdOpkTRsFMMUfsqFNOCe+mEHSE8EXsM+Hmx5J0i44jPSkOs+ldw+rrDiA1 X-Received: by 2002:a17:906:5049:: with SMTP id e9mr3199245ejk.53.1574234179688; Tue, 19 Nov 2019 23:16:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574234179; cv=none; d=google.com; s=arc-20160816; b=FMdijcS2W59qnYcf50yB86rKv/ntiOQntJJbWPm5hE1x59F6oyavMWCcuu4YLet1h2 e3CmOAbeu6cb8NehS8tyjjX6U1ZfJYsvKk+jNlniIy8mTPlGbovaf0+KQBio/1WOoCjL Lp0FvVD+OCGGrSzH6AICWv+ihO/7bckTYCIBaSNVywCjijT1iCcI8fhoCYQY7ynWVDsy DBtzO7ZyknZEfG34JSaC/obGM/mFNgQL/6fbnPqKUOyNc9DK1f46gRVdb4mIXAz1/YuB BtWVs7TkTf6u/xErEBhU/XHZXx6eRlaZGpcAHFnA1whkeDyciBWwndCqJYT4zsJwZWHZ W1fg== 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:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IUpqxu35sGroCRGzD4XjPN0YOlvVbUWTJ97v+tRwysI=; b=hEnJECxVebHruNcnvnIJGtS1OXNPxnyxcP31RZ4Pr5d7gXQ6AksirBPl8hDGU/KTff 0EHwpgB4FK7tB+AQ6yiI8br41PM3KxQjQFT3wM/EOpPKZoQl/qr90ADePT/McrJ2GKrj ab67nA6mLajIQdeu0Dxffmx992+4mb+vSbDbzm7/NKfJArRzcvp7pjdJHD3nbDOvtYd0 cAG6uSteIkbY90dTh0G0d0pTTMYGXvmWUSYHzGT5Jw0sOxO9IX871x5JNnhOrbWlPRzx kV5MtDEjUAfluiMn0ZHljSIwfvolLJ6ZfmuwAAVX6D2mVFmbsqJFt8rNnYGGDxELHzdz j2Ng== 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 hh22si5350267ejb.275.2019.11.19.23.15.54; Tue, 19 Nov 2019 23:16:19 -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 S1727726AbfKTHNO (ORCPT + 99 others); Wed, 20 Nov 2019 02:13:14 -0500 Received: from mx2.suse.de ([195.135.220.15]:39472 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726163AbfKTHNO (ORCPT ); Wed, 20 Nov 2019 02:13:14 -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 BFE04B2E0; Wed, 20 Nov 2019 07:13:12 +0000 (UTC) Subject: Re: [Xen-devel] Ping: [PATCH 0/2] x86/Xen/32: xen_iret_crit_fixup adjustments To: Boris Ostrovsky Cc: Juergen Gross , Andy Lutomirski , the arch/x86 maintainers , "xen-devel@lists.xenproject.org" , lkml References: <09359c00-5769-0e0d-4af9-963897d3b498@suse.com> <40267a5b-8f1b-6463-72cd-f8f354c58bc4@oracle.com> From: Jan Beulich Message-ID: Date: Wed, 20 Nov 2019 08:13:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <40267a5b-8f1b-6463-72cd-f8f354c58bc4@oracle.com> 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 On 19.11.2019 18:50, Boris Ostrovsky wrote: > On 11/19/19 7:58 AM, Jan Beulich wrote: >> On 11.11.2019 15:30, Jan Beulich wrote: >>> 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 >> Seeing that the other regression fix has been taken into -tip, >> what is the situation here? Should 5.4 really ship with this >> still unfixed? > > > I am still unable to boot a 32-bit guest with those patches, crashing in > int3_exception_notify with regs->sp zero. > > When I revert to 3c88c692c287 the guest actually boots so my (?) problem > was introduced somewhere in-between. In order to even get as far as the patches here taking effect you first need "x86/stackframe/32: repair 32-bit Xen PV" (which is what "the other regression fix" in my ping refers to). Jan