Re: [PATCH 2/2] media: qcom: iris: Wait for threaded IRQ completion during power-off
From: Hungyu Lin
Date: Wed Oct 07 2026 - 13:31:10 EST
> + if (!iris_vpu_watchdog(core, core->intr_status))
> + iris_vpu_disable_irq(core);
If the IRQ thread records a watchdog after this check, while
disable_irq() is waiting, it skips enable_irq(). The hard handler and
helper would then have disabled the IRQ twice, but the next power-on
only enables it once.
Could the helper recheck the watchdog after disable_irq() returns and
core->lock is reacquired, then call enable_irq() once to balance its
extra disable in that case?
If you use this approach for the watchdog fix, could you also add:
Suggested-by: Hungyu Lin <dennylin0707@xxxxxxxxx>
Thanks,
Hungyu