habanalabs: there is no kernel TDR in future ASICs
authorOded Gabbay <ogabbay@kernel.org>
Thu, 13 Jan 2022 08:05:38 +0000 (10:05 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 28 Feb 2022 12:22:02 +0000 (14:22 +0200)
commite24a62cb68d117858f311d14ca366a18a44120a8
tree0c106ebe17d6f7d9f90b1e37f29f49e73c1870da
parent4c01e524b21ff4342d8ab16a32a0acf91db761e3
habanalabs: there is no kernel TDR in future ASICs

In future ASICs, there is no kernel TDR for new workloads that are
submitted directly from user-space to the device.

Therefore, the driver can NEVER know that a workload has timed-out.

So, when the user asks us to wait for interrupt on the workload's
completion, and the wait has timed-out, it doesn't mean the workload
has timed-out. It only means the wait has timed-out, which is NOT an
error from driver's perspective.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c