]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: Redistribute phys after pulling of pool context
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:51 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit565e6d4d2151e856026ee60d16c12a61e667cd15
tree19f7bdbbb4c7bc02bfdc4568f3b0d4004adf2b80
parent7a40b50757b55c2d4233c304f32df5afdd1bd63a
ppc/xive: Redistribute phys after pulling of pool context

After pulling the pool context, if a pool irq had been presented and
was cleared in the process, there could be a pending irq in phys that
should be presented. Process the phys irq ring after pulling pool ring
to catch this case and avoid losing irqs.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-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-43-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive.c
hw/intc/xive2.c