Re: [PATCH 07/14] powerpc/64: move default SPR recording

2018-03-13 Thread Nicholas Piggin
On Tue, 13 Mar 2018 23:25:05 +1100 Michael Ellerman wrote: > Nicholas Piggin writes: > > > Move this into the early setup code, and don't iterate over CPU masks. > > We don't want to call into sysfs so early from setup, and a future patch > > won't

Re: [PATCH 07/14] powerpc/64: move default SPR recording

2018-03-13 Thread Nicholas Piggin
On Tue, 13 Mar 2018 23:25:05 +1100 Michael Ellerman wrote: > Nicholas Piggin writes: > > > Move this into the early setup code, and don't iterate over CPU masks. > > We don't want to call into sysfs so early from setup, and a future patch > > won't

Re: [PATCH 07/14] powerpc/64: move default SPR recording

2018-03-13 Thread Michael Ellerman
Nicholas Piggin writes: > Move this into the early setup code, and don't iterate over CPU masks. > We don't want to call into sysfs so early from setup, and a future patch > won't initialize CPU masks by the time this is called. > --- > arch/powerpc/kernel/paca.c | 3 +++

[PATCH 07/14] powerpc/64: move default SPR recording

2018-02-13 Thread Nicholas Piggin
Move this into the early setup code, and don't iterate over CPU masks. We don't want to call into sysfs so early from setup, and a future patch won't initialize CPU masks by the time this is called. --- arch/powerpc/kernel/paca.c | 3 +++ arch/powerpc/kernel/setup.h| 9 +++--