[Skiboot] [PATCH 13/22] xive/p9: cleanup all EQs when a VP block is freed.
Cédric Le Goater
clg at kaod.org
Wed Sep 4 03:04:04 AEST 2019
EQ 7 was missing from the cleanup loop.
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
hw/xive-p9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.21.0
More information about the Skiboot
mailing list