Re: [PATCH 1/2] firmware: qcom: scm: Introduce new locking mechanism for SCM driver

From: Konrad Dybcio

Date: Tue Aug 25 2026 - 06:15:56 EST


On 8/24/26 1:35 PM, Albert Esteve wrote:
> From: Ninad Naik <quic_ninanaik@xxxxxxxxxxx>
>
> With the existing global mutex lock, there is a possibility that it
> could resulty into a deadlock when SMCInvoke and smc call go to
> firmware in the same order and both wait on same WAITQ in firmware.

I think the commit message should be extended to better explain how
that may happen (because presumably it did in the real world)

A Fixes tag may also be applicable here

Konrad