Re: [PATCH 13/38] powerpc: Put exception configuration in a common place

2016-11-11 Thread Benjamin Herrenschmidt
On Fri, 2016-11-11 at 21:06 +1100, Anton Blanchard wrote: > It looks like we only set LPCR_AIL_3 on the boot CPU after this change, > is that expected? Before that we did it in cpu_ready_for_interrupts() > which is called for the primary and all secondary CPUs. That would be a mistake... I

Re: [PATCH 13/38] powerpc: Put exception configuration in a common place

2016-11-11 Thread Anton Blanchard
Hi Ben, > The various calls to establish exception endianness and AIL are > now done from a single point using already established CPU and FW > feature bits to decide what to do. > > Signed-off-by: Benjamin Herrenschmidt ... +static void configure_exceptions(void) +{

[PATCH 13/38] powerpc: Put exception configuration in a common place

2016-06-27 Thread Benjamin Herrenschmidt
The various calls to establish exception endianness and AIL are now done from a single point using already established CPU and FW feature bits to decide what to do. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/opal.h| 1 +