Skip to content

mt7921e: backport three mt76 fixes to 6.12.y

Ajrat Makhmutov linux-wireless stable 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* subject prefix now carries target branch (6.12.y)
* cover letter added with stable backport status of d5059e52
* no code changes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domaindrivers/net/wireless/mediatek/mt76/mt7921/init.c+7 -00 replies
1/3wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domaindrivers/net/wireless/mediatek/mt76/mt7921/init.c+7 -00 replies
2/3wifi: mt76: mt7921: fix a potential scan no APsdrivers/net/wireless/mediatek/mt76/mt7921/main.c+4 -30 replies
2/3wifi: mt76: mt7921: fix a potential scan no APsdrivers/net/wireless/mediatek/mt76/mt7921/main.c+4 -30 replies
3/3wifi: mt76: mt7921: fix potential deadlock in mt7921_roc_abort_syncdrivers/net/wireless/mediatek/mt76/mt7921/main.c+8 -50 replies
3/3wifi: mt76: mt7921: fix potential deadlock in mt7921_roc_abort_syncdrivers/net/wireless/mediatek/mt76/mt7921/main.c+8 -50 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchDavid RuthSean Wang
1/3T-b T-b
1/3T-b T-b
2/3T-b R-b T-b R-b R-b R-b
2/3T-b R-b T-b R-b R-b R-b
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 6.12.y v3 0/3] mt7921e: backport three mt76 fixes to 6.12.y

This series backports three mt76/mt7921 fixes to 6.12.y. All three are in mainline; none carried Cc: stable, so they were not auto-selected for 6.12.y.

Per your earlier reply, resending as a three-patch series:
https://lore.kernel.org/all/[email protected]/

d5059e52 is already in the v6.18.y and v7.0.y stable trees:
https://github.com/gregkh/linux/commit/91e77840bf13de3add125060cf8b32ca24a52c8c
https://github.com/gregkh/linux/commit/35180c772f5e11e2fa4d80d3dfd50906cb6d9646

The three must go together. 5ed54896 adds mt7921_roc_abort_sync() on the sta-remove path, which runs under dev->mt76.mutex (taken by mt76_sta_remove()); d5059e52 then turns cancel_work_sync() inside roc_abort_sync() into cancel_work() to avoid a self-deadlock with roc_work(). Applying 5ed54896 alone queues a reachable deadlock.

6.12.y note: d5059e52 keeps del_timer_sync() -- the timer_delete_sync() rename is not in 6.12.y. The other two cherry-pick cleanly.

Tested on MT7921e: Acer Aspire 5 A517-52, ASUS VivoBook S14, Lenovo IdeaPad Slim 5 14AHP9.

Link to v2:
https://lore.kernel.org/all/[email protected]/

v3:
* subject prefix now carries target branch (6.12.y)
* cover letter added with stable backport status of d5059e52
* no code changes