habanalabs: print to kernel log when reset is finished
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 8 Aug 2019 13:48:55 +0000 (16:48 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Sep 2019 11:55:27 +0000 (14:55 +0300)
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>
drivers/misc/habanalabs/device.c

index e2e2199..41c3ddb 100644 (file)
@@ -907,6 +907,8 @@ again:
        else
                hdev->soft_reset_cnt++;
 
+       dev_warn(hdev->dev, "Successfully finished resetting the device\n");
+
        return 0;
 
 out_err: