Re: [PATCH 1/2] x86/xen: Make the boot CPU idle task reliable

From: Boris Ostrovsky
Date: Mon Mar 16 2020 - 10:34:15 EST




On 3/12/20 10:20 AM, Miroslav Benes wrote:
> --- a/arch/x86/xen/xen-head.S
> +++ b/arch/x86/xen/xen-head.S
> @@ -35,7 +35,7 @@ SYM_CODE_START(startup_xen)
> rep __ASM_SIZE(stos)
>
> mov %_ASM_SI, xen_start_info
> - mov $init_thread_union+THREAD_SIZE, %_ASM_SP
> + mov $init_thread_union+THREAD_SIZE-SIZEOF_PTREGS, %_ASM_SP

This is initial_stack, isn't it?

-boris