[PATCH 0/3] accel/ethosu: fix probe and job cleanup errors

From: zhaoguohan

Date: Thu Jul 16 2026 - 04:28:10 EST


From: GuoHan Zhao <zhaoguohan@xxxxxxxxxx>

Fix error handling and cleanup issues in the Arm Ethos-U driver.

Sashiko reported these issues while reviewing the Ethos-U MMIO mapping fix.
The report is available at:

https://sashiko.dev/#/patchset/20260716065219.931088-1-zhaoguohan@xxxxxxxxxx?part=1

The first two patches unwind scheduler, runtime PM, and SRAM state when
probe or SRAM setup fails. The final patch fixes completion fence ownership
across submit failures and scheduler early exits.

GuoHan Zhao (3):
accel/ethosu: clean up resources on probe failure
accel/ethosu: propagate SRAM initialization errors
accel/ethosu: fix job completion fence cleanup

drivers/accel/ethosu/ethosu_drv.c | 39 +++++++++++++++++++++++++------
drivers/accel/ethosu/ethosu_job.c | 8 ++++++-
2 files changed, 39 insertions(+), 8 deletions(-)

--
2.43.0