[PATCH 0/2] accel/rocket: Fix file close and reset with a job on the NPU

Arun Iyengar via B4 Relay devnull+aiyengar1990.gmail.com at kernel.org
Mon Nov 30 23:28:07 PST 2026


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 <aiyengar1990 at gmail.com>
---
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,
--  
Arun Iyengar <aiyengar1990 at gmail.com>





More information about the Linux-rockchip mailing list