]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Avoid needless interrupt re-check on CPPR set
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:47 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit370ea4a4b6fffc30324fc8f8134483e5a749114d
treec0d6b2ab5fca700f47b8286a56956f2472b1d1d8
parent04627e2206dce95ecda486abf70d0ef7dd9f39f4
ppc/xive2: Avoid needless interrupt re-check on CPPR set

When CPPR priority is decreased, pending interrupts do not need to be
re-checked if one is already presented because by definition that will
be the highest priority.

This prevents a presented group interrupt from being lost.

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