accel/rocket: Fix file close and reset with a job on the NPU
Get series with b4
b4 am [email protected] change-id 20261130-rocket-fixes-e1438ca23beeVersions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | accel/rocket: Wait for in-flight jobs before releasing the file's BOsdrivers/ drivers/ drivers/ | +40 | 0 replies | |
| 2/2 | accel/rocket: Reset the core before detaching its IOMMUdrivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] accel/rocket: Fix file close and reset with a job on the NPU
Patch 2 is the same change as Midgy Balon's RK3568 RFC; see the patch.
Tested on an Orange Pi 5 (RK3588), 7.3 with both patches, KASAN: 70 SIGKILLs during inference, no job timeout (before: 12 in 10 kills); 10 faulting jobs, no IOMMU stall timeout or warning (before: 75 and 10), also with the next-20261127 rockchip-iommu.c.
Developed with Claude (Anthropic) as a coding assistant; I reviewed and tested it.
Signed-off-by Arun Iyengar <[email protected]>
---
Arun Iyengar (2):
accel/rocket: Wait for in-flight jobs before releasing the file's BOs accel/rocket: Reset the core before detaching its IOMMU
drivers/accel/rocket/rocket_drv.c | 28 ++++++++++++++++++++++++++-- drivers/accel/rocket/rocket_drv.h | 2 ++ drivers/accel/rocket/rocket_job.c | 24 ++++++++++++++++++------ 3 files changed, 46 insertions(+), 8 deletions(-)
---
base-commit: 9f333c38eac95cef6e1d54681b010c6531a7dcb2
change-id: 20261130-rocket-fixes-e1438ca23bee
Best regards,
Signature · 1 line
Arun Iyengar <[email protected]>