mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: venus: fix HFI teardown races
@ 2026-09-25  0:09 mhun512
  2026-09-25  0:09 ` [PATCH 1/2] media: venus: hfi: disable IRQ before freeing HFI device mhun512
  2026-09-25  0:09 ` [PATCH 2/2] media: venus: disable recovery work before HFI teardown mhun512
  0 siblings, 2 replies; 3+ messages in thread
From: mhun512 @ 2026-09-25  0:09 UTC (permalink / raw)
  To: vikash.garodia, dikshita.agarwal
  Cc: bod, mchehab, linux-media, linux-arm-msm, linux-kernel, mhun512

As part of our ongoing static-analysis research, we reviewed the Venus
teardown path and confirmed the race reported by Sashiko.

This series fixes two HFI lifetime races during teardown. The first patch
waits for the hard and threaded IRQ handlers before releasing HFI state.
The second disables and drains recovery work so it cannot be requeued
while HFI state is being torn down.

The later Sashiko report also identifies a separate resource leak when IRQ
registration fails during probe. That issue is outside this series.

Myeonghun Pak (2):
  media: venus: hfi: disable IRQ before freeing HFI device
  media: venus: disable recovery work before HFI teardown

 drivers/media/platform/qcom/venus/core.c      | 2 +-
 drivers/media/platform/qcom/venus/hfi_venus.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.53.0

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

end of thread, other threads:[~2026-09-25  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25  0:09 [PATCH 0/2] media: venus: fix HFI teardown races mhun512
2026-09-25  0:09 ` [PATCH 1/2] media: venus: hfi: disable IRQ before freeing HFI device mhun512
2026-09-25  0:09 ` [PATCH 2/2] media: venus: disable recovery work before HFI teardown mhun512

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®