aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-08-08 16:48:55 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-09-05 14:55:27 +0300
commit867b58ac9445570556150ec0cefc752313159f51 (patch)
treeca24aaf9916abdfbfef0cd20ec8e1f4bef96a286
parenthabanalabs: replace __le32_to_cpu with le32_to_cpu (diff)
downloadlinux-dev-867b58ac9445570556150ec0cefc752313159f51.tar.xz
linux-dev-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>
-rw-r--r--drivers/misc/habanalabs/device.c2
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: