]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Aug 2025 06:01:04 +0000 (09:01 +0300)
commit985062f820e74ca1fe6b7925f5e01a6218c5eefb
tree505111e427197d5a6a3bf1006a1b115acc42aae8
parent8502e9cc71b288c5521a9d047baa70e3e58f84e6
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>
(cherry picked from commit 576830428eea6ebfc85792851a343214b834e401)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/intc/pnv_xive2.c
hw/intc/xive2.c