Commit e41c6418 authored by ran shalit's avatar ran shalit Committed by Oded Gabbay
Browse files

habanalabs: add critical indication in sram ecc



Multiple SRAM SERR events are treated as critical events,
and host should be notified about it. Thus, adding is_critical
indication as part of SRAM ECC failure packet.

Signed-off-by: default avatarran shalit <rshalit@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 67a54d5d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ struct hl_eq_ecc_data {
	__le64 ecc_address;
	__le64 ecc_syndrom;
	__u8 memory_wrapper_idx;
	__u8 pad[7];
	__u8 is_critical;
	__u8 pad[6];
};

enum hl_sm_sei_cause {