]> git.ipfire.org Git - thirdparty/qemu.git/commit
pnv/xive2: VC_ENDC_WATCH_SPEC regs should read back WATCH_FULL
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:28 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commitd273abbfba47ef47e331dc22731c7d2a15e95c9a
tree58bcfa3a4391fd455bf2dee49141d566b964029f
parent14cbb7bf1245c2d9166be0309c9407845783b281
pnv/xive2: VC_ENDC_WATCH_SPEC regs should read back WATCH_FULL

Firmware expects to read back the WATCH_FULL bit from the VC_ENDC_WATCH_SPEC
register, so don't clear it on read.

Don't bother clearing the reads-as-zero CONFLICT bit because it's masked
at write already.

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