]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: Explicitly zero NSR after accepting
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:23 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit9d466ab9b6f27a5d5b7a0ec5a7ad6f60e82fafda
treea783d1950e227e5baafb35addba56fe1681651cb
parent14bcc5239f4d4780ec52881779161c62c46e7243
ppc/xive: Explicitly zero NSR after accepting

Have xive_tctx_accept clear NSR in one shot rather than masking out bits
as they are tested, which makes it clear it's reset to 0, and does not
have a partial NSR value in the register.

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