summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-23 19:51:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-23 19:51:56 +0100
commit4daeb2ae5cd8a7552ea9805792c86036298ed33d (patch)
treefa8a3671daf4cf44b6e2cbda3830ff895af95083
parentMerge tag 'icc-5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dja... (diff)
parenthabanalabs/gaudi: fix missing code in ECC handling (diff)
downloadlinux-4daeb2ae5cd8a7552ea9805792c86036298ed33d.tar.xz
linux-4daeb2ae5cd8a7552ea9805792c86036298ed33d.zip
Merge tag 'misc-habanalabs-fixes-2020-11-23' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into char-misc-linus
Oded writes: This tag contains the following habanalabs driver fix for 5.10-rc6: - Add missing statements and break; in case switch of ECC handling. Without this fix, the handling of that interrupt will be erroneous. * tag 'misc-habanalabs-fixes-2020-11-23' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux: habanalabs/gaudi: fix missing code in ECC handling
-rw-r--r--drivers/misc/habanalabs/gaudi/gaudi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/gaudi/gaudi.c b/drivers/misc/habanalabs/gaudi/gaudi.c
index 2519a34e25b7..7ea6b4368a91 100644
--- a/drivers/misc/habanalabs/gaudi/gaudi.c
+++ b/drivers/misc/habanalabs/gaudi/gaudi.c
@@ -5436,6 +5436,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;
}