linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath10_pci: WARN(() on resume from S3
@ 2018-12-27 10:08 Gabriel C
  2018-12-27 11:19 ` DeX77
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel C @ 2018-12-27 10:08 UTC (permalink / raw)
  To: Kalle Valo
  Cc: ath10k, linux-pm, linux-kernel, dex77, Rafael J. Wysocki, nix.or.die

Hello ,

on a QCA9377 card I hit WARN() on each resume from S3.

This is on kernel 4.19.X and now on 4.20.0 too.
On kernel 4.19.x I see just the first WARN() while on
4.20.0 I see now two.

Also I see Unknown eventid: xxx and on 4.20.0
a unsupported HTC service id: xxx message(s).


...

[   45.740910] ACPI: Waking up from system sleep state S3
[   45.743781] ACPI: EC: interrupt unblocked
[   46.125319] ACPI: EC: event unblocked
[   46.125659] sd 0:0:0:0: [sda] Starting disk
[   46.357351] usb 1-6: reset high-speed USB device number 3 using xhci_hcd
[   46.432399] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   46.432718] ata1.00: supports DRM functions and may not be fully accessible
[   46.432792] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   46.434757] ata2.00: configured for UDMA/133
[   46.435943] ata1.00: supports DRM functions and may not be fully accessible
[   46.438678] ata1.00: configured for UDMA/133
[   46.438718] ata1.00: Enabling discard_zeroes_data
[   46.485511] r8169 0000:02:00.0 enp2s0: Link is Down
[   46.597393] usb 1-5: reset high-speed USB device number 2 using xhci_hcd
[   46.837432] usb 1-7: reset full-speed USB device number 4 using xhci_hcd
[   48.375066] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[   48.390223] ath10k_pci 0000:03:00.0: Unknown eventid: 118809
[   48.393133] ath10k_pci 0000:03:00.0: Unknown eventid: 90118
[   48.415625] WARNING: CPU: 2 PID: 1251 at drivers/net/wireless/ath/ath10k/mac.c:5650 ath10k_bss_info_changed+0xc8b/0xef0 [ath10k_core]
[   48.415626] Modules linked in: ctr ccm cmac af_packet arc4 amdgpu chash amd_iommu_v2 gpu_sched joydev snd_hda_codec_hdmi snd_hda_codec_conexant bnep snd_hda_codec_generic radeon ath10k_pci ath10k_core ath iTCO_wdt iTCO_vendor_support i915 mac80211 coretemp snd_soc_skl intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_soc_hdac_hda snd_hda_ext_core btusb snd_soc_skl_ipc btrtl btbcm snd_soc_sst_ipc btintel snd_soc_sst_dsp kvm_intel kvmgt snd_soc_acpi_intel_match snd_soc_acpi vfio_mdev mdev nls_utf8 bluetooth vfio_iommu_type1 vfio uvcvideo nls_cp437 vfat videobuf2_vmalloc fat snd_soc_core ttm videobuf2_memops videobuf2_v4l2 kvm cec snd_compress rc_core snd_pcm_dmaengine videobuf2_common snd_hda_intel drm_kms_helper videodev rtsx_usb_ms ecdh_generic snd_hda_codec memstick cfg80211 drm irqbypass efi_pstore pcspkr psmouse intel_gtt media r8169 snd_hda_core agpgart evdev mac_hid snd_hwdep intel_wmi_thunderbolt efivars i2c_i801 i2c_algo_bit hwmon libphy ideapad_laptop fb_sys_fops syscopyarea
[   48.415659]  sparse_keymap sysfillrect rfkill sysimgblt battery i2c_core ac intel_pch_thermal acpi_pad button thermal pcc_cpufreq ppdev sch_fq_codel fuse snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_timer snd soundcore lp parport_pc parport binfmt_misc sg ext4 crc32c_generic crc16 mbcache jbd2 fscrypto rtsx_usb_sdmmc mmc_core rtsx_usb sr_mod sd_mod cdrom crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci libata xhci_pci xhci_hcd aesni_intel scsi_mod usbcore aes_x86_64 crypto_simd cryptd glue_helper serio_raw wmi video dm_mirror dm_region_hash dm_log dm_mod efivarfs unix sha256_ssse3 sha256_generic sha1_ssse3 sha1_generic hmac ipv6 autofs4
[   48.415688] CPU: 2 PID: 1251 Comm: kworker/u8:19 Not tainted 4.20-fw1 #1
[   48.415689] Hardware name: LENOVO 80UD/LNVNB161216, BIOS 1TCN27WW(V2.08) 07/06/2018
[   48.415692] Workqueue: events_unbound async_run_entry_fn
[   48.415698] RIP: 0010:ath10k_bss_info_changed+0xc8b/0xef0 [ath10k_core]
[   48.415700] Code: ff ff b8 a1 ff ff ff e9 a9 f4 ff ff b8 a1 ff ff ff e9 05 f6 ff ff b8 a1 ff ff ff e9 3f f5 ff ff b8 a1 ff ff ff e9 6e f6 ff ff <0f> 0b e9 da f6 ff ff b8 a1 ff ff ff e9 73 f9 ff ff b8 a1 ff ff ff
[   48.415701] RSP: 0000:ffffaadd43597cd8 EFLAGS: 00010282
[   48.415702] RAX: 00000000fffffffe RBX: ffff8fa9f27a1380 RCX: 0000000000000000
[   48.415703] RDX: 0000000000000001 RSI: ffffaadd43597cf8 RDI: ffff8fa9f27a1380
[   48.415704] RBP: 00000000030674ff R08: 0000000000200000 R09: 0000000000000000
[   48.415705] R10: 000000000000001f R11: ffff8fa9cf7cf500 R12: ffff8fa9f27a1388
[   48.415706] R13: ffff8fa9ee552558 R14: ffff8fa9ee551580 R15: ffff8fa9ee551580
[   48.415707] FS:  0000000000000000(0000) GS:ffff8fa9f7300000(0000) knlGS:0000000000000000
[   48.415708] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   48.415709] CR2: 0000000000000000 CR3: 000000011700a001 CR4: 00000000003606e0
[   48.415710] Call Trace:
[   48.415717]  ? ath10k_conf_tx+0x12d/0x4c0 [ath10k_core]
[   48.415729]  ieee80211_bss_info_change_notify+0xa9/0x1c0 [mac80211]
[   48.415744]  ieee80211_reconfig+0xa4f/0x1560 [mac80211]
[   48.415757]  wiphy_resume+0x7e/0x150 [cfg80211]
[   48.415767]  ? wiphy_namespace+0x10/0x10 [cfg80211]
[   48.415770]  dpm_run_callback+0x2e/0x130
[   48.415772]  device_resume+0x97/0x190
[   48.415774]  async_resume+0x19/0x40
[   48.415776]  async_run_entry_fn+0x37/0xe0
[   48.415779]  process_one_work+0x1e9/0x410
[   48.415782]  worker_thread+0x2d/0x3d0
[   48.415785]  ? process_one_work+0x410/0x410
[   48.415786]  kthread+0x113/0x130
[   48.415788]  ? kthread_park+0x90/0x90
[   48.415791]  ret_from_fork+0x35/0x40
[   48.415794] ---[ end trace 965780d03f252ba4 ]---
[   48.415810] WARNING: CPU: 2 PID: 1251 at drivers/net/wireless/ath/ath10k/mac.c:5688 ath10k_bss_info_changed+0xae9/0xef0 [ath10k_core]
[   48.415811] Modules linked in: ctr ccm cmac af_packet arc4 amdgpu chash amd_iommu_v2 gpu_sched joydev snd_hda_codec_hdmi snd_hda_codec_conexant bnep snd_hda_codec_generic radeon ath10k_pci ath10k_core ath iTCO_wdt iTCO_vendor_support i915 mac80211 coretemp snd_soc_skl intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_soc_hdac_hda snd_hda_ext_core btusb snd_soc_skl_ipc btrtl btbcm snd_soc_sst_ipc btintel snd_soc_sst_dsp kvm_intel kvmgt snd_soc_acpi_intel_match snd_soc_acpi vfio_mdev mdev nls_utf8 bluetooth vfio_iommu_type1 vfio uvcvideo nls_cp437 vfat videobuf2_vmalloc fat snd_soc_core ttm videobuf2_memops videobuf2_v4l2 kvm cec snd_compress rc_core snd_pcm_dmaengine videobuf2_common snd_hda_intel drm_kms_helper videodev rtsx_usb_ms ecdh_generic snd_hda_codec memstick cfg80211 drm irqbypass efi_pstore pcspkr psmouse intel_gtt media r8169 snd_hda_core agpgart evdev mac_hid snd_hwdep intel_wmi_thunderbolt efivars i2c_i801 i2c_algo_bit hwmon libphy ideapad_laptop fb_sys_fops syscopyarea
[   48.415837]  sparse_keymap sysfillrect rfkill sysimgblt battery i2c_core ac intel_pch_thermal acpi_pad button thermal pcc_cpufreq ppdev sch_fq_codel fuse snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_timer snd soundcore lp parport_pc parport binfmt_misc sg ext4 crc32c_generic crc16 mbcache jbd2 fscrypto rtsx_usb_sdmmc mmc_core rtsx_usb sr_mod sd_mod cdrom crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci libata xhci_pci xhci_hcd aesni_intel scsi_mod usbcore aes_x86_64 crypto_simd cryptd glue_helper serio_raw wmi video dm_mirror dm_region_hash dm_log dm_mod efivarfs unix sha256_ssse3 sha256_generic sha1_ssse3 sha1_generic hmac ipv6 autofs4
[   48.415860] CPU: 2 PID: 1251 Comm: kworker/u8:19 Tainted: G        W         4.20-fw1 #1
[   48.415860] Hardware name: LENOVO 80UD/LNVNB161216, BIOS 1TCN27WW(V2.08) 07/06/2018
[   48.415863] Workqueue: events_unbound async_run_entry_fn
[   48.415868] RIP: 0010:ath10k_bss_info_changed+0xae9/0xef0 [ath10k_core]
[   48.415870] Code: c1 48 c7 c6 70 5f ee c0 4c 89 ff e8 e1 35 00 00 e9 ea f5 ff ff 66 83 f8 0a 0f 85 31 fc ff ff 41 bc 40 00 00 00 e9 29 fc ff ff <0f> 0b 4c 89 ef e8 dd 1f 7d fd e9 34 f9 ff ff 89 c2 48 c7 c6 d0 5f
[   48.415871] RSP: 0000:ffffaadd43597cd8 EFLAGS: 00010282
[   48.415872] RAX: 00000000fffffffe RBX: ffff8fa9f27a1380 RCX: 0000000000000000
[   48.415873] RDX: 0000000000000001 RSI: ffffaadd43597cf8 RDI: ffff8fa9f27a1380
[   48.415874] RBP: 0000000000000020 R08: 0000000000200000 R09: 0000000000000000
[   48.415875] R10: 000000000000001f R11: ffff8fa9cf7cf500 R12: ffff8fa9f27a1388
[   48.415876] R13: ffff8fa9ee552558 R14: ffff8fa9ee551580 R15: ffff8fa9ee551580
[   48.415877] FS:  0000000000000000(0000) GS:ffff8fa9f7300000(0000) knlGS:0000000000000000
[   48.415878] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   48.415879] CR2: 0000000000000000 CR3: 000000011700a001 CR4: 00000000003606e0
[   48.415879] Call Trace:
[   48.415884]  ? ath10k_conf_tx+0x12d/0x4c0 [ath10k_core]
[   48.415893]  ieee80211_bss_info_change_notify+0xa9/0x1c0 [mac80211]
[   48.415906]  ieee80211_reconfig+0xa4f/0x1560 [mac80211]
[   48.415918]  wiphy_resume+0x7e/0x150 [cfg80211]
[   48.415927]  ? wiphy_namespace+0x10/0x10 [cfg80211]
[   48.415929]  dpm_run_callback+0x2e/0x130
[   48.415931]  device_resume+0x97/0x190
[   48.415933]  async_resume+0x19/0x40
[   48.415935]  async_run_entry_fn+0x37/0xe0
[   48.415937]  process_one_work+0x1e9/0x410
[   48.415939]  worker_thread+0x2d/0x3d0
[   48.415942]  ? process_one_work+0x410/0x410
[   48.415943]  kthread+0x113/0x130
[   48.415945]  ? kthread_park+0x90/0x90
[   48.415946]  ret_from_fork+0x35/0x40
[   48.415948] ---[ end trace 965780d03f252ba5 ]---

...

Please let me know if more infos are needed.

BR,

Gabriel C

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ath10_pci: WARN(() on resume from S3
  2018-12-27 10:08 ath10_pci: WARN(() on resume from S3 Gabriel C
@ 2018-12-27 11:19 ` DeX77
  0 siblings, 0 replies; 2+ messages in thread
From: DeX77 @ 2018-12-27 11:19 UTC (permalink / raw)
  To: Gabriel C
  Cc: Kalle Valo, ath10k, linux-pm, linux-kernel, dex77,
	Rafael J. Wysocki, nix.or.die

Hi,


> 4.20.0 I see now two.
>
> Also I see Unknown eventid: xxx and on 4.20.0
> a unsupported HTC service id: xxx message(s).

I have a similar trace on my Dell XPS 13:

[31530.551292] ath10k_pci 0000:3a:00.0: unsupported HTC service id: 1536
[31530.566621] ath10k_pci 0000:3a:00.0: Unknown eventid: 118809
[31530.589165] WARNING: CPU: 0 PID: 6424 at 
drivers/net/wireless/ath/ath10k/mac.c:5687 
ath10k_bss_info_changed+0xad4/0xef0 [ath10k_core]
[31530.589166] Modules linked in: tun ctr ccm cmac bnep uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev 
btusb media btrtl btbcm btintel bluetooth ecdh_generic crc16 af_packet 
joydev arc4 nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct 
xt_tcpudp xt_state xt_conntrack nf_conntrack nf_tables_set nf_defrag_ipv6 
nf_defrag_ipv4 iptable_filter nf_tables ip_tables x_tables nfnetlink 
snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ath10k_pci 
i2c_designware_platform i2c_designware_core ath10k_core snd_soc_skl 
snd_soc_hdac_hda coretemp intel_rapl snd_hda_ext_core x86_pkg_temp_thermal 
intel_powerclamp snd_soc_skl_ipc kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp 
ath snd_soc_acpi_intel_match snd_soc_acpi mac80211 dell_laptop kvm 
snd_soc_core nls_utf8 nls_cp437 snd_hda_codec_realtek vfat 
snd_hda_codec_generic fat snd_compress dell_wmi snd_pcm_dmaengine 
dell_smbios snd_hda_intel dcdbas cfg80211 snd_hda_codec irqbypass 
efi_pstore intel_wmi_thunderbolt rfkill
[31530.589196]  efivars snd_hda_core dell_wmi_descriptor wmi_bmof pcspkr 
hwmon rtsx_pci_ms ucsi_acpi snd_hwdep i2c_i801 memstick typec_ucsi thermal 
typec mei_wdt battery soc_button_array intel_vbtn evdev 
pinctrl_sunrisepoint mac_hid pinctrl_intel intel_hid 
processor_thermal_device int3403_thermal sparse_keymap int3400_thermal 
acpi_pad idma64 acpi_thermal_rel pcc_cpufreq int340x_thermal_zone ac button 
intel_soc_dts_iosf intel_pch_thermal intel_lpss_pci intel_lpss 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 intel_gtt i2c_algo_bit cec rc_core drm_kms_helper 
syscopyarea sysfillrect sysimgblt fb_sys_fops drm crct10dif_pclmul xhci_pci 
xhci_hcd crc32_pclmul ghash_clmulni_intel aesni_intel usbcore aes_x86_64 
crypto_simd cryptd glue_helper serio_raw i2c_hid agpgart rtsx_pci hid 
i2c_core wmi video dm_mirror dm_region_hash dm_log dm_mod fuse crc32c_intel 
snd_pcm_oss snd_mixer_oss
[31530.589230]  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_ssse3 sha256_generic sha1_ssse3 sha1_generic hmac ipv6 autofs4
[31530.589240] CPU: 0 PID: 6424 Comm: kworker/u8:4 Tainted: G        W      
   4.20-fw1 #1
[31530.589241] Hardware name: Dell Inc. XPS 13 9360/06CC14, BIOS 2.9.0 
07/09/2018
[31530.589245] Workqueue: events_unbound async_run_entry_fn
[31530.589250] RIP: 0010:ath10k_bss_info_changed+0xad4/0xef0 [ath10k_core]
[31530.589251] Code: 00 00 e8 af 0c fc d1 e9 94 f8 ff ff 8b b5 68 01 00 00 
89 f2 89 c1 48 c7 c6 70 ef 0f c1 48 89 df e8 e1 35 00 00 e9 eb f5 ff ff 
<0f> 0b 4c 89 f7 e8 f2 8f 5b d2 e9 4f f9 ff ff 66 83 f8 0a 0f 85 27
[31530.589252] RSP: 0018:ffffb733c428fcd8 EFLAGS: 00010282
[31530.589253] RAX: 00000000fffffffe RBX: ffff91ed1d781580 RCX: 
0000000000000000
[31530.589254] RDX: ffff91ed1d7818f8 RSI: ffffb733c428fcf8 RDI: 
ffff91ed17073380
[31530.589255] RBP: ffff91ed17073380 R08: 0000000000200000 R09: 
0000000000000000
[31530.589256] R10: 000000000000001f R11: ffff91eb26c1b600 R12: 
0000000000000020
[31530.589256] R13: ffff91ed17073388 R14: ffff91ed1d782558 R15: 
ffff91ed1d781580
[31530.589258] FS:  0000000000000000(0000) GS:ffff91ed2e200000(0000) 
knlGS:0000000000000000
[31530.589258] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31530.589259] CR2: 000056125129f4d6 CR3: 00000002b200a002 CR4: 
00000000003606f0
[31530.589260] Call Trace:
[31530.589266]  ? ath10k_conf_tx+0x12d/0x4c0 [ath10k_core]
[31530.589284]  ieee80211_bss_info_change_notify+0xa9/0x1c0 [mac80211]
[31530.589297]  ieee80211_reconfig+0xa4f/0x1560 [mac80211]
[31530.589313]  wiphy_resume+0x7e/0x150 [cfg80211]
[31530.589322]  ? wiphy_namespace+0x10/0x10 [cfg80211]
[31530.589325]  dpm_run_callback+0x2e/0x130
[31530.589327]  device_resume+0x97/0x190
[31530.589329]  async_resume+0x19/0x40
[31530.589331]  async_run_entry_fn+0x37/0xe0
[31530.589334]  process_one_work+0x1e9/0x410
[31530.589336]  worker_thread+0x2d/0x3d0
[31530.589338]  ? process_one_work+0x410/0x410
[31530.589340]  kthread+0x113/0x130
[31530.589341]  ? kthread_park+0x90/0x90
[31530.589344]  ret_from_fork+0x35/0x40
[31530.589346] ---[ end trace e8c7a75d6d802f88 ]---


Please keep me CC, as I'm currently not subscribed. Thx.

Greetings
DeX

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-27 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-27 10:08 ath10_pci: WARN(() on resume from S3 Gabriel C
2018-12-27 11:19 ` DeX77

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).