[Skiboot] [PATCH] xive: Enable backlog on queues

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jan 3 15:45:28 AEDT 2017


Without this, not only backlog counters in groups aren't
incremented but IPB bits aren't set on unscheduled VPs.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---

This applies on top of my existing (large) XIVE series.

 hw/xive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xive.c b/hw/xive.c
index f558809..b5f2af8 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -3442,7 +3442,7 @@ static int64_t opal_xive_set_queue_info(uint64_t vp, uint32_t prio,
 	 * escalation interrupt
 	 */
 	if ((qflags & OPAL_XIVE_EQ_ENABLED) && !(eq.w0 & EQ_W0_VALID)) {
-		eq.w0 |= EQ_W0_VALID;
+		eq.w0 |= EQ_W0_VALID | EQ_W0_BACKLOG;
 		eq.w1 = EQ_W1_GENERATION | EQ_W1_ESe_Q;
 	} else if (!(qflags & OPAL_XIVE_EQ_ENABLED)) {
 		eq.w0 &= ~EQ_W0_VALID;



More information about the Skiboot mailing list