All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] accel/ethosu: fix probe and job cleanup errors
@ 2026-07-17  6:11 GuoHan Zhao
  2026-07-17  6:11 ` [PATCH v2 1/5] accel/ethosu: check DMA mask setup GuoHan Zhao
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: GuoHan Zhao @ 2026-07-17  6:11 UTC (permalink / raw)
  To: Rob Herring (Arm), Tomeu Vizoso, dri-devel
  Cc: Oded Gabbay, Thomas Zimmermann, Frank Li

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

Sashiko reported the original probe, SRAM, and fence cleanup issues while
reviewing the Ethos-U MMIO mapping fix. A follow-up review of v1 found two
more lifecycle issues in scheduler initialization and IRQ teardown, along
with an unchecked DMA mask setup error.

The first two patches handle DMA mask setup and order scheduler and IRQ
lifetimes. The remaining patches unwind probe state, propagate SRAM setup
errors, and fix completion fence ownership.

The reports are available at:

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

---
Changes in v2:
- Add DMA mask error handling.
- Initialize the scheduler before requesting the IRQ and release the IRQ
  before scheduler teardown.
- Disable clocks directly on probe failure when runtime PM is unavailable.
- Move the former v1 patches 1/3, 2/3, and 3/3 to patches 3/5, 4/5, and
  5/5, respectively.
- Rebase on the current drm-misc-fixes branch.

v1: https://lore.kernel.org/all/20260716082530.1023538-1-zhaoguohan@kylinos.cn/

GuoHan Zhao (5):
  accel/ethosu: check DMA mask setup
  accel/ethosu: fix scheduler and IRQ lifetime
  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 | 52 ++++++++++++++++++++++++++-----
 drivers/accel/ethosu/ethosu_job.c | 25 +++++++++------
 2 files changed, 60 insertions(+), 17 deletions(-)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-07-17  6:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17  6:11 [PATCH v2 0/5] accel/ethosu: fix probe and job cleanup errors GuoHan Zhao
2026-07-17  6:11 ` [PATCH v2 1/5] accel/ethosu: check DMA mask setup GuoHan Zhao
2026-07-17  6:23   ` sashiko-bot
2026-07-17  6:11 ` [PATCH v2 2/5] accel/ethosu: fix scheduler and IRQ lifetime GuoHan Zhao
2026-07-17  6:24   ` sashiko-bot
2026-07-17  6:11 ` [PATCH v2 3/5] accel/ethosu: clean up resources on probe failure GuoHan Zhao
2026-07-17  6:27   ` sashiko-bot
2026-07-17  6:11 ` [PATCH v2 4/5] accel/ethosu: propagate SRAM initialization errors GuoHan Zhao
2026-07-17  6:24   ` sashiko-bot
2026-07-17  6:11 ` [PATCH v2 5/5] accel/ethosu: fix job completion fence cleanup GuoHan Zhao
2026-07-17  6:22   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.