Re: [PATCH 3/3] regulator: qcom_spmi: don't take a sleeping lock in the SAW IPI

From: Konrad Dybcio

Date: Tue Oct 20 2026 - 02:08:33 EST


On 10/19/26 4:39 PM, Dmitry Baryshkov wrote:
> The SAW voltage change runs on CPU 0 from an IPI, but it reaches the SAW
> registers through the syscon regmap, which is protected by a spinlock_t.
> That is a sleeping lock on PREEMPT_RT, and lockdep complains as soon as
> VDD_APCC actually changes voltage:

The SAW handling barely belongs in that driver to be honest.. but
separating it out would make a mess out of sharing the of_node

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad