diff mbox

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

Message ID 1477751795-20128-12-git-send-email-hegdevasant@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Vasant Hegde Oct. 29, 2016, 2:36 p.m. UTC
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@linux.vnet.ibm.com>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 hdata/spira.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stewart Smith Dec. 21, 2016, 4:35 a.m. UTC | #1
Vasant Hegde <hegdevasant@linux.vnet.ibm.com> writes:
> 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@linux.vnet.ibm.com>
> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>


Merged to master as of 8818b86bef13627fd71f34f410a3784678abef2a
diff mbox

Patch

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;
 	}