aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-11-14 13:06:03 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-15 15:06:00 +1100
commitbc255876147cd19d2eef0a46c100d86f7a1c91f1 (patch)
tree2a19fd8c657cbb818f6b3cfba2f34f1ed11c9c33 /include
parentd4a953d8efb8a1db900d6b58b5600f228f2e2bc1 (diff)
downloadskiboot-bc255876147cd19d2eef0a46c100d86f7a1c91f1.zip
skiboot-bc255876147cd19d2eef0a46c100d86f7a1c91f1.tar.gz
skiboot-bc255876147cd19d2eef0a46c100d86f7a1c91f1.tar.bz2
psi: Don't register more interrupts than the HW supports
On P9, the HW only has 14 interrupts. Trying to register 16 causes a checkstop when we try to initialize the 2 missing ones. 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/psi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/psi.h b/include/psi.h
index 5982adc..1a3e649 100644
--- a/include/psi.h
+++ b/include/psi.h
@@ -159,7 +159,7 @@
#define P9_PSI_IRQ_SBE_I2C 11
#define P9_PSI_IRQ_DIO 12
#define P9_PSI_IRQ_PSU 13
-#define P9_PSI_NUM_IRQS 16
+#define P9_PSI_NUM_IRQS 14