[Skiboot] [PATCH] xive: Synchronize after disable IRQs in opal_xive_reset()

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 4 12:20:38 AEST 2017


After all IRQs have been masked, sync the XIVE HW before we
start disabling all the queues.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 hw/xive.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/xive.c b/hw/xive.c
index bb5f0b0..9713e8f 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -3777,6 +3777,7 @@ static void xive_reset_one(struct xive *x)
 				    x->int_base + i, true);
 		i++;
 	}
+	xive_sync(x);
 
 	lock(&x->lock);
 	memset(x->int_enabled_map, 0, BITMAP_BYTES(MAX_INT_ENTRIES));




More information about the Skiboot mailing list