[Skiboot] [PATCH 02/16] [PATCH 02/16] opencapi5: update npu3
Christophe Lombard
clombard at linux.vnet.ibm.com
Fri Aug 20 19:45:43 AEST 2021
Create npu3 entry in the device tree only for P9P chip to avoid confusion
with the following chips. NPU3 is only available for Axone.
Signed-off-by: Christophe Lombard <clombard at linux.vnet.ibm.com>
---
hw/npu3.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/npu3.c b/hw/npu3.c
index 03461373..0a9bbce8 100644
--- a/hw/npu3.c
+++ b/hw/npu3.c
@@ -113,9 +113,7 @@ static bool npu3_dt_create(void)
struct dt_node *xscom;
/* npu3 chips only */
- if (proc_gen < proc_gen_p9 ||
- chip->type == PROC_CHIP_P9_NIMBUS ||
- chip->type == PROC_CHIP_P9_CUMULUS)
+ if (chip->type != PROC_CHIP_P9P)
return false;
dt_for_each_compatible(dt_root, xscom, "ibm,xscom")
--
2.31.1
More information about the Skiboot
mailing list