mirror-linux/drivers/accel/habanalabs/common
Pavan S 6ca282c3e6 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>
2025-09-25 09:14:45 +03:00
..
mmu accel/habanalabs/gaudi2: add GAUDI2D revision support 2024-06-23 09:53:04 +03:00
pci accel/habanalabs: use parent device for trace events 2024-06-23 09:45:59 +03:00
Makefile accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure 2025-09-25 09:09:30 +03:00
asid.c
command_buffer.c accel/habanalabs: Move ioctls to the device specific ioctls range 2023-10-09 12:37:20 +03:00
command_submission.c accel/habanalabs: convert timeouts to secs_to_jiffies() 2025-03-16 23:24:16 -07:00
context.c drivers: remove get_task_comm() and print task comm directly 2025-01-12 20:21:16 -08:00
debugfs.c accel/habanalabs: add debugfs interface for HLDIO testing 2025-09-25 09:09:31 +03:00
decoder.c accel/habanalabs: fix events mask of decoder abnormal interrupts 2023-04-08 10:39:34 +03:00
device.c accel/habanalabs/gaudi2: use the CPLD_SHUTDOWN event handler 2025-09-25 09:09:29 +03:00
firmware_if.c accel/habanalabs: print timestamp of last PQ heartbeat on EQ heartbeat failure 2024-06-23 09:53:33 +03:00
habanalabs.h accel/habanalabs: add debugfs interface for HLDIO testing 2025-09-25 09:09:31 +03:00
habanalabs_drv.c accel/habanalabs: convert timeouts to secs_to_jiffies() 2025-03-16 23:24:16 -07:00
habanalabs_ioctl.c accel/habanalabs: add HL_GET_P_STATE passthrough type 2025-09-25 09:09:31 +03:00
hldio.c accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure 2025-09-25 09:09:30 +03:00
hldio.h accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure 2025-09-25 09:09:30 +03:00
hw_queue.c accel/habanalabs/gaudi2: move HMMU page tables to device memory 2024-02-26 09:30:40 +02:00
hwmon.c accel/habanalabs: no CPUCP prints on heartbeat failure 2024-06-23 09:45:51 +03:00
irq.c accel/habanalabs: dump the EQ entries headers on EQ heartbeat failure 2024-06-23 09:53:32 +03:00
memory.c accel/habanalabs: clarify ctx use after hl_ctx_put() in dmabuf release 2025-09-25 09:09:27 +03:00
memory_mgr.c accel/habanalabs: remove old interface variation of 'access_ok()' 2025-09-25 09:09:29 +03:00
security.c accel/habanalabs: fix glbl error cause handling 2024-02-26 09:47:00 +02:00
security.h accel/habanalabs: fix glbl error cause handling 2024-02-26 09:47:00 +02:00
state_dump.c
sysfs.c accel/habanalabs: add Infineon version check 2025-09-25 09:14:45 +03:00