Bug 201499 - ath10k BUG on resume
Summary: ath10k BUG on resume
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 19:44 UTC by Daniel Exner
Modified: 2019-06-10 17:36 UTC (History)
10 users (show)

See Also:
Kernel Version: 4.19
Tree: Mainline
Regression: No


Attachments

Description Daniel Exner 2018-10-23 19:44:02 UTC
Kernel BUG on resume from s2r:

[  504.711712] ath10k_pci 0000:3a:00.0: Unknown eventid: 118809
[  504.732382] WARNING: CPU: 1 PID: 20374 at drivers/net/wireless/ath/ath10k/mac.c:5625 ath10k_bss_info_changed+0xb33/0xd90 [ath10k_core]
[  504.732383] Modules linked in: cmac ctr ccm bnep uvcvideo videobuf2_vmalloc btusb videobuf2_memops btrtl btbcm videobuf2_v4l2 btintel videobuf2_common bluetooth videodev media ecdh_generic crc16 af_packet arc4 nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables_set nf_tables nfnetlink joydev snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support i2c_designware_platform i2c_designware_core wmi_bmof dell_wmi intel_wmi_thunderbolt ath10k_pci snd_soc_skl ath10k_core coretemp snd_soc_skl_ipc intel_rapl snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal intel_powerclamp snd_hda_ext_core snd_soc_acpi_intel_match kvm_intel ath snd_soc_acpi dell_laptop mac80211 dell_smbios snd_soc_core kvm snd_hda_codec_realtek snd_hda_codec_generic snd_compress
[  504.732407]  dell_wmi_descriptor snd_pcm_dmaengine dcdbas nls_utf8 nls_cp437 snd_hda_intel vfat fat cfg80211 irqbypass rtsx_pci_ms snd_hda_codec efi_pstore i2c_i801 efivars pcspkr rfkill memstick ucsi_acpi hwmon snd_hda_core snd_hwdep idma64 typec_ucsi typec intel_lpss_pci mei_wdt intel_lpss intel_pch_thermal processor_thermal_device intel_soc_dts_iosf wmi intel_vbtn soc_button_array evdev pinctrl_sunrisepoint pinctrl_intel mac_hid int3403_thermal int3400_thermal int340x_thermal_zone acpi_thermal_rel acpi_pad intel_hid battery pcc_cpufreq sparse_keymap button ac thermal ppdev sch_fq_codel binfmt_misc btrfs libcrc32c crc32c_generic xor raid6_pq dm_crypt algif_skcipher af_alg hid_multitouch hid_generic usbhid i915 rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul intel_gtt i2c_algo_bit ghash_clmulni_intel
[  504.732436]  cec rc_core pcbc drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm xhci_pci aesni_intel xhci_hcd aes_x86_64 crypto_simd cryptd glue_helper serio_raw usbcore i2c_hid hid agpgart rtsx_pci i2c_core video dm_mirror dm_region_hash dm_log dm_mod fuse crc32c_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore lp parport_pc parport efivarfs unix sha256_mb sha256_ssse3 sha256_generic sha1_mb mcryptd sha1_ssse3 sha1_generic hmac ipv6 autofs4
[  504.732460] CPU: 1 PID: 20374 Comm: kworker/u8:1 Not tainted 4.19-fw1 #1
[  504.732461] Hardware name: Dell Inc. XPS 13 9360/06CC14, BIOS 2.9.0 07/09/2018
[  504.732464] Workqueue: events_unbound async_run_entry_fn
[  504.732469] RIP: 0010:ath10k_bss_info_changed+0xb33/0xd90 [ath10k_core]
[  504.732470] Code: ff ff b8 a1 ff ff ff e9 e9 f7 ff ff b8 a1 ff ff ff e9 a5 f6 ff ff b8 a1 ff ff ff e9 ef f5 ff ff b8 a1 ff ff ff e9 4f f7 ff ff <0f> 0b e9 37 f8 ff ff b8 a1 ff ff ff e9 f6 fa ff ff b8 a1 ff ff ff
[  504.732471] RSP: 0000:ffff9a2c44cbfcd8 EFLAGS: 00010282
[  504.732472] RAX: 00000000fffffffe RBX: ffff8dfb9bc51540 RCX: 0000000000000000
[  504.732473] RDX: ffff8dfb9bc518b8 RSI: ffff9a2c44cbfcf8 RDI: ffff8dfba5791380
[  504.732473] RBP: ffff8dfba5791380 R08: 0000000000200000 R09: 0000000000000000
[  504.732474] R10: 000000000000001f R11: ffff8dfb86a89900 R12: 0000000002000000
[  504.732474] R13: ffff8dfba5791388 R14: ffff8dfb9bc524d0 R15: ffff8dfb9bc51540
[  504.732475] FS:  0000000000000000(0000) GS:ffff8dfbae280000(0000) knlGS:0000000000000000
[  504.732476] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  504.732476] CR2: 0000000000000000 CR3: 000000043e00a001 CR4: 00000000003606e0
[  504.732477] Call Trace:
[  504.732482]  ? ath10k_conf_tx+0x12d/0x4c0 [ath10k_core]
[  504.732496]  ieee80211_bss_info_change_notify+0xa9/0x1c0 [mac80211]
[  504.732506]  ieee80211_reconfig+0x9d7/0x14f0 [mac80211]
[  504.732522]  wiphy_resume+0x7e/0x150 [cfg80211]
[  504.732529]  ? wiphy_namespace+0x10/0x10 [cfg80211]
[  504.732532]  dpm_run_callback+0x2e/0x130
[  504.732534]  device_resume+0x97/0x190
[  504.732535]  async_resume+0x19/0x40
[  504.732536]  async_run_entry_fn+0x37/0xe0
[  504.732538]  process_one_work+0x1e9/0x410
[  504.732540]  worker_thread+0x2d/0x3d0
[  504.732541]  ? process_one_work+0x410/0x410
[  504.732542]  kthread+0x113/0x130
[  504.732544]  ? kthread_park+0x90/0x90
[  504.732546]  ret_from_fork+0x35/0x40
[  504.732547] ---[ end trace ee16222fab0e047f ]---
Comment 1 Niclas Eliasson 2019-01-19 11:33:06 UTC
[  741.219028] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[  741.255559] WARNING: CPU: 3 PID: 3486 at drivers/net/wireless/ath/ath10k/mac.c:5625 ath10k_bss_info_changed+0xd2e/0xe70 [ath10k_core]
[  741.255560] Modules linked in: fuse rfcomm ccm xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables arc4 cmac bnep sunrpc vfat fat squashfs zstd_decompress xxhash loop ath10k_pci snd_soc_skl snd_soc_skl_ipc ath10k_core hid_sensor_als hid_sensor_accel_3d snd_soc_sst_ipc hid_sensor_trigger snd_soc_sst_dsp hid_sensor_iio_common industrialio_triggered_buffer kfifo_buf snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi
[  741.255583]  industrialio snd_hda_codec_hdmi snd_soc_core mac80211 intel_rapl hid_multitouch hid_sensor_hub x86_pkg_temp_thermal intel_powerclamp coretemp iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek snd_hda_codec_generic wmi_bmof snd_compress intel_wmi_thunderbolt ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul ath ghash_clmulni_intel intel_cstate cfg80211 snd_hda_core intel_uncore uvcvideo intel_rapl_perf btusb btrtl snd_hwdep videobuf2_vmalloc snd_seq videobuf2_memops videobuf2_v4l2 btbcm btintel snd_seq_device videobuf2_common snd_pcm bluetooth videodev mei_me joydev snd_timer media rtsx_pci_ms i2c_i801 memstick mei snd ecdh_generic idma64 intel_lpss_pci soundcore intel_lpss intel_pch_thermal ideapad_laptop sparse_keymap rfkill wmi acpi_pad
[  741.255608]  pcc_cpufreq i915 kvmgt mdev vfio kvm rtsx_pci_sdmmc mmc_core irqbypass i2c_algo_bit drm_kms_helper drm crc32c_intel rtsx_pci serio_raw i2c_hid video pinctrl_sunrisepoint pinctrl_intel
[  741.255618] CPU: 3 PID: 3486 Comm: kworker/u8:24 Not tainted 4.19.13-300.fc29.x86_64 #1
[  741.255619] Hardware name: LENOVO 80V4/Lenovo YOGA 710-14IKB, BIOS 2XCN28WW(V2.03) 02/23/2017
[  741.255622] Workqueue: events_unbound async_run_entry_fn
[  741.255627] RIP: 0010:ath10k_bss_info_changed+0xd2e/0xe70 [ath10k_core]
[  741.255628] Code: 89 c1 89 f2 4c 89 d7 48 c7 c6 38 d7 d5 c0 4c 89 4c 24 10 89 44 24 08 e8 70 34 00 00 8b 44 24 08 4c 8b 4c 24 10 e9 a1 f8 ff ff <0f> 0b e9 d5 f5 ff ff 8b b3 68 01 00 00 89 f2 89 c1 48 c7 c6 f8 d6
[  741.255628] RSP: 0000:ffffa421c5507cc0 EFLAGS: 00010246
[  741.255629] RAX: 0000000000000000 RBX: ffff96ba17d673a0 RCX: 0000000000000000
[  741.255630] RDX: ffff96ba1b2618b8 RSI: 0000000000000212 RDI: 0000000000000212
[  741.255631] RBP: 0000000002000000 R08: 0000000000200000 R09: 0000000000000000
[  741.255631] R10: 000000000000001f R11: ffff96b9f69aad00 R12: ffff96ba17d673a8
[  741.255632] R13: ffff96ba1b261540 R14: ffff96ba1b261540 R15: ffff96ba17d674f8
[  741.255633] FS:  0000000000000000(0000) GS:ffff96ba1eb80000(0000) knlGS:0000000000000000
[  741.255634] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  741.255634] CR2: 0000000000000000 CR3: 00000003e320a001 CR4: 00000000003606e0
[  741.255635] Call Trace:
[  741.255641]  ? ath10k_conf_tx+0x7a/0x4b0 [ath10k_core]
[  741.255655]  ieee80211_bss_info_change_notify+0xab/0x1a0 [mac80211]
[  741.255668]  ieee80211_reconfig+0x656/0x12b0 [mac80211]
[  741.255670]  ? enqueue_entity+0xf6/0x680
[  741.255683]  wiphy_resume+0x7f/0x120 [cfg80211]
[  741.255690]  ? wiphy_suspend+0x270/0x270 [cfg80211]
[  741.255693]  dpm_run_callback+0x59/0x150
[  741.255695]  device_resume+0xac/0x1f0
[  741.255696]  async_resume+0x19/0x30
[  741.255698]  async_run_entry_fn+0x39/0x160
[  741.255700]  process_one_work+0x1a1/0x3a0
[  741.255701]  worker_thread+0x30/0x380
[  741.255703]  ? pwq_unbound_release_workfn+0xd0/0xd0
[  741.255704]  kthread+0x112/0x130
[  741.255706]  ? kthread_create_worker_on_cpu+0x70/0x70
[  741.255708]  ret_from_fork+0x35/0x40
[  741.255710] ---[ end trace a4ac36dc599cf24e ]---
Comment 2 Elia Geretto 2019-01-24 08:59:36 UTC
The issue is still present in version 4.20.3 and an additional WARNING is generated immediately after the one previously reported. Both are generated by a -ENOENT return value from function ath10k_mac_vif_chan.

[  935.805839] WARNING: CPU: 0 PID: 4748 at drivers/net/wireless/ath/ath10k/mac.c:5650 ath10k_bss_info_changed+0xe8e/0xfd0 [ath10k_core]
[  935.805840] Modules linked in: thunderbolt ccm fuse rfcomm xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep dell_smm_hwmon sunrpc vfat fat arc4 hid_multitouch snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ath10k_pci ath10k_core snd_hda_codec_realtek intel_rapl snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp mac80211 mei_wdt snd_hda_intel coretemp uvcvideo snd_hda_codec videobuf2_vmalloc videobuf2_memops btusb kvm_intel videobuf2_v4l2 btrtl btbcm btintel videobuf2_common bluetooth videodev snd_hda_core dell_laptop snd_hwdep snd_seq ath intel_cstate media intel_uncore snd_seq_device
[  935.805860]  intel_rapl_perf snd_pcm cfg80211 cdc_acm dell_wmi ecdh_generic dell_smbios dcdbas joydev snd_timer intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd soundcore rfkill rtsx_pci_ms memstick i2c_i801 idma64 mei_me mei processor_thermal_device intel_lpss_pci intel_soc_dts_iosf intel_lpss intel_pch_thermal ucsi_acpi typec_ucsi int3403_thermal int340x_thermal_zone dell_smo8800 typec intel_hid sparse_keymap int3400_thermal pcc_cpufreq acpi_thermal_rel acpi_pad vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) binfmt_misc vboxdrv(OE) dm_crypt i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit drm_kms_helper rtsx_pci_sdmmc mmc_core crct10dif_pclmul drm crc32_pclmul crc32c_intel nvme mxm_wmi ghash_clmulni_intel nvme_core rtsx_pci serio_raw i2c_hid pinctrl_cannonlake video wmi pinctrl_intel
[  935.805880] CPU: 0 PID: 4748 Comm: kworker/u24:36 Tainted: G           OE     4.20.3-200.fc29.x86_64 #1
[  935.805881] Hardware name: Dell Inc. XPS 15 9570/0D0T05, BIOS 1.7.0 12/25/2018
[  935.805883] Workqueue: events_unbound async_run_entry_fn
[  935.805888] RIP: 0010:ath10k_bss_info_changed+0xe8e/0xfd0 [ath10k_core]
[  935.805889] Code: 89 c1 89 f2 4c 89 d7 48 c7 c6 60 4e d1 c0 4c 89 4c 24 10 89 44 24 08 e8 f0 35 00 00 8b 44 24 08 4c 8b 4c 24 10 e9 22 f8 ff ff <0f> 0b e9 7a f4 ff ff 8b b3 70 01 00 00 89 f2 89 c1 48 c7 c6 20 4e
[  935.805890] RSP: 0018:ffffac8ec6483cc0 EFLAGS: 00010246
[  935.805890] RAX: 0000000000000000 RBX: ffff97cf294253a0 RCX: 0000000000000000
[  935.805891] RDX: ffff97cf14bb18f8 RSI: 0000000000000216 RDI: 0000000000000216
[  935.805892] RBP: 00000000020674ff R08: 0000000000200000 R09: 0000000000000000
[  935.805892] R10: 000000000000001f R11: ffff97ceae112500 R12: ffff97cf294253a8
[  935.805893] R13: ffff97cf14bb1580 R14: ffff97cf14bb1580 R15: ffff97cf29425500
[  935.805894] FS:  0000000000000000(0000) GS:ffff97cf2c200000(0000) knlGS:0000000000000000
[  935.805894] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  935.805895] CR2: 00007f5e7772788a CR3: 00000002f420a002 CR4: 00000000003606f0
[  935.805896] Call Trace:
[  935.805902]  ? ath10k_conf_tx+0x7a/0x4b0 [ath10k_core]
[  935.805915]  ieee80211_bss_info_change_notify+0xab/0x1a0 [mac80211]
[  935.805929]  ieee80211_reconfig+0x661/0x1310 [mac80211]
[  935.805931]  ? enqueue_entity+0xf6/0x660
[  935.805943]  wiphy_resume+0x7f/0x120 [cfg80211]
[  935.805953]  ? wiphy_suspend+0x270/0x270 [cfg80211]
[  935.805955]  dpm_run_callback+0x59/0x150
[  935.805956]  device_resume+0xac/0x1f0
[  935.805958]  async_resume+0x19/0x30
[  935.805959]  async_run_entry_fn+0x39/0x160
[  935.805961]  process_one_work+0x1a1/0x3a0
[  935.805962]  worker_thread+0x30/0x380
[  935.805963]  ? pwq_unbound_release_workfn+0xd0/0xd0
[  935.805964]  kthread+0x112/0x130
[  935.805966]  ? kthread_create_on_node+0x60/0x60
[  935.805968]  ret_from_fork+0x35/0x40
[  935.805969] ---[ end trace f42583100ffd8545 ]---
[  935.806080] WARNING: CPU: 0 PID: 4748 at drivers/net/wireless/ath/ath10k/mac.c:5688 ath10k_bss_info_changed+0xddc/0xfd0 [ath10k_core]
[  935.806081] Modules linked in: thunderbolt ccm fuse rfcomm xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep dell_smm_hwmon sunrpc vfat fat arc4 hid_multitouch snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ath10k_pci ath10k_core snd_hda_codec_realtek intel_rapl snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp mac80211 mei_wdt snd_hda_intel coretemp uvcvideo snd_hda_codec videobuf2_vmalloc videobuf2_memops btusb kvm_intel videobuf2_v4l2 btrtl btbcm btintel videobuf2_common bluetooth videodev snd_hda_core dell_laptop snd_hwdep snd_seq ath intel_cstate media intel_uncore snd_seq_device
[  935.806096]  intel_rapl_perf snd_pcm cfg80211 cdc_acm dell_wmi ecdh_generic dell_smbios dcdbas joydev snd_timer intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd soundcore rfkill rtsx_pci_ms memstick i2c_i801 idma64 mei_me mei processor_thermal_device intel_lpss_pci intel_soc_dts_iosf intel_lpss intel_pch_thermal ucsi_acpi typec_ucsi int3403_thermal int340x_thermal_zone dell_smo8800 typec intel_hid sparse_keymap int3400_thermal pcc_cpufreq acpi_thermal_rel acpi_pad vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) binfmt_misc vboxdrv(OE) dm_crypt i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit drm_kms_helper rtsx_pci_sdmmc mmc_core crct10dif_pclmul drm crc32_pclmul crc32c_intel nvme mxm_wmi ghash_clmulni_intel nvme_core rtsx_pci serio_raw i2c_hid pinctrl_cannonlake video wmi pinctrl_intel
[  935.806111] CPU: 0 PID: 4748 Comm: kworker/u24:36 Tainted: G        W  OE     4.20.3-200.fc29.x86_64 #1
[  935.806112] Hardware name: Dell Inc. XPS 15 9570/0D0T05, BIOS 1.7.0 12/25/2018
[  935.806113] Workqueue: events_unbound async_run_entry_fn
[  935.806117] RIP: 0010:ath10k_bss_info_changed+0xddc/0xfd0 [ath10k_core]
[  935.806118] Code: a2 f2 ff ff 8b 93 70 01 00 00 89 c1 48 c7 c6 90 41 d1 c0 4c 89 ef e8 a3 36 00 00 e9 66 fb ff ff b8 40 00 00 00 e9 a1 f5 ff ff <0f> 0b 48 8b 3c 24 e8 f9 3d c6 f0 e9 08 f6 ff ff b8 40 00 00 00 e9
[  935.806119] RSP: 0018:ffffac8ec6483cc0 EFLAGS: 00010246
[  935.806119] RAX: 0000000000000000 RBX: ffff97cf294253a0 RCX: 0000000000000000
[  935.806120] RDX: 0000000000000000 RSI: 0000000000000216 RDI: 0000000000000216
[  935.806120] RBP: 0000000000000020 R08: 0000000000200000 R09: 0000000000000000
[  935.806121] R10: 000000000000001f R11: ffff97ceae112500 R12: ffff97cf294253a8
[  935.806122] R13: ffff97cf14bb1580 R14: ffff97cf14bb1580 R15: ffff97cf29425500
[  935.806122] FS:  0000000000000000(0000) GS:ffff97cf2c200000(0000) knlGS:0000000000000000
[  935.806123] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  935.806124] CR2: 00007f5e7772788a CR3: 00000002f420a002 CR4: 00000000003606f0
[  935.806124] Call Trace:
[  935.806129]  ? ath10k_conf_tx+0x7a/0x4b0 [ath10k_core]
[  935.806140]  ieee80211_bss_info_change_notify+0xab/0x1a0 [mac80211]
[  935.806153]  ieee80211_reconfig+0x661/0x1310 [mac80211]
[  935.806154]  ? enqueue_entity+0xf6/0x660
[  935.806164]  wiphy_resume+0x7f/0x120 [cfg80211]
[  935.806173]  ? wiphy_suspend+0x270/0x270 [cfg80211]
[  935.806174]  dpm_run_callback+0x59/0x150
[  935.806175]  device_resume+0xac/0x1f0
[  935.806176]  async_resume+0x19/0x30
[  935.806178]  async_run_entry_fn+0x39/0x160
[  935.806179]  process_one_work+0x1a1/0x3a0
[  935.806180]  worker_thread+0x30/0x380
[  935.806181]  ? pwq_unbound_release_workfn+0xd0/0xd0
[  935.806182]  kthread+0x112/0x130
[  935.806184]  ? kthread_create_on_node+0x60/0x60
[  935.806185]  ret_from_fork+0x35/0x40
[  935.806186] ---[ end trace f42583100ffd8546 ]---
Comment 3 Nick Bartos 2019-05-06 05:39:21 UTC
Same with ubuntu 5.0.0-13-generic:

[95085.801953] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[95085.806309] nvme nvme0: 4/0/0 default/read/poll queues
[95085.847939] WARNING: CPU: 1 PID: 31686 at drivers/net/wireless/ath/ath10k/mac.c:5708 ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[95085.847941] Modules linked in: uas usb_storage cdc_acm ath10k_pci usbhid ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) aufs overlay binfmt_misc arc4 nls_iso8859_1 joydev snd_hda_codec_hdmi snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi uvcvideo videobuf2_vmalloc snd_hda_codec_realtek videobuf2_memops snd_hda_codec_generic dell_laptop videobuf2_v4l2 snd_soc_core ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine intel_rapl x86_pkg_temp_thermal snd_hda_intel intel_powerclamp coretemp snd_hda_codec videobuf2_common videodev snd_hda_core kvm_intel snd_hwdep media input_leds intel_cstate dell_wmi snd_pcm intel_rapl_perf dell_smbios dcdbas snd_seq_midi intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd_seq_midi_event snd_rawmidi snd_seq serio_raw ath10k_core ath snd_seq_device hid_multitouch snd_timer mac80211 rtsx_pci_ms idma64 memstick snd cfg80211 virt_dma intel_pch_thermal
[95085.847956]  soundcore mei_me ucsi_acpi typec_ucsi mei typec processor_thermal_device intel_soc_dts_iosf intel_hid sparse_keymap acpi_pad mac_hid int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio aesni_intel kvm irqbypass i2c_algo_bit drm_kms_helper nvme syscopyarea aes_x86_64 sysfillrect crypto_simd sysimgblt fb_sys_fops cryptd rtsx_pci_sdmmc glue_helper psmouse i2c_i801 drm intel_lpss_pci nvme_core thunderbolt rtsx_pci intel_lpss wmi i2c_hid hid pinctrl_cannonlake video pinctrl_intel [last unloaded: ath10k_pci]
[95085.847974] CPU: 1 PID: 31686 Comm: kworker/u8:4 Tainted: G        W  OE     5.0.0-13-generic #14-Ubuntu
[95085.847974] Hardware name: Dell Inc. XPS 13 9380/0KTW76, BIOS 1.2.1 02/14/2019
[95085.847978] Workqueue: events_unbound async_run_entry_fn
[95085.847981] RIP: 0010:ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[95085.847982] Code: 78 01 00 00 89 c1 89 f2 4c 89 d7 48 c7 c6 88 de b5 c0 4c 89 4d a0 89 45 a8 e8 28 38 00 00 8b 45 a8 4c 8b 4d a0 e9 21 f8 ff ff <0f> 0b e9 93 f4 ff ff 8b b3 78 01 00 00 89 f2 89 c1 48 c7 c6 48 de
[95085.847983] RSP: 0018:ffffb1f542f6fc90 EFLAGS: 00010246
[95085.847983] RAX: 0000000000000000 RBX: ffff9f3f19399458 RCX: 0000000000000000
[95085.847984] RDX: ffff9f3f17981938 RSI: 0000000000000212 RDI: 0000000000000212
[95085.847984] RBP: ffffb1f542f6fd00 R08: 0000000000200000 R09: 0000000000000000
[95085.847985] R10: ffff9f3f179815a0 R11: 0000000000000018 R12: 00000000020674ff
[95085.847985] R13: ffff9f3f19399460 R14: ffff9f3f179815a0 R15: ffff9f3f179815a0
[95085.847986] FS:  0000000000000000(0000) GS:ffff9f3f1e480000(0000) knlGS:0000000000000000
[95085.847986] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[95085.847986] CR2: 00007f9bec151c86 CR3: 00000002fa00e003 CR4: 00000000003606e0
[95085.847987] Call Trace:
[95085.847991]  ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[95085.848005]  ieee80211_bss_info_change_notify+0xb3/0x1a0 [mac80211]
[95085.848013]  ieee80211_reconfig+0x655/0x1170 [mac80211]
[95085.848015]  ? __switch_to_asm+0x34/0x70
[95085.848023]  ieee80211_resume+0x55/0x70 [mac80211]
[95085.848036]  wiphy_resume+0x84/0x130 [cfg80211]
[95085.848041]  ? index_show+0x30/0x30 [cfg80211]
[95085.848043]  dpm_run_callback+0x66/0x150
[95085.848043]  device_resume+0xb4/0x200
[95085.848044]  async_resume+0x1d/0x30
[95085.848045]  async_run_entry_fn+0x3c/0x150
[95085.848047]  process_one_work+0x20f/0x410
[95085.848048]  worker_thread+0x34/0x400
[95085.848049]  kthread+0x120/0x140
[95085.848050]  ? process_one_work+0x410/0x410
[95085.848051]  ? __kthread_parkme+0x70/0x70
[95085.848052]  ret_from_fork+0x35/0x40
[95085.848053] ---[ end trace 816311a806d5af3c ]---
[95085.848062] WARNING: CPU: 1 PID: 31686 at drivers/net/wireless/ath/ath10k/mac.c:5746 ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[95085.848063] Modules linked in: uas usb_storage cdc_acm ath10k_pci usbhid ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) aufs overlay binfmt_misc arc4 nls_iso8859_1 joydev snd_hda_codec_hdmi snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi uvcvideo videobuf2_vmalloc snd_hda_codec_realtek videobuf2_memops snd_hda_codec_generic dell_laptop videobuf2_v4l2 snd_soc_core ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine intel_rapl x86_pkg_temp_thermal snd_hda_intel intel_powerclamp coretemp snd_hda_codec videobuf2_common videodev snd_hda_core kvm_intel snd_hwdep media input_leds intel_cstate dell_wmi snd_pcm intel_rapl_perf dell_smbios dcdbas snd_seq_midi intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd_seq_midi_event snd_rawmidi snd_seq serio_raw ath10k_core ath snd_seq_device hid_multitouch snd_timer mac80211 rtsx_pci_ms idma64 memstick snd cfg80211 virt_dma intel_pch_thermal
[95085.848071]  soundcore mei_me ucsi_acpi typec_ucsi mei typec processor_thermal_device intel_soc_dts_iosf intel_hid sparse_keymap acpi_pad mac_hid int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio aesni_intel kvm irqbypass i2c_algo_bit drm_kms_helper nvme syscopyarea aes_x86_64 sysfillrect crypto_simd sysimgblt fb_sys_fops cryptd rtsx_pci_sdmmc glue_helper psmouse i2c_i801 drm intel_lpss_pci nvme_core thunderbolt rtsx_pci intel_lpss wmi i2c_hid hid pinctrl_cannonlake video pinctrl_intel [last unloaded: ath10k_pci]
[95085.848079] CPU: 1 PID: 31686 Comm: kworker/u8:4 Tainted: G        W  OE     5.0.0-13-generic #14-Ubuntu
[95085.848079] Hardware name: Dell Inc. XPS 13 9380/0KTW76, BIOS 1.2.1 02/14/2019
[95085.848080] Workqueue: events_unbound async_run_entry_fn
[95085.848083] RIP: 0010:ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[95085.848084] Code: b1 f2 ff ff 8b 93 78 01 00 00 89 c1 48 c7 c6 b8 d2 b5 c0 4c 89 f7 e8 d5 38 00 00 e9 65 fb ff ff b8 40 00 00 00 e9 b3 f5 ff ff <0f> 0b 48 8b 7d b0 e8 ab c3 d0 fc e9 1a f6 ff ff b8 40 00 00 00 e9
[95085.848085] RSP: 0018:ffffb1f542f6fc90 EFLAGS: 00010246
[95085.848085] RAX: 0000000000000000 RBX: ffff9f3f19399458 RCX: 0000000000000000
[95085.848085] RDX: 0000000000000000 RSI: 0000000000000212 RDI: 0000000000000212
[95085.848086] RBP: ffffb1f542f6fd00 R08: 0000000000200000 R09: 0000000000000000
[95085.848086] R10: ffff9f3f179815a0 R11: 0000000000000018 R12: 0000000000000020
[95085.848086] R13: ffff9f3f19399460 R14: ffff9f3f179815a0 R15: ffff9f3f179815a0
[95085.848087] FS:  0000000000000000(0000) GS:ffff9f3f1e480000(0000) knlGS:0000000000000000
[95085.848087] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[95085.848088] CR2: 00007f9bec151c86 CR3: 00000002fa00e003 CR4: 00000000003606e0
[95085.848088] Call Trace:
[95085.848091]  ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[95085.848097]  ieee80211_bss_info_change_notify+0xb3/0x1a0 [mac80211]
[95085.848105]  ieee80211_reconfig+0x655/0x1170 [mac80211]
[95085.848105]  ? __switch_to_asm+0x34/0x70
[95085.848113]  ieee80211_resume+0x55/0x70 [mac80211]
[95085.848119]  wiphy_resume+0x84/0x130 [cfg80211]
[95085.848123]  ? index_show+0x30/0x30 [cfg80211]
[95085.848124]  dpm_run_callback+0x66/0x150
[95085.848125]  device_resume+0xb4/0x200
[95085.848126]  async_resume+0x1d/0x30
[95085.848127]  async_run_entry_fn+0x3c/0x150
[95085.848127]  process_one_work+0x20f/0x410
[95085.848128]  worker_thread+0x34/0x400
[95085.848129]  kthread+0x120/0x140
[95085.848130]  ? process_one_work+0x410/0x410
[95085.848131]  ? __kthread_parkme+0x70/0x70
[95085.848132]  ret_from_fork+0x35/0x40
[95085.848133] ---[ end trace 816311a806d5af3d ]---
[95085.862011] OOM killer enabled.
[95085.862011] Restarting tasks ... done.
[95085.948901] PM: suspend exit
Comment 4 Brian Norris 2019-06-10 17:36:34 UTC
FWIW, this is fixed in mainline:


commit 9e80ad37f6788ed52b89a3cfcd593e0aa69b216d
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Sun Mar 3 18:24:33 2019 +0100

    ath10k: Drop WARN_ON()s that always trigger during system resume
    
    ath10k_mac_vif_chan() always returns an error for the given vif
    during system-wide resume which reliably triggers two WARN_ON()s
    in ath10k_bss_info_changed() and they are not particularly
    useful in that code path, so drop them.
    
    Tested: QCA6174 hw3.2 PCI with WLAN.RM.2.0-00180-QCARMSWPZ-1
    Tested: QCA6174 hw3.2 SDIO with WLAN.RMH.4.4.1-00007-QCARMSWP-1
    
    Fixes: cd93b83ad927 ("ath10k: support for multicast rate control")
    Fixes: f279294e9ee2 ("ath10k: add support for configuring management packet rate")
    Cc: stable@vger.kernel.org
    Reviewed-by: Brian Norris <briannorris@chromium.org>
    Tested-by: Brian Norris <briannorris@chromium.org>
    Tested-by: Claire Chang <tientzu@chromium.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: Kalle Valo <kvalo@codeaurora.org>


and in 4.19.y stable (4.19.40+):

commit cc313d405b0ceebd02f2811ab7cf83fd3474d0e8
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Sun Mar 3 18:24:33 2019 +0100

    ath10k: Drop WARN_ON()s that always trigger during system resume
    
    commit 9e80ad37f6788ed52b89a3cfcd593e0aa69b216d upstream.
    
    ath10k_mac_vif_chan() always returns an error for the given vif
    during system-wide resume which reliably triggers two WARN_ON()s
    in ath10k_bss_info_changed() and they are not particularly
    useful in that code path, so drop them.
    
    Tested: QCA6174 hw3.2 PCI with WLAN.RM.2.0-00180-QCARMSWPZ-1
    Tested: QCA6174 hw3.2 SDIO with WLAN.RMH.4.4.1-00007-QCARMSWP-1
    
    Fixes: cd93b83ad927 ("ath10k: support for multicast rate control")
    Fixes: f279294e9ee2 ("ath10k: add support for configuring management packet rate")
    Cc: stable@vger.kernel.org
    Reviewed-by: Brian Norris <briannorris@chromium.org>
    Tested-by: Brian Norris <briannorris@chromium.org>
    Tested-by: Claire Chang <tientzu@chromium.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

But I can't change bug status.

Note You need to log in before you can comment on or make changes to this bug.