From 591feeef8353c8a0ee73e42ff1538cf436c5fd1d Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Mon, 2 May 2016 15:26:21 +1000 Subject: Add base POWER9 support Add PVR detection, chip id and other misc bits for POWER9. POWER9 changes the location of the HILE and attn enable bits in the HID0 register, so add these definitions also. Signed-off-by: Michael Neuling [stewart@linux.vnet.ibm.com: Fix Numbus typo, hdata_to_dt build fixes] Signed-off-by: Stewart Smith --- hdata/cpu-common.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hdata/cpu-common.c') diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c index e0f335b..cf0ce8a 100644 --- a/hdata/cpu-common.c +++ b/hdata/cpu-common.c @@ -56,6 +56,9 @@ struct dt_node * add_core_common(struct dt_node *cpus, case PVR_TYPE_P8NVL: name = "PowerPC,POWER8"; break; + case PVR_TYPE_P9: + name = "PowerPC,POWER9"; + break; default: name = "PowerPC,Unknown"; } -- cgit v1.1