Comment 31 for bug 1913350

Revision history for this message
In , paula (paula-linux-kernel-bugs) wrote :

I found that the 7260 can be reset without reboot by removing the device at the pci level and then re-scanning the pci bus to bring the device back, thusly:

cd /sys/bus/pci/devices/0000\:03\:00.0
echo 1 | sudo tee remove
cd /sys/bus/pci
echo 1 | sudo tee rescan

According to the kernel message log, an ASPM configuration problem is discovered on pci rescan. This indicates, at least to me, that the failure may therefore be related to ASPM. Perhaps the device is going to a lower ASPM power level without proper coordination with the host.

sudo dmesg

[19453.872457] pci 0000:03:00.0: [8086:08b1] type 00 class 0x028000
[19453.872534] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[19453.872797] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[19453.873017] pcieport 0000:00:1c.2: ASPM: current common clock configuration is broken, reconfiguring
[19453.884494] pci 0000:03:00.0: BAR 0: assigned [mem 0xf7a00000-0xf7a01fff 64bit]
[19453.884594] iwlwifi 0000:03:00.0: enabling device (0100 -> 0102)
[19453.885478] iwlwifi 0000:03:00.0: firmware: direct-loading firmware iwlwifi-7260-17.ucode
[19453.885897] iwlwifi 0000:03:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm
[19453.885923] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[19453.904591] iwlwifi 0000:03:00.0: base HW address: 00:16:6f:e7:16:2a
[19454.102848] ieee80211 phy2: Selected rate control algorithm 'iwl-mvm-rs'
[19454.400222] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[19457.578660] wlan0: authenticate with 60:38:e0:87:3a:41
[19457.581658] wlan0: send auth to 60:38:e0:87:3a:41 (try 1/3)
[19457.599202] wlan0: authenticated
[19457.600444] wlan0: associate with 60:38:e0:87:3a:41 (try 1/3)
[19457.607129] wlan0: RX AssocResp from 60:38:e0:87:3a:41 (capab=0x421 status=0 aid=1)
[19457.608029] wlan0: associated
[19457.608560] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready