diff options
author | Pavan S <pavan.sreenivas@intel.com> | 2024-10-02 10:46:40 +0300 |
---|---|---|
committer | Koby Elbaz <koby.elbaz@intel.com> | 2025-09-25 09:14:45 +0300 |
commit | 6ca282c3e635cd98cc5a9bb24606b41379e1fd8e (patch) | |
tree | 93d1b4c6612c2771300bc44929f0c4494ac7108f /rust/helpers/vmalloc.c | |
parent | a0d866bab184161ba155b352650083bf6695e50e (diff) |
accel/habanalabs: add Infineon version check
On HL338 ASICs, the Infineon first‑stage firmware is not present and
the reported version is 0. In this case printing a version number is
misleading, as it suggests valid firmware when it does not exist.
Fix this by printing the first‑stage Infineon firmware version only
if the reported value is non‑zero. This avoids confusing or incorrect
log messages on devices where the first stage is not applicable.
Signed-off-by: Pavan S <pavan.sreenivas@intel.com>
Reviewed-by: Koby Elbaz <koby.elbaz@intel.com>
Signed-off-by: Koby Elbaz <koby.elbaz@intel.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions