aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorKarol Wachowski <[email protected]>2025-05-28 15:42:53 +0000
committerJacek Lawrynowicz <[email protected]>2025-06-05 12:36:56 +0000
commita47e36dc5d90dc664cac87304c17d50f1595d634 (patch)
tree26c6eefe19a20edac9f36b30d5d21dd0cebeffd3 /drivers/fpga/tests/fpga-mgr-test.c
parentaccel/ivpu: Use dma_resv_lock() instead of a custom mutex (diff)
downloadkernel-a47e36dc5d90dc664cac87304c17d50f1595d634.tar.gz
kernel-a47e36dc5d90dc664cac87304c17d50f1595d634.zip
accel/ivpu: Trigger device recovery on engine reset/resume failure
Trigger full device recovery when the driver fails to restore device state via engine reset and resume operations. This is necessary because, even if submissions from a faulty context are blocked, the NPU may still process previously submitted faulty jobs if the engine reset fails to abort them. Such jobs can continue to generate faults and occupy device resources. When engine reset is ineffective, the only way to recover is to perform a full device recovery. Fixes: dad945c27a42 ("accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW") Cc: [email protected] # v6.15+ Signed-off-by: Karol Wachowski <[email protected]> Reviewed-by: Lizhi Hou <[email protected]> Signed-off-by: Jacek Lawrynowicz <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions