diff options
author | Tomer Tayar <ttayar@habana.ai> | 2024-01-18 19:18:43 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2024-02-26 09:46:52 +0200 |
commit | 7159813c912055996c0bd6b7b07afdb9e618788d (patch) | |
tree | 125dd66f2fb6d015200ba4d383dbe4602e399ea4 /drivers/accel/habanalabs | |
parent | c14e5cd3ed0d2b497a0c6c3f529c321f07a5e97b (diff) | |
download | linux-stable-7159813c912055996c0bd6b7b07afdb9e618788d.tar.gz linux-stable-7159813c912055996c0bd6b7b07afdb9e618788d.tar.bz2 linux-stable-7159813c912055996c0bd6b7b07afdb9e618788d.zip |
accel/habanalabs: modify print for skip loading linux FW to debug log
Skip loading a linux FW image into the device with the current supported
ASICs is done for test purposes only.
Moreover, for future supported ASICs it is possible that there won't be
a need to load such an image.
The print in such a case is therefore not needed in most cases, so
replace the used dev_info() with dev_dbg().
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/accel/habanalabs')
-rw-r--r-- | drivers/accel/habanalabs/common/firmware_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/habanalabs/common/firmware_if.c b/drivers/accel/habanalabs/common/firmware_if.c index 3558a6a8e192..9138f50e3789 100644 --- a/drivers/accel/habanalabs/common/firmware_if.c +++ b/drivers/accel/habanalabs/common/firmware_if.c @@ -2795,7 +2795,7 @@ static int hl_fw_dynamic_init_cpu(struct hl_device *hdev, hdev->asic_funcs->init_cpu_scrambler_dram(hdev); if (!(hdev->fw_components & FW_TYPE_LINUX)) { - dev_info(hdev->dev, "Skip loading Linux F/W\n"); + dev_dbg(hdev->dev, "Skip loading Linux F/W\n"); return 0; } |