[PATCH v1 3/5] bsps/zynqmp: Use correct number of interrupts

Kinsey Moore kinsey.moore at oarcorp.com
Mon Sep 20 21:38:27 UTC 2021


GICv2 can support up to 1024 interrupts, but ZynqMP hardware is only
configured for 192 interrupts.
---
 bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h b/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
index 9af41643bd..3ffb01d1df 100644
--- a/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
+++ b/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
@@ -48,7 +48,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#define BSP_INTERRUPT_VECTOR_COUNT 1024
+#define BSP_INTERRUPT_VECTOR_COUNT 192
 
 /* Interrupts vectors */
 #define BSP_TIMER_VIRT_PPI 27
-- 
2.30.2



More information about the devel mailing list