Hi,
while I was testing testmode patches I noticed ath10k was crashing
during rmmod. Further investigation showed that I actually see the crash
also without testmode patches (using commit 346c16654356) . I just need
to reload ath10k modules in sequence, usually 10-15 times is enough to
reprocuce the crash.
I also tested with ath10k: re-enable interrupts properly in hw
recovery but it doesn't seem to make any difference.
[ 118.520582] cfg80211: Calling CRDA to update world regulatory domain
[ 118.554828] cfg80211: World regulatory domain updated:
[ 118.554897] cfg80211: DFS Master region: unset
[ 118.554951] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 118.555064] cfg80211: (2402000 KHz - 2472000 KHz @ 4 KHz), (N/A, 2000
mBm), (N/A)
[ 118.555122] cfg80211: (2457000 KHz - 2482000 KHz @ 4 KHz), (N/A, 2000
mBm), (N/A)
[ 118.555178] cfg80211: (2474000 KHz - 2494000 KHz @ 2 KHz), (N/A, 2000
mBm), (N/A)
[ 118.555235] cfg80211: (517 KHz - 525 KHz @ 8 KHz), (N/A, 2000
mBm), (N/A)
[ 118.555294] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 2000
mBm), (N/A)
[ 118.555629] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A, 0
mBm), (N/A)
[ 118.881727] ath10k_pci :02:00.0: irq 49 for MSI/MSI-X
[ 118.882042] ath10k_pci :02:00.0: pci irq msi interrupts 1 irq_mode 0
reset_mode 0
[ 120.335878] ath10k_pci :02:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff)
fw 10.2-00082-4-2 api 3 htt 2.1
[ 120.335946] ath10k_pci :02:00.0: debug 1 debugfs 1 tracing 1 dfs 1
[ 120.856049] ath: EEPROM regdomain: 0x0
[ 120.856115] ath: EEPROM indicates default country code should be used
[ 120.856163] ath: doing EEPROM country-regdmn map search
[ 120.856212] ath: country maps to regdmn code: 0x3a
[ 120.856260] ath: Country alpha2 being used: US
[ 120.856307] ath: Regpair used: 0x3a
[ 120.872948] cfg80211: Calling CRDA for country: US
[ 120.901453] cfg80211: Regulatory domain changed to country: US
[ 120.901531] cfg80211: DFS Master region: FCC
[ 120.901594] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 120.901708] cfg80211: (2402000 KHz - 2472000 KHz @ 4 KHz), (N/A, 3000
mBm), (N/A)
[ 120.901765] cfg80211: (517 KHz - 525 KHz @ 8 KHz), (N/A, 1700
mBm), (N/A)
[ 120.901824] cfg80211: (525 KHz - 533 KHz @ 8 KHz), (N/A, 2300
mBm), (0 s)
[ 120.901943] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 3000
mBm), (N/A)
[ 120.902006] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A,
4000 mBm), (N/A)
[ 121.136426] cfg80211: Calling CRDA to update world regulatory domain
[ 121.173459] cfg80211: World regulatory domain updated:
[ 121.173528] cfg80211: DFS Master region: unset
[ 121.173582] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 121.173696] cfg80211: (2402000 KHz - 2472000 KHz @ 4 KHz), (N/A, 2000
mBm), (N/A)
[ 121.173753] cfg80211: (2457000 KHz - 2482000 KHz @ 4 KHz), (N/A, 2000
mBm), (N/A)
[ 121.173810] cfg80211: (2474000 KHz - 2494000 KHz @ 2 KHz), (N/A, 2000
mBm), (N/A)
[ 121.173868] cfg80211: (517 KHz - 525 KHz @ 8 KHz), (N/A, 2000
mBm), (N/A)
[ 121.173971] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 2000
mBm), (N/A)
[ 121.174028] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A, 0
mBm), (N/A)
[ 121.512350] ath10k_pci :02:00.0: irq 49 for MSI/MSI-X
[ 121.512717] ath10k_pci :02:00.0: pci irq msi interrupts 1 irq_mode 0
reset_mode 0
[ 122.962504] ath10k_pci :02:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff)
fw 10.2-00082-4-2 api 3 htt 2.1
[ 122.962569] ath10k_pci :02:00.0: debug 1 debugfs 1 tracing 1 dfs 1
[ 123.481643] ath: EEPROM regdomain: 0x0
[ 123.481703] ath: EEPROM indicates default country code should be used
[ 123.481752] ath: doing EEPROM country-regdmn map search
[ 123.481801] ath: country maps to regdmn code: 0x3a
[ 123.481848] ath: Country alpha2 being used: US
[ 123.481896] ath: Regpair used: 0x3a
[ 123.500142] cfg80211: Calling CRDA for country: US
[ 123.527647] cfg80211: Regulatory domain changed to country: US
[ 123.527711] cfg80211: DFS Master region: FCC
[ 123.527761] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 123.527867] cfg80211: (2402000 KHz - 2472000 KHz @ 4 KHz), (N/A, 3000
mBm), (N/A)
[ 123.527920] cfg80211: (517 KHz - 525 KHz @ 8 KHz), (N/A, 1700
mBm), (N/A)
[ 123.527974] cfg80211: (525 KHz - 533 KHz @ 8 KHz), (N/A, 2300
mBm), (0 s)
[ 123.528026] cfg80211: (5735000 KHz - 5835000 KHz @ 8 KHz), (N/A, 3000
mBm), (N/A)
[ 123.528080] cfg80211: (5724 KHz - 6372 KHz @ 216 KHz), (N/A,
4000 mBm), (N/A)
[ 123.547470] BUG: unable to handle kernel paging request at fe589030
[ 123.547745] IP: