ppc/pnv: add a PSI bridge model for POWER9
commitc38536bc80fa0b8f44db50a3190bfd241143ab0b
authorCédric Le Goater <clg@kaod.org>
Thu, 7 Mar 2019 22:35:35 +0000 (7 23:35 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2019 03:33:04 +0000 (12 14:33 +1100)
tree1369abea0039deedf3d24704eba28f5b02e0d933
parentae85605531cde2856d0b37804dc9a32028d89a34
ppc/pnv: add a PSI bridge model for POWER9

The PSI bridge on POWER9 is very similar to POWER8. The BAR is still
set through XSCOM but the controls are now entirely done with MMIOs.
More interrupts are defined and the interrupt controller interface has
changed to XIVE. The POWER9 model is a first example of the usage of
the notify() handler of the XiveNotifier interface, linking the PSI
XiveSource to its owning device model.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190307223548.20516-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_psi.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_psi.h
include/hw/ppc/pnv_xscom.h