diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-04-04 12:20:38 +1000 |
---|---|---|
committer | Michael Neuling <mikey@neuling.org> | 2017-04-19 14:44:55 +1000 |
commit | 30adccf43dfb6b37c7d1635512b04366d95d5456 (patch) | |
tree | bc989446d15cfdb71049c2915788741b3fc9ec98 /hw | |
parent | bcfa5f2160bcf6b1dd5d037fda831c20294c5f53 (diff) | |
download | skiboot-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |