[Skiboot] [PATCH 11/11] hdat: Add PSI HB xscom details

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Wed Sep 28 22:05:33 AEST 2016


Add PSI HB XSCOM address. SCOM address and length is taken from
p9 example dts (doc/device-tree/examples/power9-phb4.dts).

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
CC: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 hdata/spira.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hdata/spira.c b/hdata/spira.c
index 8f8eb49..65d1cad 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -313,6 +313,11 @@ static void add_psihb_node(struct dt_node *np)
 		psi_slen = 0x20;
 		psi_comp = "ibm,power8-psihb-x";
 		break;
+	case proc_gen_p9:
+		psi_scom = 0x5012900;
+		psi_slen = 0x100;
+		psi_comp = "ibm,power9-psihb-x";
+		break;
 	default:
 		psi_comp = NULL;
 	}
-- 
2.5.5



More information about the Skiboot mailing list