[PATCH mt76 0/5] mt76: mt7996: Fix 'sleep while atomic' in mt7996_mac_sta_rc_work()
Lorenzo Bianconi
lorenzo at kernel.org
Thu Jun 5 04:14:15 PDT 2025
Fix a 'sleep while atomic' issue in mt7996_mac_sta_rc_work() since
mt7996_mcu_add_rate_ctrl() and mt7996_mcu_set_fixed_field() can't run in
atomic context.
---
Lorenzo Bianconi (5):
wifi: mt76: Assume __mt76_connac_mcu_alloc_sta_req runs in atomic context
wifi: mt76: Move RCU section in mt7996_mcu_set_fixed_field()
wifi: mt76: Move RCU section in mt7996_mcu_add_rate_ctrl_fixed()
wifi: mt76: Move RCU section in mt7996_mcu_add_rate_ctrl()
wifi: mt76: Remove RCU section in mt7996_mac_sta_rc_work()
.../net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +-
drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 40 +----
drivers/net/wireless/mediatek/mt76/mt7996/main.c | 5 +-
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 188 +++++++++++++++------
drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h | 16 +-
5 files changed, 152 insertions(+), 99 deletions(-)
---
base-commit: 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21
change-id: 20250603-mt7996-sleep-while-atomic-db1877f728cd
Best regards,
--
Lorenzo Bianconi <lorenzo at kernel.org>
More information about the Linux-mediatek
mailing list