sst-linux/drivers/net/dsa/qca
Andrew Lunn 7d9a095160 dsa: qca8k: Use nested lock to avoid splat
[ Upstream commit 078e0d596f7b5952dad8662ace8f20ed2165e2ce ]

qca8k_phy_eth_command() is used to probe the child MDIO bus while the
parent MDIO is locked. This causes lockdep splat, reporting a possible
deadlock. It is not an actually deadlock, because different locks are
used. By making use of mutex_lock_nested() we can avoid this false
positive.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241110175955.3053664-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-14 19:54:44 +01:00
..
ar9331.c
Kconfig
Makefile
qca8k-8xxx.c dsa: qca8k: Use nested lock to avoid splat 2024-12-14 19:54:44 +01:00
qca8k-common.c
qca8k.h