diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2018-03-12 14:28:19 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-03-14 02:04:33 -0500 |
commit | 773836f3424d3e9a7a27996ccb2e698aa581417a (patch) | |
tree | f648dce9282b916e0f7cc3a99b47f3126d862e36 /hw | |
parent | bfdf5787b9d800403ad5afc49d03e5b56d35a42e (diff) | |
download | skiboot-773836f3424d3e9a7a27996ccb2e698aa581417a.zip skiboot-773836f3424d3e9a7a27996ccb2e698aa581417a.tar.gz skiboot-773836f3424d3e9a7a27996ccb2e698aa581417a.tar.bz2 |
npu2: Disable fast reboot
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@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/npu2.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |