linux/drivers/misc/habanalabs
farah kassabri beb71ee36e habanalabs: fix kernel OOPs related to staged cs
In case of single staged cs with both first/last indications
set, we reach a scenario where in cs_release function flow
we don't cancel the TDR work before freeing the cs memory,
this lead to kernel OOPs since when the timer expires
the work pointer will be freed already.
In addition treat wait encaps cs "not found" handle
as "OK" for the user in order to keep the user interface
for both legacy and encpas signal/wait features the same.

Signed-off-by: farah kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-09-14 15:00:03 +03:00
..
common habanalabs: fix kernel OOPs related to staged cs 2021-09-14 15:00:03 +03:00
gaudi habanalabs/gaudi: hwmon default card name 2021-09-01 18:38:24 +03:00
goya habanalabs: add support for f/w reset 2021-09-01 18:38:24 +03:00
include habanalabs: update to latest firmware headers 2021-09-01 18:38:24 +03:00
Kconfig misc/habana: Stop using frame_vector helpers 2021-01-12 14:14:53 +01:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00