]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: redistribute irqs for pool and phys ctx pull
authorGlenn Miles <milesg@linux.ibm.com>
Mon, 12 May 2025 03:10:36 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit64c772ca16fcb539380a777ff273278c42f5dfef
tree1a783af1a4d4bd02a34a0bee4ac9c6bcaff33801
parent9ad30401ce9aefa319364cb8efdc6893a5bc20ad
ppc/xive2: redistribute irqs for pool and phys ctx pull

When disabling (pulling) an xive interrupt context, we need
to redistribute any active group interrupts to other threads
that can handle the interrupt if possible.  This support had
already been added for the OS context but had not yet been
added to the pool or physical context.

Signed-off-by: Glenn Miles <milesg@linux.ibm.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-28-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive.c
hw/intc/xive2.c
include/hw/ppc/xive2.h
include/hw/ppc/xive2_regs.h