Re: powerpc/64: Simplify __secondary_start paca->kstack handling

2019-02-25 Thread Michael Ellerman
On Sat, 2019-02-23 at 12:24:39 UTC, Michael Ellerman wrote: > In __secondary_start() we load the thread_info of the idle task of the > secondary CPU from current_set[cpu], and then convert it into a stack > pointer before storing that back to paca->kstack. > > As pointed out in commit f761622e5943

[PATCH] powerpc/64: Simplify __secondary_start paca->kstack handling

2019-02-23 Thread Michael Ellerman
In __secondary_start() we load the thread_info of the idle task of the secondary CPU from current_set[cpu], and then convert it into a stack pointer before storing that back to paca->kstack. As pointed out in commit f761622e5943 ("powerpc: Initialise paca->kstack before early_setup_secondary") it'