diff options
author | Tal Cohen <talcohen@habana.ai> | 2023-03-21 16:27:24 +0100 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-04-08 09:39:33 +0200 |
commit | a855f710f5d40537bc2bf5f924827416653db39f (patch) | |
tree | 3a7b2ba2468b7ae0a9ca66fc0ab32090b82e89d5 /drivers/accel | |
parent | accel/habanalabs: change COMMS warning messages to error level (diff) | |
download | linux-a855f710f5d40537bc2bf5f924827416653db39f.tar.xz linux-a855f710f5d40537bc2bf5f924827416653db39f.zip |
accel/habanalabs: remove duplicated disable pci msg
The disable pci message is sent in reset device. It informs the FW not
to raise more EQs. The Driver may ignore received EQs, when the device
is in disabled mode.
The duplication happens when hard reset is scheduled during compute
reset and also performs 'escalate_reset_flow'.
Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Diffstat (limited to 'drivers/accel')
-rw-r--r-- | drivers/accel/habanalabs/common/device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/accel/habanalabs/common/device.c b/drivers/accel/habanalabs/common/device.c index 2fb1e2ec3a83..c36de13d6729 100644 --- a/drivers/accel/habanalabs/common/device.c +++ b/drivers/accel/habanalabs/common/device.c @@ -1822,9 +1822,7 @@ kill_processes: dev_info(hdev->dev, "Performing hard reset scheduled during compute reset\n"); flags = hdev->reset_info.hard_reset_schedule_flags; hdev->reset_info.hard_reset_schedule_flags = 0; - hdev->disabled = true; hard_reset = true; - handle_reset_trigger(hdev, flags); goto escalate_reset_flow; } } |