[PATCH v4 0/2] Fix lockdep issues seen in CoreSight configfs interface

Suzuki K Poulose suzuki.poulose at arm.com
Thu Jun 23 02:35:29 PDT 2022


Hi Mike

Thanks for the rework. It looks good to me.

On 22/06/2022 11:16, Mike Leach wrote:
> Issues with lockdep possible deadlock scenarios have been reported when using the
> coresight configfs interface handling complex configuration, when unloading modules.
> 
> These are due to holding the main configuration mutex during configfs register, but
> taking it later when accessing configfs files.
> 
> The patches improve the clean up of configurations and update load and unload of
> configurations and initialisation of configfs to fix the locking mechanisms.
> 
> Applies to coresight/next (5.19-rc2)
> Tested on DB410c (with patch [0] also applied to fix separate console boot issue).
> 
> Fixes: eb2ec49606c2 ("coresight: syscfg: Update load API for config loadable modules")
> Reported-by: Suzuki Poulose <suzuki.poulose at arm.com>
> Signed-off-by: Mike Leach <mike.leach at linaro.org>

Reviewed-and-Tested-by: Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list