]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: tctx_notify should clear the precluded interrupt
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:22 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit14bcc5239f4d4780ec52881779161c62c46e7243
tree5cfde2de03d4e367ae06fb91bf0d166d9628b00f
parentad9175f8a2d7b4ef7d63e9663a42e7f7a44bc3f5
ppc/xive: tctx_notify should clear the precluded interrupt

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 <npiggin@gmail.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Reviewed-by: Caleb Schlossin <calebs@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-14-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive.c