powerpc: Put exception configuration in a common place
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:03:49 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Jul 2016 08:56:31 +0000 (18:56 +1000)
commitd3cbff1b5a90afe6cb201aa2187c9609e21f92ad
treef0ced407effcad48705b598ed5618c222d82983a
parent3808a88985b4f5f5e947c364debce4441a380fb8
powerpc: Put exception configuration in a common place

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 <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/opal.h
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/platforms/powernv/opal.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c