From nobody Tue May 7 18:37:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1586415638; cv=none; d=zohomail.com; s=zohoarc; b=Tfoey2WUjN3q2ZuDOOHB2EDIBjHuaxzLyT1h57tWeoWDlOyKxyD6o0lQquULkVb/+iclWfF2/Z/WADEoe3aR+CZ388euqg6VZkrCDg6ZiQ/SyO4dPSDr07+2B2SX0gtlx855Zmr3bPAPUFTwfmh79DKZbHxIbtZGyPzVQbH0cmM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586415638; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=h4GT+S5kAkMaI1q0lnE+Qlse2hde6UgDb50Cw+h5K30=; b=VRzsKUBTnpKzYJysE7AH4xkOAvf5K7oW1MWEpixf0Azs+DKqoNdgJs4FXovT0dZYfs0Y61vPS6v7V+k6w/BxElwrhw4m3UsD1KqBE1AChtB8GMZkrPEL9inUr4rvA6T0zMxHa9s+9rOWzrcsdACG2NBKMa+fIW7NO9B2IJvuQFY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1586415638676516.9080354843337; Thu, 9 Apr 2020 00:00:38 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jMRAX-0006yJ-PB; Thu, 09 Apr 2020 07:00:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jMRAW-0006yC-4n for xen-devel@lists.xenproject.org; Thu, 09 Apr 2020 07:00:08 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id bebfc742-7a2f-11ea-b58d-bc764e2007e4; Thu, 09 Apr 2020 07:00:07 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 66991AC64; Thu, 9 Apr 2020 07:00:05 +0000 (UTC) X-Inumbo-ID: bebfc742-7a2f-11ea-b58d-bc764e2007e4 X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86/xen: fix booting 32-bit pv guest Date: Thu, 9 Apr 2020 09:00:01 +0200 Message-Id: <20200409070001.16675-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Stefano Stabellini , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Boris Ostrovsky , Thomas Gleixner Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Commit 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable") introduced a regression for booting 32 bit Xen PV guests: the address of the initial stack needs to be a virtual one. Fixes: 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable") Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --- arch/x86/xen/xen-head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S index 7d1c4fcbe8f7..1ba601df3a37 100644 --- a/arch/x86/xen/xen-head.S +++ b/arch/x86/xen/xen-head.S @@ -38,7 +38,7 @@ SYM_CODE_START(startup_xen) #ifdef CONFIG_X86_64 mov initial_stack(%rip), %rsp #else - mov pa(initial_stack), %esp + mov initial_stack, %esp #endif =20 #ifdef CONFIG_X86_64 --=20 2.16.4