]> www.infradead.org Git - users/dwmw2/qemu.git/commit
ppc/xive2: Allow 1-byte write of Target field in TIMA
authorGlenn Miles <milesg@linux.vnet.ibm.com>
Fri, 13 Sep 2024 16:16:52 +0000 (11:16 -0500)
committerNicholas Piggin <npiggin@gmail.com>
Sun, 3 Nov 2024 23:14:37 +0000 (09:14 +1000)
commitcfe9a7f286f8db4316a25ac4471d91db8b387262
treef434d12fa4dd5ae255ed29ee9ecff13f468e2eee
parent76798e12dfa61ff7d7bc05a6cc831c023a8ba08c
ppc/xive2: Allow 1-byte write of Target field in TIMA

When running PowerVM, the console is littered with XIVE traces regarding
invalid writes to TIMA address 0x100b6 due to a lack of support for writes
to the "TARGET" field which was added for XIVE GEN2.  To fix this, we add
special op support for 1-byte writes to this field.

Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Michael Kowal <kowal@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/intc/xive.c
hw/intc/xive2.c
include/hw/ppc/xive2.h
include/hw/ppc/xive_regs.h