diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-12-22 14:16:50 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-05 15:41:01 +1100 |
commit | 6e7950d8a8a739f2d633785eb22de3332cb897f8 (patch) | |
tree | 988feeca17a254e63589f72ef457a392385ea49c /include | |
parent | bb4f85f723ac1d31e174ddfbe8c0e06412d50c6d (diff) | |
download | skiboot-6e7950d8a8a739f2d633785eb22de3332cb897f8.zip skiboot-6e7950d8a8a739f2d633785eb22de3332cb897f8.tar.gz skiboot-6e7950d8a8a739f2d633785eb22de3332cb897f8.tar.bz2 |
xive: Add support for EOIs via OPAL
opal_xive_eoi() can perform EOIs in XIVE exploitation mode
as well as XICS emulation mode. Add a per-interrupt flag
requiring the OS to use the OPAL call instead of ESB access.
This is meant to be used as a broken HW workaround
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/opal-api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal-api.h b/include/opal-api.h index 8316ea5..4503177 100644 --- a/include/opal-api.h +++ b/include/opal-api.h @@ -1103,6 +1103,7 @@ enum { OPAL_XIVE_IRQ_LSI = 0x00000004, OPAL_XIVE_IRQ_SHIFT_BUG = 0x00000008, OPAL_XIVE_IRQ_MASK_VIA_FW = 0x00000010, + OPAL_XIVE_IRQ_EOI_VIA_FW = 0x00000020, }; /* Flags for OPAL_XIVE_GET/SET_QUEUE_INFO */ |