Skip to contentSkip to conversation

habanalabs/gaudi: fix missing code in ECC handling

PATCH New Oded Gabbay 1 participant 1 message Nov 21, 2020 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 habanalabs/gaudi: fix missing code in ECC handling

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.

---
 drivers/misc/habanalabs/gaudi/gaudi.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/misc/habanalabs/gaudi/gaudi.c +2 -0
index 2519a34e25b7..7ea6b4368a91 100644
@@ -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;
 	}
Signature · 1 line
2.17.1