aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-08-04 12:50:47 +0530
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2021-08-06 11:51:25 +0530
commitcd8ce5dfa7a35fcea619bba791a6743e91deb4ff (patch)
treeb9e77584f085790994f8b4acb27e5d95358fb30f /include
parent2b97a6374714ebbe1e003e412473714ce6553653 (diff)
downloadskiboot-cd8ce5dfa7a35fcea619bba791a6743e91deb4ff.zip
skiboot-cd8ce5dfa7a35fcea619bba791a6743e91deb4ff.tar.gz
skiboot-cd8ce5dfa7a35fcea619bba791a6743e91deb4ff.tar.bz2
psi/p10: Activate P10 interrupts
Behave as P9 for now until we know more on P10. Interface should be the same, apart from the size of the ESB pages. Signed-off-by: Cédric Le Goater <clg@kaod.org> [Fixed suprious interrupt issue - Vasant] Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/psi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/psi.h b/include/psi.h
index f7b5927..a7104ef 100644
--- a/include/psi.h
+++ b/include/psi.h
@@ -116,6 +116,13 @@
#define PSIHB_XSCOM_P9_HBCSR_CLR 0x13
#define PSIHB_XSCOM_P9_HBSCR_FSP_IRQ PPC_BIT(17)
+#define PSIHB_XSCOM_P10_BASE 0xa
+#define PSIHB_XSCOM_P10_HBBAR_EN PPC_BIT(63)
+#define PSIHB_XSCOM_P10_HBCSR 0xe
+#define PSIHB_XSCOM_P10_HBCSR_SET 0x12
+#define PSIHB_XSCOM_P10_HBCSR_CLR 0x13
+#define PSIHB_XSCOM_P10_HBSCR_FSP_IRQ PPC_BIT(17)
+
/* P9 PSI Interrupts */
#define P9_PSI_IRQ_PSI 0
#define P9_PSI_IRQ_OCC 1