Skip to content

Commit

Permalink
x86/xen: fix booting 32-bit pv guest
Browse files Browse the repository at this point in the history
Commit 2f62f36 ("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: 2f62f36 ("x86/xen: Make the boot CPU idle task reliable")
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
  • Loading branch information
jgross1 committed Apr 9, 2020
1 parent 0e1b427 commit d6f34f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/xen-head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6f34f4

Please sign in to comment.