diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-10-01 08:59:57 +0200 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-11-04 10:52:47 +1100 |
commit | 0118b0a2e4b9a55a8e7a344183d9b594ce710e98 (patch) | |
tree | 18302719b9a7d29acb817bc79ba7e7aa68c96c71 /hw | |
parent | e26a866f5393d711ed6967f6e8716068e7855f51 (diff) | |
download | skiboot-0118b0a2e4b9a55a8e7a344183d9b594ce710e98.zip skiboot-0118b0a2e4b9a55a8e7a344183d9b594ce710e98.tar.gz skiboot-0118b0a2e4b9a55a8e7a344183d9b594ce710e98.tar.bz2 |
xive/p9: cleanup all EQs when a VP block is freed.
EQ 7 was missing from the cleanup loop.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xive.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4635,7 +4635,7 @@ static int64_t opal_xive_free_vp_block(uint64_t vp_base) /* Ensure EQs are disabled and cleaned up. Ideally the caller * should have done it but we double check it here */ - for (j = 0; j < 7; j++) { + for (j = 0; j < NUM_INT_PRIORITIES; j++) { struct xive *eq_x = xive_from_vc_blk(eq_blk); struct xive_eq eq, *orig_eq = xive_get_eq(eq_x, eq_idx + j); |