diff options
author | Ohad Sharabi <osharabi@habana.ai> | 2021-11-22 12:23:51 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 08:59:07 +0200 |
commit | 4fac990f604e6c10538026835a8a30f3c1b6fcf5 (patch) | |
tree | 8b5c173d538c9ca641a9f6fcb7d15df302476b6a /fs/btrfs/dev-replace.h | |
parent | 3416d4b59b8fbf0ad360353da4fa0f7293831230 (diff) | |
download | linux-4fac990f604e6c10538026835a8a30f3c1b6fcf5.tar.gz |
habanalabs: skip read fw errors if dynamic descriptor invalid
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>
Diffstat (limited to 'fs/btrfs/dev-replace.h')
0 files changed, 0 insertions, 0 deletions