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

From: Miroslav Benes
Date: Tue Mar 17 2020 - 05:14:02 EST


On Mon, 16 Mar 2020, Boris Ostrovsky wrote:

>
>
> 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?

It is. I'll change it.

Thanks
Miroslav