powerpc/xics: Add a native ICS backend for microwatt
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Jun 2021 03:45:53 +0000 (13:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Jun 2021 11:15:58 +0000 (21:15 +1000)
commitaa9c5adf2f61da39c92280d9336e091852e292ff
tree68ec33035c8024e57c2b1ea64e7612a7b9721f09
parent0d0f9e5f2fa7aacf22892078a1065fa5d0ce941b
powerpc/xics: Add a native ICS backend for microwatt

This is a simple native ICS backend that matches the layout of
the Microwatt implementation of ICS.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
[mpe: Add empty ics_native_init() to unbreak non-microwatt builds]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
fixup-ics
Link: https://lore.kernel.org/r/YMwW8cxrwB2W5EUN@thinks.paulus.ozlabs.org
arch/powerpc/boot/dts/microwatt.dts
arch/powerpc/include/asm/xics.h
arch/powerpc/platforms/microwatt/Kconfig
arch/powerpc/platforms/microwatt/setup.c
arch/powerpc/sysdev/xics/Kconfig
arch/powerpc/sysdev/xics/Makefile
arch/powerpc/sysdev/xics/ics-native.c [new file with mode: 0644]
arch/powerpc/sysdev/xics/xics-common.c