aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-05-12 13:10:21 +1000
committerCédric Le Goater <clg@redhat.com>2025-07-21 08:03:52 +0200
commitad9175f8a2d7b4ef7d63e9663a42e7f7a44bc3f5 (patch)
treee41a5ad36d6f9c35be906345b2e0e3e7c4301f52 /include/hw/intc
parent3abbec04e627396c32f2b7b7461961fb68c5c122 (diff)
downloadqemu-ad9175f8a2d7b4ef7d63e9663a42e7f7a44bc3f5.zip
qemu-ad9175f8a2d7b4ef7d63e9663a42e7f7a44bc3f5.tar.gz
qemu-ad9175f8a2d7b4ef7d63e9663a42e7f7a44bc3f5.tar.bz2
ppc/xive2: Set CPPR delivery should account for group priority
The group interrupt delivery flow selects the group backlog scan if LSMFB < IPB, but that scan may find an interrupt with a priority >= IPB. In that case, the VP-direct interrupt should be chosen. This extends to selecting the lowest prio between POOL and PHYS rings. Implement this just by re-starting the selection logic if the backlog irq was not found or priority did not match LSMFB (LSMFB is updated so next time around it would see the right value and not loop infinitely). Signed-off-by: Nicholas Piggin <npiggin@gmail.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-13-npiggin@gmail.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions