summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/pnv_xscom.h
diff options
context:
space:
mode:
authorCédric Le Goater2019-03-07 23:35:35 +0100
committerDavid Gibson2019-03-12 04:33:04 +0100
commitc38536bc80fa0b8f44db50a3190bfd241143ab0b (patch)
tree1369abea0039deedf3d24704eba28f5b02e0d933 /include/hw/ppc/pnv_xscom.h
parentppc/pnv: add a PSI bridge class model (diff)
downloadqemu-c38536bc80fa0b8f44db50a3190bfd241143ab0b.tar.gz
qemu-c38536bc80fa0b8f44db50a3190bfd241143ab0b.tar.xz
qemu-c38536bc80fa0b8f44db50a3190bfd241143ab0b.zip
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>
Diffstat (limited to 'include/hw/ppc/pnv_xscom.h')
-rw-r--r--include/hw/ppc/pnv_xscom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index 6623ec54a7..403a365ed2 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -73,6 +73,9 @@ typedef struct PnvXScomInterfaceClass {
#define PNV_XSCOM_OCC_BASE 0x0066000
#define PNV_XSCOM_OCC_SIZE 0x6000
+#define PNV9_XSCOM_PSIHB_BASE 0x5012900
+#define PNV9_XSCOM_PSIHB_SIZE 0x100
+
#define PNV9_XSCOM_XIVE_BASE 0x5013000
#define PNV9_XSCOM_XIVE_SIZE 0x300