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: ran shalit <rshalit@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
67a54d5de2
commit
e41c641856
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user