diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2020-11-21 14:35:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-16 10:58:32 +0100 |
commit | 6d9b478ef5a8a2be0e2682222471c7db7b43e096 (patch) | |
tree | c68cc8b8d9f68aafd097f6a018f5d9e8e8a07dd5 | |
parent | dad08d96b1d13cba282902cbeef0bfee497ce88c (diff) | |
download | linux-stable-6d9b478ef5a8a2be0e2682222471c7db7b43e096.tar.gz linux-stable-6d9b478ef5a8a2be0e2682222471c7db7b43e096.tar.bz2 linux-stable-6d9b478ef5a8a2be0e2682222471c7db7b43e096.zip |
habanalabs/gaudi: fix missing code in ECC handling
[ Upstream commit 652b44453ea953d3157f02a7f17e18e329952649 ]
There is missing statement and missing "break;" in the ECC handling
code in gaudi.c
This will cause a wrong behavior upon certain ECC interrupts.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/misc/habanalabs/gaudi/gaudi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/gaudi/gaudi.c b/drivers/misc/habanalabs/gaudi/gaudi.c index 2e55890ad6a6..8da1720357a2 100644 --- a/drivers/misc/habanalabs/gaudi/gaudi.c +++ b/drivers/misc/habanalabs/gaudi/gaudi.c @@ -5416,6 +5416,8 @@ static void gaudi_handle_ecc_event(struct hl_device *hdev, u16 event_type, params.num_memories = 33; params.derr = true; params.disable_clock_gating = true; + extract_info_from_fw = false; + break; default: return; } |