[Skiboot] [PATCH] npu2: Disable fast reboot

Reza Arbab arbab at linux.vnet.ibm.com
Tue Mar 13 06:28:19 AEDT 2018


Fast reboot does not yet work right with the NPU. It's been disabled on
NVLink and OpenCAPI machines. Do the same for NVLink2.

This amounts to a port of 3e4577939bbf ("npu: Fix broken fast reset")
from the npu code to npu2.

Cc: stable # 5.10.x
Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>
---
 hw/npu2.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/npu2.c b/hw/npu2.c
index 5ffe18d..6f572c5 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -1393,6 +1393,9 @@ static void npu2_probe_phb(struct dt_node *dn)
 	dt_add_property_cells(np, "ibm,links", links);
 	dt_add_property(np, "ibm,mmio-window", mm_win, sizeof(mm_win));
 	dt_add_property_cells(np, "ibm,phb-diag-data-size", 0);
+
+	/* Disable fast reboot - not currently supported */
+	disable_fast_reboot("NVLink device enabled");
 }
 
 static uint32_t npu2_populate_pcie_cap(struct npu2_dev *dev,
-- 
1.8.3.1



More information about the Skiboot mailing list