diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-08-08 15:48:55 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-09-05 13:55:27 +0200 |
commit | 867b58ac9445570556150ec0cefc752313159f51 (patch) | |
tree | ca24aaf9916abdfbfef0cd20ec8e1f4bef96a286 /drivers | |
parent | habanalabs: replace __le32_to_cpu with le32_to_cpu (diff) | |
download | linux-867b58ac9445570556150ec0cefc752313159f51.tar.xz linux-867b58ac9445570556150ec0cefc752313159f51.zip |
habanalabs: print to kernel log when reset is finished
Now that we don't print the queue testing messages, we need to print when
the reset is finished so whoever looks at the kernel log will know the
reset process was finished successfully and the driver is not stuck.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/habanalabs/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/device.c b/drivers/misc/habanalabs/device.c index e2e219941681..41c3ddbca351 100644 --- a/drivers/misc/habanalabs/device.c +++ b/drivers/misc/habanalabs/device.c @@ -907,6 +907,8 @@ again: else hdev->soft_reset_cnt++; + dev_warn(hdev->dev, "Successfully finished resetting the device\n"); + return 0; out_err: |