diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-11-17 17:57:39 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-17 17:57:40 -0800 |
| commit | 76115f0ab948a6aeb66a0b9bd4e074ed52cd6946 (patch) | |
| tree | 51e2a4f87f575b414acfd251ca63d643e9d1e1da /tools/perf/scripts/python/bin | |
| parent | 9c9863f9b9f120b771a908849157791a32eadb02 (diff) | |
| parent | f60eae61466cca9b50690bd3f2b5b4b2397d9376 (diff) | |
Merge branch 'net-spacemit-fix-tx-timeout-work-deadlock-and-rtnl-in-pm-callbacks'
Ali Tariq says:
====================
net: spacemit: Fix TX timeout work deadlock and RTNL in PM callbacks
This series fixes two locking problems in the SpacemiT K1 Ethernet
driver.
Patch 1 fixes the TX timeout work, which ends up waiting for itself
through cancel_work_sync() in emac_down(), so every TX timeout leaves
RTNL held forever.
Patch 2 takes RTNL in emac_suspend() and emac_resume(), which fixes the
"suspicious RCU usage" warning from phy_disconnect() on suspend. It
depends on patch 1: suspend disables the TX timeout work before taking
RTNL, so it never waits for the work while holding the lock.
Tested on Orange Pi RV2 (SpacemiT K1) with a lockdep kernel: 12
suspend/resume cycles without the warning. The board loses its network
after about a dozen cycles with or without this series; that is a
separate issue.
====================
Link: https://patch.msgid.link/20261113132435.434615-1-alitariq45892@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
