Re: [PATCH v3 09/10] soundwire: qcom: Serialise ctrl->intr_mask updates

From: Vinod Koul

Date: Tue Nov 24 2026 - 04:43:05 EST


Hi Lee,

On 23-11-26, 07:54, Lee Jones wrote:
> qcom_swrm_irq_handler(), swrm_runtime_suspend(), and
> swrm_runtime_resume() concurrently read, modify, and write
> ctrl->intr_mask and program the interrupt enable registers without
> synchronisation. Overlapping read-modify-write updates can clobber
> interrupt mask bits and leave the hardware interrupt mask out of sync.
>
> Add ctrl->intr_lock to serialise accesses to ctrl->intr_mask and its
> associated interrupt mask register updates.

Sorry the last two Qcom patches fail as I had picked few of them. I have picked
rest, please rebase these two

--
~Vinod