[Skiboot] [PATCH 03/21] psi: Don't register more interrupts than the HW supports

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 14 13:06:03 AEDT 2016


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 at kernel.crashing.org>
---
 include/psi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
 
 
-- 
2.7.4



More information about the Skiboot mailing list