]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Reset Generation Flipped bit on END Cache Watch
authorMichael Kowal <kowal@linux.ibm.com>
Mon, 12 May 2025 03:10:16 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit576830428eea6ebfc85792851a343214b834e401
tree8b2f150e9ea764fc4874b45c44d736184930718a
parentbde8c148bb22b99cb84cda800fa555851b8cb358
ppc/xive2: Reset Generation Flipped bit on END Cache Watch

When the END Event Queue wraps the END EQ Generation bit is flipped and the
Generation Flipped bit is set to one.  On a END cache Watch read operation,
the Generation Flipped bit needs to be reset.

While debugging an error modified END not valid error messages to include
the method since all were the same.

Signed-off-by: Michael Kowal <kowal@linux.ibm.com>
Reviewed-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-8-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/pnv_xive2.c
hw/intc/xive2.c