]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: Move NSR decoding into helper functions
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:24 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit261626dce11311ba4e866272c9a2c0990c53d85c
tree9159ba126f79ae27238b818b2dddda3a3acdc9a2
parent9d466ab9b6f27a5d5b7a0ec5a7ad6f60e82fafda
ppc/xive: Move NSR decoding into helper functions

Rather than functions to return masks to test NSR bits, have functions
to test those bits directly. This should be no functional change, it
just makes the code more readable.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.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-16-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive.c
include/hw/ppc/xive.h