]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Support redistribution of group interrupts
authorGlenn Miles <milesg@linux.ibm.com>
Mon, 12 May 2025 03:10:31 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit555e446019f58e488ccf9fc416667be450e3f32f
tree28e1bf079a974fabeab8b18e69c5accacd53d4d3
parentb22ffb42999504614a1bef3a52c5b2e6549e8de6
ppc/xive2: Support redistribution of group interrupts

When an XIVE context is pulled while it has an active, unacknowledged
group interrupt, XIVE will check to see if a context on another thread
can handle the interrupt and, if so, notify that context.  If there
are no contexts that can handle the interrupt, then the interrupt is
added to a backlog and XIVE will attempt to escalate the interrupt,
if configured to do so, allowing the higher privileged handler to
activate a context that can handle the original interrupt.

Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-23-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive2.c
include/hw/ppc/xive2_regs.h