]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86/xen: fix booting 32-bit pv guest
authorJuergen Gross <jgross@suse.com>
Thu, 9 Apr 2020 07:00:01 +0000 (09:00 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 9 Apr 2020 14:53:48 +0000 (16:53 +0200)
Commit ddb2d4bc5e6464 ("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: ddb2d4bc5e6464 ("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>
arch/x86/xen/xen-head.S

index 7d1c4fcbe8f770c6d80b4c75b8a21cd85bc0d54c..1ba601df3a37bcbdd6ecbd6826bc97aa118fb833 100644 (file)
@@ -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