Skip to content

media: aspeed: order probe cleanup and last close

Myeonghun Pak linux-arm-kernel linux-aspeed linux-media lkml openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

- Rebase onto managed reserved-memory initialization.
- Remove the research sentence and Assisted-by tag.
- Join the IRQ and delayed work before manual probe-failure cleanup.
- Keep VB2 release before normal last-close hardware shutdown.
- Drain the IRQ producer before cancelling resolution work.
- Balance IRQ disable/enable within stop and check STOPPED before power-on.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: aspeed: join IRQ and work before probe cleanupdrivers/media/platform/aspeed/aspeed-video.c+16 -81 reply
2/2media: aspeed: drain IRQ work before stopping the enginedrivers/media/platform/aspeed/aspeed-video.c+9 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] media: aspeed: order probe cleanup and last close

This revision requests the IRQ after its dependencies and synchronizes IRQ/work before manual probe cleanup. The second patch fixes last-close ordering and keeps the engine available until VB2 release completes.

Compile-tested on ARM64 with LLVM, W=1.
No hardware testing.

Changes in v2:
- Rebase onto managed reserved-memory initialization.
- Remove the research sentence and Assisted-by tag.
- Join the IRQ and delayed work before manual probe-failure cleanup.
- Keep VB2 release before normal last-close hardware shutdown.
- Drain the IRQ producer before cancelling resolution work.
- Balance IRQ disable/enable within stop and check STOPPED before power-on.

Myeonghun Pak (2):
media: aspeed: join IRQ and work before probe cleanup
media: aspeed: drain IRQ work before stopping the engine

 drivers/media/platform/aspeed/aspeed-video.c | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)