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

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Sun Oct 30 01:36:34 AEDT 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 590e929..14efb91 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