This is another series of fixes to the ethosu driver. It's mostly probe error paths and cmd stream validation fixes. It's a mixture of AI reported issues, different solutions to other posted issues and fixes[1] and my own fixes.
The series adds rejecting OFM tranpose in cmd stream, but then the last patch adds support for it. I did this so the rejection can be backported, but maybe supporting OFM transpose is small enough that it should just be backported too? Rob [1] https://lore.kernel.org/all/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]> --- Rob Herring (Arm) (11): accel: ethosu: Fix ethosu_job_open() return value accel: ethosu: Drop IRQF_SHARED flag accel: ethosu: Ensure cmd stream ends with a stop op accel: ethosu: Ensure SRAM size is 0 on mapping failure accel: ethosu: Ensure SRAM region size matches job accel: ethosu: Fix probe error cleanup accel: ethosu: Factor buffer bounds checks accel: ethosu: Validate secondary streams accel: ethosu: Reject unsupported commands accel: ethosu: Validate all feature map tiles accel: ethosu: Validate OFM transpose drivers/accel/ethosu/ethosu_device.h | 6 + drivers/accel/ethosu/ethosu_drv.c | 17 ++- drivers/accel/ethosu/ethosu_gem.c | 240 ++++++++++++++++++++++++++++++----- drivers/accel/ethosu/ethosu_job.c | 22 ++-- 4 files changed, 233 insertions(+), 52 deletions(-) --- base-commit: f7e3f4d9f425cf4c5577cd84a096e6e618488083 change-id: 20260827-ethosu-fixes-ee58386e9000 Best regards, -- Rob Herring (Arm) <[email protected]>
