diff options
| author | Vitaly Margolin <vitaly.margolin@intel.com> | 2024-06-23 09:19:15 +0300 |
|---|---|---|
| committer | Koby Elbaz <koby.elbaz@intel.com> | 2025-09-25 09:09:25 +0300 |
| commit | 5295be6c4ea4e1ffd38ab0ab131a65afc6b78e9f (patch) | |
| tree | eac41b2be7fef38c49496401c399f97725f5d2e7 /include | |
| parent | b4fd8e56c9a3b614370fde2d45aec1032eb67ddd (diff) | |
| download | linux-5295be6c4ea4e1ffd38ab0ab131a65afc6b78e9f.tar.xz | |
accel/habanalabs: add generic message type to get error counters
Add a new CPUCP generic message type to retrieve HBM, SRAM and critical
error counters from the device.
Signed-off-by: Vitaly Margolin <vitaly.margolin@intel.com>
Reviewed-by: Koby Elbaz <koby.elbaz@intel.com>
Signed-off-by: Koby Elbaz <koby.elbaz@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/habanalabs/cpucp_if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/habanalabs/cpucp_if.h b/include/linux/habanalabs/cpucp_if.h index 7ed3fdd55dda..29c50e7427d1 100644 --- a/include/linux/habanalabs/cpucp_if.h +++ b/include/linux/habanalabs/cpucp_if.h @@ -1425,9 +1425,11 @@ struct cpucp_monitor_dump { * from "pkt_subidx" field in struct cpucp_packet. * * HL_PASSTHROUGHT_VERSIONS - Fetch all firmware versions. + * HL_GET_ERR_COUNTERS_CMD - Command to get error counters */ enum hl_passthrough_type { HL_PASSTHROUGH_VERSIONS, + HL_GET_ERR_COUNTERS_CMD, }; #endif /* CPUCP_IF_H */ |
