[12/22] xive/p9: fix silent escalation EQ setup
diff mbox series

Message ID 20190903170413.4373-13-clg@kaod.org
State New
Headers show
Series
  • xive: new interfaces, fixes and cleanups in a new driver
Related show

Checks

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

Commit Message

Cédric Le Goater Sept. 3, 2019, 5:04 p.m. UTC
When setting the silent/gather escalation for a VP, all EQs [0-6]
should point to the silent EQ 7. Fix the loop in routine
xive_setup_silent_gather() to include EQ 6 which was missing.

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

Patch
diff mbox series

diff --git a/hw/xive-p9.c b/hw/xive-p9.c
index b5c437fec8b1..7564e8457112 100644
--- a/hw/xive-p9.c
+++ b/hw/xive-p9.c
@@ -4124,7 +4124,7 @@  static int64_t xive_setup_silent_gather(uint64_t vp_id, bool enable)
 	/* Mark/unmark all other prios with the new "u" bit and update
 	 * escalation
 	 */
-	for (i = 0; i < 6; i++) {
+	for (i = 0; i < 7; i++) {
 		eq_orig = xive_get_eq(x, idx + i);
 		if (!eq_orig)
 			continue;