Message ID | 20171101055944.1792-2-benh@kernel.crashing.org |
---|---|
State | Accepted |
Headers | show |
Series | [v3,1/2] xive: Update inits for DD2.0 | expand |
diff --git a/hw/xive.c b/hw/xive.c index 352ad3be..bb17b38a 100644 --- a/hw/xive.c +++ b/hw/xive.c @@ -4013,10 +4013,14 @@ static int64_t opal_xive_set_queue_info(uint64_t vp, uint32_t prio, /* Always notify flag */ if (qflags & OPAL_XIVE_EQ_ALWAYS_NOTIFY) eq.w0 |= EQ_W0_UCOND_NOTIFY; + else + eq.w0 &= ~EQ_W0_UCOND_NOTIFY; /* Escalation flag */ if (qflags & OPAL_XIVE_EQ_ESCALATE) eq.w0 |= EQ_W0_ESCALATE_CTL; + else + eq.w0 &= ~EQ_W0_ESCALATE_CTL; /* Unconditionally clear the current queue pointer, set * generation to 1 and disable escalation interrupts.
We could never clear "unconditional notify" and "escalate" Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- hw/xive.c | 4 ++++ 1 file changed, 4 insertions(+)