[PATCH v3] phy: use per-PHY lockdep keys

Vinod Koul vkoul at kernel.org
Sun Jun 15 09:52:09 PDT 2025


On Thu, 05 Jun 2025 14:25:49 +0300, Dmitry Baryshkov wrote:
> If the PHY driver uses another PHY internally (e.g. in case of eUSB2,
> repeaters are represented as PHYs), then it would trigger the following
> lockdep splat because all PHYs use a single static lockdep key and thus
> lockdep can not identify whether there is a dependency or not and
> reports a false positive.
> 
> Make PHY subsystem use dynamic lockdep keys, assigning each driver a
> separate key. This way lockdep can correctly identify dependency graph
> between mutexes.
> 
> [...]

Applied, thanks!

[1/1] phy: use per-PHY lockdep keys
      commit: cf0233491b3a15933234a26efd9ecbc1c0764674

Best regards,
-- 
~Vinod





More information about the linux-phy mailing list