aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-04 12:20:38 +1000
committerMichael Neuling <mikey@neuling.org>2017-04-19 14:44:55 +1000
commit30adccf43dfb6b37c7d1635512b04366d95d5456 (patch)
treebc989446d15cfdb71049c2915788741b3fc9ec98 /hw
parentbcfa5f2160bcf6b1dd5d037fda831c20294c5f53 (diff)
downloadskiboot-30adccf43dfb6b37c7d1635512b04366d95d5456.zip
skiboot-30adccf43dfb6b37c7d1635512b04366d95d5456.tar.gz
skiboot-30adccf43dfb6b37c7d1635512b04366d95d5456.tar.bz2
xive: Synchronize after disable IRQs in opal_xive_reset()
After all IRQs have been masked, sync the XIVE HW before we start disabling all the queues. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Neuling <mikey@neuling.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/xive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 0837bed..0b3475d 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -3779,6 +3779,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));