diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-10-01 08:59:56 +0200 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-11-04 10:52:47 +1100 |
commit | e26a866f5393d711ed6967f6e8716068e7855f51 (patch) | |
tree | 84982c1db731eca61b0f9dcc9644b1fb2335c320 /hw | |
parent | f0e2746e7042e6e09c84c3f8d7ee2b0b0d559080 (diff) | |
download | skiboot-e26a866f5393d711ed6967f6e8716068e7855f51.zip skiboot-e26a866f5393d711ed6967f6e8716068e7855f51.tar.gz skiboot-e26a866f5393d711ed6967f6e8716068e7855f51.tar.bz2 |
xive/p9: fix silent escalation EQ setup
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>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xive.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4118,7 +4118,9 @@ 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 < NUM_INT_PRIORITIES; i++) { + if (i == XIVE_ESCALATION_PRIO) + continue; eq_orig = xive_get_eq(x, idx + i); if (!eq_orig) continue; |