]> www.infradead.org Git - users/dwmw2/qemu.git/commit
pnv/xive: Support cache flush and queue sync inject with notifications
authorNicholas Piggin <npiggin@gmail.com>
Wed, 24 Jul 2024 21:21:22 +0000 (16:21 -0500)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:20 +0000 (09:51 +1000)
commit76125c0132f27f0b4ba1b71d19027aba1fe62fd9
treebffef0245f63ed798a05566d55a7b8f9b0f2ed81
parent64770efd668e61128f30d6d50861c7a85ba12ec5
pnv/xive: Support cache flush and queue sync inject with notifications

Adds support for writing a completion notification byte in memory
whenever a cache flush or queue sync inject operation is requested by
software.  QEMU does not cache any of the XIVE data that is in memory and
therefore it simply writes the completion notification byte at the time
that the operation is requested.

Co-authored-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Michael Kowal <kowal@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/intc/pnv_xive2.c
hw/intc/pnv_xive2_regs.h
include/hw/ppc/pnv_chip.h