[PATCH 2/5] bsp/qoriq: Clear shared message signaled interrupts

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 22 10:23:39 UTC 2022


---
 bsps/powerpc/qoriq/irq/irq.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bsps/powerpc/qoriq/irq/irq.c b/bsps/powerpc/qoriq/irq/irq.c
index cadd503a6f..f33b7c24ae 100644
--- a/bsps/powerpc/qoriq/irq/irq.c
+++ b/bsps/powerpc/qoriq/irq/irq.c
@@ -545,6 +545,11 @@ void bsp_interrupt_facility_initialize(void)
 		qoriq.pic.svr = SPURIOUS;
 		qoriq.pic.gcr = GCR_M;
 
+		/* Clear shared message signaled interrupts */
+		for (i = 0; i < 8; ++i) {
+			qoriq.pic.msir[i].reg;
+		}
+
 		pic_global_timer_init();
 	}
 
-- 
2.35.3



More information about the devel mailing list