Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1360749ybb; Thu, 9 Apr 2020 00:01:08 -0700 (PDT) X-Google-Smtp-Source: APiQypJLyvvYZYOB2M1e4oWHbrCbP/QiTqtkSy1VFi2qFMJh9I/7MH3keRjr7M9aF1hjZkKvt75E X-Received: by 2002:a9d:242:: with SMTP id 60mr2508195otb.294.1586415668660; Thu, 09 Apr 2020 00:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586415668; cv=none; d=google.com; s=arc-20160816; b=WInfN0oMvi5OX4K4Vg8KL36HKEn0cxLjsuSc+dY9IduL1HdqK3cj4vodFzVdianEka 8PgLGXL0ZD/RQCO/9NBQCuDST57fmpSxz+zrHGIO1WHJOnTt0D4tPCzMF/8+SBngAf3z 6R3bNh38RIzaVRFfMwOVDZLsFYZp+i6czSyAJgEsg02JQVdhqNfJWD2RDiz2gOylGNat T2H06q+Dpfz3mvHikxUflDQibYxnwLwodQPsbNW0Unjp3vXxMkA+CradrHNACj5+pqh+ U+xCmjghgB7Cl2oEUJipHRL/JwZsR075mQTU0gLaySzwTBpJINE0jrfkbFUTxJjsXUtG 9Nag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=h4GT+S5kAkMaI1q0lnE+Qlse2hde6UgDb50Cw+h5K30=; b=r/kAVtiawhZc8lDCxbguULxmw8rHYf+JmH38Qvh2VVzro9oRgU+uuTK1DOB2N3bnxu MP7/9WoUB+OKStNKmrd74Ttq3gjBLm1QqehiXk6wXlA80q3p0MGJXPwEhLiJAX5shfCD Ljhqvmu0n1gL9BRERLrxzhGYNqzF+tgestDS2smChkmMn9n6qVlJQgFRSm6SkWQ+opxr 3YTj1rp/t23CHaF/GJjbeFqsyWiPuynQeyIbZGXw0UWGjdMtDNxEzMlYHPz97CuP7CfF Zv5eQCH3jKcA6yLg+N6ftk3Z6nEgJgeShI1XBglz2k+9BFVldE97Rkp0sQr4fxiecWEA p7qg== 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 e40si2711267ote.234.2020.04.09.00.00.52; Thu, 09 Apr 2020 00:01:08 -0700 (PDT) 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 S1725987AbgDIHAH (ORCPT + 99 others); Thu, 9 Apr 2020 03:00:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:44216 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgDIHAH (ORCPT ); Thu, 9 Apr 2020 03:00:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de 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) From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 #ifdef CONFIG_X86_64 -- 2.16.4