mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
habanalabs: enable stop on error for all QMANs and engines
If there is an error in the QMAN/engine, there is no point of trying to continue running the workload. It is better to stop to allow the user to debug the program. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
e1222c2794
commit
358526be82
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ int create_hdev(struct hl_device **dev, struct pci_dev *pdev,
|
|||
hdev->reset_on_lockup = reset_on_lockup;
|
||||
hdev->memory_scrub = memory_scrub;
|
||||
hdev->boot_error_status_mask = boot_error_status_mask;
|
||||
hdev->stop_on_err = true;
|
||||
|
||||
hdev->pldm = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue