aboutsummaryrefslogtreecommitdiff
path: root/hw/npu2.c
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.vnet.ibm.com>2017-07-31 21:37:06 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-04 17:13:10 +1000
commit1c974200eb5e9c81e841733e99848885f917b108 (patch)
tree63762ea100a06b8bc08506b745bd90bcd5f0e9f9 /hw/npu2.c
parent7e017fa42451a23b4c332200da3db1daafe04f1e (diff)
downloadskiboot-1c974200eb5e9c81e841733e99848885f917b108.zip
skiboot-1c974200eb5e9c81e841733e99848885f917b108.tar.gz
skiboot-1c974200eb5e9c81e841733e99848885f917b108.tar.bz2
npu2: Allow POWER9 DD2 in ec level check
Don't bail when we encounter a POWER9 DD2.x chip. Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Acked-By: Alistair Popple <alistair@popple.id.au> Cc: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Cc: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/npu2.c')
-rw-r--r--hw/npu2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index 3faa366..f4b54da 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -1231,7 +1231,7 @@ static void npu2_probe_phb(struct dt_node *dn)
path = dt_get_path(dn);
gcid = dt_get_chip_id(dn);
assert(proc_chip = get_chip(gcid));
- if ((proc_chip->ec_level & 0xf0) != 0x10) {
+ if ((proc_chip->ec_level & 0xf0) > 0x20) {
prerror("NPU2: unsupported ec level on Chip 0x%x!\n", gcid);
return;
}