Christophe Leroy
14554d92c1
powerpc/xics: Include missing header
...
Include of_adresses.h to get of_iomap() prototype.
Fixes: 86c38fec69 ("powerpc: Remove asm/prom.h from all files that don't need it")
Signed-off-by: Christophe Leroy <[email protected] >
Signed-off-by: Michael Ellerman <[email protected] >
Link: https://lore.kernel.org/r/f20a14be1a29fa0a9ebcfc5ebf05eb69c5120d10.1653370502.git.christophe.leroy@csgroup.eu
2022-05-24 20:44:30 +10:00
Christophe Leroy
86c38fec69
powerpc: Remove asm/prom.h from all files that don't need it
...
Several files include asm/prom.h for no reason.
Clean it up.
Signed-off-by: Christophe Leroy <[email protected] >
[mpe: Drop change to prom_parse.c as reported by [email protected] ]
Signed-off-by: Michael Ellerman <[email protected] >
Link: https://lore.kernel.org/r/7c9b8fda63dcf63e1b28f43e7ebdb95182cbc286.1646767214.git.christophe.leroy@csgroup.eu
2022-05-08 22:15:04 +10:00
Cédric Le Goater
248af248a8
powerpc/xics: Rename the map handler in a check handler
...
This moves the IRQ initialization done under the different ICS backends
in the common part of XICS. The 'map' handler becomes a simple 'check'
on the HW IRQ at the FW level.
As we don't need an ICS anymore in xics_migrate_irqs_away(), the XICS
domain does not set a chip data for the IRQ.
Signed-off-by: Cédric Le Goater <[email protected] >
Signed-off-by: Michael Ellerman <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2021-08-10 23:14:59 +10:00
Benjamin Herrenschmidt
aa9c5adf2f
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 <[email protected] >
Signed-off-by: Paul Mackerras <[email protected] >
Reviewed-by: Segher Boessenkool <[email protected] >
[mpe: Add empty ics_native_init() to unbreak non-microwatt builds]
Signed-off-by: Michael Ellerman <[email protected] >
fixup-ics
Link: https://lore.kernel.org/r/[email protected]
2021-06-21 21:15:58 +10:00