pnv/xive2: Add support for automatic save&restore
commit835806f1f97a840d27e9c2e24c678af6e12b2dc4
authorCédric Le Goater <clg@kaod.org>
Wed, 2 Mar 2022 05:51:39 +0000 (2 06:51 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 2 Mar 2022 05:51:39 +0000 (2 06:51 +0100)
tree8c49c2d22daa937bfa8a3f7c3ce6da808cdef7fa
parente16032b8dc56332096111ce02741a03c88c7be43
pnv/xive2: Add support for automatic save&restore

The XIVE interrupt controller on P10 can automatically save and
restore the state of the interrupt registers under the internal NVP
structure representing the VCPU. This saves a costly store/load in
guest entries and exits.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/intc/pnv_xive2.c
hw/intc/pnv_xive2_regs.h
hw/intc/xive2.c
include/hw/ppc/xive2.h
include/hw/ppc/xive2_regs.h