linux/drivers/net/dsa/qca
Andrew Lunn 916b577a2c dsa: qca8k: Use nested lock to avoid splat
[ Upstream commit 078e0d596f ]

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>
History 2024-12-14 20:00:08 +01:00
..
ar9331.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-07-20 15:52:55 -07:00
Kconfig net: dsa: qca8k: add CONFIG_LEDS_TRIGGERS dependency 2023-06-02 10:55:41 +01:00
Makefile net: dsa: qca8k: add LEDs basic support 2023-04-19 12:59:15 +01:00
qca8k-8xxx.c dsa: qca8k: Use nested lock to avoid splat 2024-12-14 20:00:08 +01:00
qca8k-common.c net: dsa: qca8k: make learning configurable and keep off if standalone 2023-08-01 12:02:42 +02:00
qca8k-leds.c net dsa: qca8k: fix usages of device_get_named_child_node() 2024-06-21 14:38:33 +02:00
qca8k.h net: dsa: qca8k: make learning configurable and keep off if standalone 2023-08-01 12:02:42 +02:00
qca8k_leds.h net: dsa: qca8k: add LEDs basic support 2023-04-19 12:59:15 +01:00