diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-03-27 08:44:28 +0100 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-03-27 08:44:28 +0100 |
commit | cab8e3e20d5cb89c876c30d24d38f1caf1d9bdb8 (patch) | |
tree | 70bdc085c10389e68912126eb0f08d63d411b20b /drivers/misc/habanalabs/command_submission.c | |
parent | habanalabs: add device status option to INFO IOCTL (diff) | |
download | linux-cab8e3e20d5cb89c876c30d24d38f1caf1d9bdb8.tar.xz linux-cab8e3e20d5cb89c876c30d24d38f1caf1d9bdb8.zip |
habanalabs: improve error messages
This patch improves two error messages to help the user to
better understand what error occurred.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/command_submission.c')
-rw-r--r-- | drivers/misc/habanalabs/command_submission.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/command_submission.c b/drivers/misc/habanalabs/command_submission.c index f908643f871f..02c48da0b645 100644 --- a/drivers/misc/habanalabs/command_submission.c +++ b/drivers/misc/habanalabs/command_submission.c @@ -261,7 +261,8 @@ static void cs_timedout(struct work_struct *work) ctx_asid = cs->ctx->asid; /* TODO: add information about last signaled seq and last emitted seq */ - dev_err(hdev->dev, "CS %d.%llu got stuck!\n", ctx_asid, cs->sequence); + dev_err(hdev->dev, "User %d command submission %llu got stuck!\n", + ctx_asid, cs->sequence); cs_put(cs); |