[PATCH v2 02/17] firmware: arm_scmi: Reduce the scope of protocols mutex
Jonathan Cameron
jonathan.cameron at huawei.com
Mon Jan 19 03:21:54 PST 2026
On Wed, 14 Jan 2026 11:46:06 +0000
Cristian Marussi <cristian.marussi at arm.com> wrote:
> Currently the mutex dedicated to the protection of the list of registered
> protocols is held during all the protocol initialization phase.
>
> Such a wide locking region is not needed and causes problem when trying to
> initialize notifications from within a protocol initialization routine.
>
> Reduce the scope of the protocol mutex.
>
> Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
I haven't checked carefully that the new scope is appropriate but
as a change in of itself, the code is correct and clean.
With that in mind.
Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
More information about the linux-arm-kernel
mailing list