powerpc/powernv: Add XICS emulation APIs
OPAL provides an emulated XICS interrupt controller to use as a fallback on newer processors that don't have a XICS. It's meant as a way to provide backward compatibility with future processors. Add the corresponding interfaces. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
c0691f9dd2
commit
9fedd3f880
@@ -162,7 +162,11 @@
|
||||
#define OPAL_PCI_GET_PRESENCE_STATE 119
|
||||
#define OPAL_PCI_GET_POWER_STATE 120
|
||||
#define OPAL_PCI_SET_POWER_STATE 121
|
||||
#define OPAL_LAST 121
|
||||
#define OPAL_INT_GET_XIRR 122
|
||||
#define OPAL_INT_SET_CPPR 123
|
||||
#define OPAL_INT_EOI 124
|
||||
#define OPAL_INT_SET_MFRR 125
|
||||
#define OPAL_LAST 125
|
||||
|
||||
/* Device tree flags */
|
||||
|
||||
|
Reference in New Issue
Block a user