linux/drivers/misc/habanalabs
Ohad Sharabi 5895474d21 habanalabs: skip read fw errors if dynamic descriptor invalid
[ Upstream commit 4fac990f60 ]

Reporting FW errors involves reading of the error registers.

In case we have a corrupted FW descriptor we cannot do that since the
dynamic scratchpad is potentially corrupted as well and may cause kernel
crush when attempting access to a corrupted register offset.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:05:04 +01:00
..
common habanalabs: skip read fw errors if dynamic descriptor invalid 2022-01-27 11:05:04 +01:00
gaudi habanalabs/gaudi: fix LBW RR configuration 2021-09-14 15:00:04 +03:00
goya habanalabs: add support for f/w reset 2021-09-01 18:38:24 +03:00
include habanalabs/gaudi: use direct MSI in single mode 2021-09-14 15:00:03 +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