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 suppose
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)
+{
+ /* Setup the tramp
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 +
arch/powerpc/kernel/setup_64.c | 6