]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: Add xive_tctx_pipr_set() helper function
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:44 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit64a18e0c37a6b5c3d94541ff0599ea84fec998c0
tree5c6ca90cbb769245018111dec352ea52a71f8a85
parentcf454eaa96e8a0c3c1de63b0f7b85542d7c5ecbf
ppc/xive: Add xive_tctx_pipr_set() helper function

Have xive_tctx_notify() also set the new PIPR value and rename it to
xive_tctx_pipr_set(). This can replace the last xive_tctx_pipr_update()
caller because it does not need to update IPB (it already sets it).

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