Reviewed-by: Glenn Miles <[email protected]> On Mon, 2025-05-12 at 13:10 +1000, Nicholas Piggin wrote: > If CPPR is lowered to preclude the pending interrupt, NSR should be > cleared and the qemu_irq should be lowered. This avoids some cases > of supurious interrupts. > > Signed-off-by: Nicholas Piggin <[email protected]> > --- > hw/intc/xive.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/hw/intc/xive.c b/hw/intc/xive.c > index cebe409a1a..6293ea4361 100644 > --- a/hw/intc/xive.c > +++ b/hw/intc/xive.c > @@ -110,6 +110,9 @@ void xive_tctx_notify(XiveTCTX *tctx, uint8_t ring, > uint8_t group_level) > regs[TM_IPB], alt_regs[TM_PIPR], > alt_regs[TM_CPPR], alt_regs[TM_NSR]); > qemu_irq_raise(xive_tctx_output(tctx, ring)); > + } else { > + alt_regs[TM_NSR] = 0; > + qemu_irq_lower(xive_tctx_output(tctx, ring)); > } > } >
- [PATCH 17/50] pnv/xive2: Support ESB Escalation Nicholas Piggin
- Re: [PATCH 17/50] pnv/xive2: Support ESB Escalation Caleb Schlossin
- Re: [PATCH 17/50] pnv/xive2: Support ESB Escalation Mike Kowal
- Re: [PATCH 17/50] pnv/xive2: Support ESB Escalation Nicholas Piggin
- [PATCH 13/50] ppc/xive: tctx_notify should clear the precl... Nicholas Piggin
- Re: [PATCH 13/50] ppc/xive: tctx_notify should clear ... Caleb Schlossin
- Re: [PATCH 13/50] ppc/xive: tctx_notify should clear ... Mike Kowal
- Re: [PATCH 13/50] ppc/xive: tctx_notify should clear ... Miles Glenn
- [PATCH 04/50] ppc/xive2: Remote VSDs need to match on forw... Nicholas Piggin
- Re: [PATCH 04/50] ppc/xive2: Remote VSDs need to matc... Caleb Schlossin
- Re: [PATCH 04/50] ppc/xive2: Remote VSDs need to matc... Mike Kowal
- Re: [PATCH 04/50] ppc/xive2: Remote VSDs need to matc... Miles Glenn
- Re: [PATCH 04/50] ppc/xive2: Remote VSDs need to matc... Nicholas Piggin
- [PATCH 12/50] ppc/xive2: Set CPPR delivery should account ... Nicholas Piggin
- [PATCH 10/50] ppc/xive2: Fix treatment of PIPR in CPPR upd... Nicholas Piggin
