Skip to content

accel/ivpu: Add context violation handling for 6.14

Jacek Lawrynowicz stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3accel/ivpu: Abort all jobs after command queue unregisterdrivers/accel/ivpu/ivpu_drv.c drivers/accel/ivpu/ivpu_drv.h drivers/accel/ivpu/ivpu_job.c +3 more+79 -492 replies
2/3accel/ivpu: Fix locking order in ivpu_job_submitdrivers/accel/ivpu/ivpu_job.c+6 -91 reply
3/3accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HWdrivers/accel/ivpu/ivpu_job.c+25 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJacek Lawrynowicz
1/3R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] accel/ivpu: Add context violation handling for 6.14

These patchset adds support for VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW message added in recent VPU firmware. Without it the driver will not be able to process any jobs after this message is received and would need to be reloaded.

The last patch in this series is as-is from upstream, but other two patches had to be rebased because of missing new CMDQ UAPI changes that should not be backported to stable.

Karol Wachowski (3):
accel/ivpu: Abort all jobs after command queue unregister accel/ivpu: Fix locking order in ivpu_job_submit accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW

 drivers/accel/ivpu/ivpu_drv.c   |  32 ++-------
 drivers/accel/ivpu/ivpu_drv.h   |   2 +
 drivers/accel/ivpu/ivpu_job.c   | 111 ++++++++++++++++++++++++++------
 drivers/accel/ivpu/ivpu_job.h   |   1 +
 drivers/accel/ivpu/ivpu_mmu.c   |   3 +-
 drivers/accel/ivpu/ivpu_sysfs.c |   5 +-
 6 files changed, 103 insertions(+), 51 deletions(-)
Signature · 1 line
2.45.1