]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: split tctx presentation processing from set CPPR
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:45 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit384f0365abae49b3d6a1cd46e8ae3cf4b9d4013e
treeff3156cf0ad6b06641f1b7e2a5a8d63e9173e03f
parent64a18e0c37a6b5c3d94541ff0599ea84fec998c0
ppc/xive2: split tctx presentation processing from set CPPR

The second part of the set CPPR operation is to process (or re-present)
any pending interrupts after CPPR is adjusted.

Split this presentation processing out into a standalone function that
can be used in other places.

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