Skip to content

Commit

Permalink
xive/p9: cleanup all EQs when a VP block is freed.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
legoater authored and oohal committed Nov 3, 2019
1 parent e26a866 commit 0118b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/xive.c
Expand Up @@ -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);

Expand Down

0 comments on commit 0118b0a

Please sign in to comment.