summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2020-04-09 09:00:01 +0200
committerJuergen Gross <jgross@suse.com>2020-04-09 16:53:48 +0200
commitd6f34f4c6b4a962eb7a86c923fea206f866a40be (patch)
tree3590f6eee24d21db7f509f5bf444174fe58a950a /arch/x86/xen
parent0e1b4271078787d3408d3dd314d80b290578cc00 (diff)
downloadlinux-d6f34f4c6b4a962eb7a86c923fea206f866a40be.tar.gz
linux-d6f34f4c6b4a962eb7a86c923fea206f866a40be.tar.bz2
linux-d6f34f4c6b4a962eb7a86c923fea206f866a40be.zip
x86/xen: fix booting 32-bit pv guest
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 <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20200409070001.16675-1-jgross@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/xen-head.S2
1 files changed, 1 insertions, 1 deletions
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