diff mbox series

[13/22] xive/p9: cleanup all EQs when a VP block is freed.

Message ID 20190903170413.4373-14-clg@kaod.org
State Superseded
Headers show
Series xive: new interfaces, fixes and cleanups in a new driver | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (7b12d5489fcfd73ef7ec0cb27eff7f8a5f13b238)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Cédric Le Goater Sept. 3, 2019, 5:04 p.m. UTC
EQ 7 was missing from the cleanup loop.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 hw/xive-p9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/xive-p9.c b/hw/xive-p9.c
index 7564e8457112..7cedca321946 100644
--- a/hw/xive-p9.c
+++ b/hw/xive-p9.c
@@ -4639,7 +4639,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 < 8; 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);