mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 12:26:11 +00:00
habanalabs: move h/w dirty message to debug
H/W being dirty during initialization is completely expected in case f/w tools are used before loading the driver. As it is not an error, and as it doesn't give any meaningful information to the user, no point of printing it. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
0b0ae02440
commit
a919b823ab
3 changed files with 3 additions and 5 deletions
|
@ -870,8 +870,7 @@ static int gaudi_early_init(struct hl_device *hdev)
|
|||
}
|
||||
|
||||
if (gaudi_get_hw_state(hdev) == HL_DEVICE_HW_STATE_DIRTY) {
|
||||
dev_info(hdev->dev,
|
||||
"H/W state is dirty, must reset before initializing\n");
|
||||
dev_dbg(hdev->dev, "H/W state is dirty, must reset before initializing\n");
|
||||
hdev->asic_funcs->hw_fini(hdev, true, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -2536,7 +2536,7 @@ static int gaudi2_early_init(struct hl_device *hdev)
|
|||
}
|
||||
|
||||
if (gaudi2_get_hw_state(hdev) == HL_DEVICE_HW_STATE_DIRTY) {
|
||||
dev_info(hdev->dev, "H/W state is dirty, must reset before initializing\n");
|
||||
dev_dbg(hdev->dev, "H/W state is dirty, must reset before initializing\n");
|
||||
hdev->asic_funcs->hw_fini(hdev, true, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -673,8 +673,7 @@ static int goya_early_init(struct hl_device *hdev)
|
|||
}
|
||||
|
||||
if (goya_get_hw_state(hdev) == HL_DEVICE_HW_STATE_DIRTY) {
|
||||
dev_info(hdev->dev,
|
||||
"H/W state is dirty, must reset before initializing\n");
|
||||
dev_dbg(hdev->dev, "H/W state is dirty, must reset before initializing\n");
|
||||
hdev->asic_funcs->hw_fini(hdev, true, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue