diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-07-07 16:08:46 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-12 13:07:22 +1000 |
commit | 0751c401d792fa6711cafbb8788ed5f192734aaf (patch) | |
tree | 2f21f7666ab716214b852bfe43dd4529bf629dc8 /include | |
parent | c9100fd244e3fc0b9458488f264546c63623b3a2 (diff) | |
download | skiboot-0751c401d792fa6711cafbb8788ed5f192734aaf.zip skiboot-0751c401d792fa6711cafbb8788ed5f192734aaf.tar.gz skiboot-0751c401d792fa6711cafbb8788ed5f192734aaf.tar.bz2 |
xive: Enable memory backing of queues
This dedicates 6x64k pages of memory permanently for the XIVE to
use for internal queue overflow. This allows the XIVE to deal with
some corner cases where the internal queues might prove insufficient.
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/xive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xive.h b/include/xive.h index 54b75d8..860373c 100644 --- a/include/xive.h +++ b/include/xive.h @@ -164,7 +164,10 @@ #define VC_IVE_ISB_BLOCK_MODE 0x818 #define VC_EQD_BLOCK_MODE 0x820 #define VC_VPS_BLOCK_MODE 0x828 +#define X_VC_IRQ_CONFIG_IPI 0x208 #define VC_IRQ_CONFIG_IPI 0x840 +#define VC_IRQ_CONFIG_MEMB_EN PPC_BIT(45) +#define VC_IRQ_CONFIG_MEMB_SZ PPC_BITMASK(46,51) #define VC_IRQ_CONFIG_HW 0x848 #define VC_IRQ_CONFIG_CASCADE1 0x850 #define VC_IRQ_CONFIG_CASCADE2 0x858 @@ -252,6 +255,9 @@ #define VST_TSEL_IRQ 4 /* VC only */ #define VST_TABLE_OFFSET PPC_BITMASK(27,31) +/* Number of queue overflow pages */ +#define VC_QUEUE_OVF_COUNT 6 + /* Bits in a VSD entry. * * Note: the address is naturally aligned, we don't use a PPC_BITMASK, |