Re: [PATCH 08/14] powerpc/setup: cpu_to_phys_id array

2018-03-28 Thread Michael Ellerman
Nicholas Piggin writes: > Build an array that finds hardware CPU number from logical CPU > number in firmware CPU discovery. Use that rather than setting > paca of other CPUs directly, to begin with. Subsequent patch will > not have pacas allocated at this point. > --- > arch/powerpc/include/asm

[PATCH 08/14] powerpc/setup: cpu_to_phys_id array

2018-02-13 Thread Nicholas Piggin
Build an array that finds hardware CPU number from logical CPU number in firmware CPU discovery. Use that rather than setting paca of other CPUs directly, to begin with. Subsequent patch will not have pacas allocated at this point. --- arch/powerpc/include/asm/smp.h | 1 + arch/powerpc/kernel