]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7925: disable ASPM and runtime PM for MT7927
authorJavier Tia <floss@jetm.me>
Sat, 25 Apr 2026 19:49:59 +0000 (14:49 -0500)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Jun 2026 10:15:21 +0000 (10:15 +0000)
commitb0dddf55af8147699182d002af1f7ff017dc5cfd
treeb7277c81fe1e9817df13e60a978458986194967c
parent4a91a8c30bf409c06d56017e09f4fc58c5d044ce
wifi: mt76: mt7925: disable ASPM and runtime PM for MT7927

Disable PCIe ASPM unconditionally for MT7927. The CONNINFRA power
domain and WFDMA register access are unreliable with PCIe L1 active,
causing throughput to drop from 1+ Gbps to ~200 Mbps.

Disable runtime PM and deep sleep for MT7927. The combo chip shares
a CONNINFRA power domain between WiFi (PCIe) and BT (USB).
SET_OWN/CLR_OWN transitions on the LPCTL register crash the BT
firmware, requiring a full power cycle to recover. PM enablement will
be addressed in a follow-up once safe power state transitions are
determined.

Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Javier Tia <floss@jetm.me>
Link: https://patch.msgid.link/20260425195011.790265-10-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/init.c
drivers/net/wireless/mediatek/mt76/mt7925/pci.c