[PATCH v5 0/2] media: venus: fix HFI teardown races
From: Myeonghun Pak
Date: Fri Oct 23 2026 - 22:42:10 EST
This issue was identified as part of our ongoing research while
reviewing kernel code.
Synchronize IRQ handlers before freeing HFI state, and disable recovery
work at the start of remove to prevent it from racing with teardown.
Changes in v5:
- Patch 1: no code changes; carry Bryan's Reviewed-by.
- Patch 2: drop the duplicate work disable from venus_hfi_destroy(),
keeping it only in venus_remove(), as requested by Bryan.
- Rebase onto media-committers.git next.
Compilation test completed.
v4: https://lore.kernel.org/all/20261001175502.4045853-1-mhun512@xxxxxxxxx/
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 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
base-commit: d7e7bca7169873b46e857c025c10f3336c1258d8
--
2.53.0