diff options
author | Andrew Lunn <andrew@lunn.ch> | 2024-11-10 18:59:55 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-12 18:25:30 -0800 |
commit | 078e0d596f7b5952dad8662ace8f20ed2165e2ce (patch) | |
tree | 0b23f324d42e6d25b04d79164d98e6a6d618819f /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | b169e76ebad22cbd055101ee5aa1a7bed0e66606 (diff) | |
download | linux-078e0d596f7b5952dad8662ace8f20ed2165e2ce.tar.gz linux-078e0d596f7b5952dad8662ace8f20ed2165e2ce.tar.bz2 linux-078e0d596f7b5952dad8662ace8f20ed2165e2ce.zip |
dsa: qca8k: Use nested lock to avoid splat
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions