]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: redistribute group interrupts on context push
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:54 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit6936d2f561759c00993217a424ddeb1554c5f1ff
tree85fb2158f14f87624bb2acba50b4fd0950f58989
parentba127a1e48d34f6c805000dc881e240fc4f2bd1d
ppc/xive2: redistribute group interrupts on context push

When pushing a context, any presented group interrupt should be
redistributed before processing pending interrupts to present
highest priority.

This can occur when pushing the POOL ring when the valid PHYS
ring has a group interrupt presented, because they share signal
registers.

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