Re: [PATCH v3 1/3] Revert "media: qcom: iris: use disable_irq() during power-off"
From: Vikash Garodia
Date: Fri Nov 27 2026 - 08:55:41 EST
On 11/20/2026 1:12 PM, Vishnu Reddy wrote:
iris_vpu_power_off() is always called with core->lock held. Its callers
are core init, core deinit and the runtime PM suspend and resume
callbacks, and each of them takes core->lock before calling it.
The threaded IRQ handler also requires core->lock to proceed. If the
handler is woken and queued around the same time power-off is entered,
it cannot acquire core->lock because it is held by the power-off caller.
disable_irq() waits for the handler to complete, resulting in a
deadlock.
Fixes: b9c2215bdedc9c ("media: qcom: iris: use disable_irq() during power-off")
Cc:stable@xxxxxxxxxxxxxxx
Signed-off-by: Vishnu Reddy<busanna.reddy@xxxxxxxxxxxxxxxx>
---
drivers/media/platform/qcom/iris/iris_vpu_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>