Bug 197773 - ath10k still emits WARN CPU: 1 PID: 0 at net/core/dev.c:5546 net_rx_action+0x25a/0x350
Summary: ath10k still emits WARN CPU: 1 PID: 0 at net/core/dev.c:5546 net_rx_action+0x...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-04 17:23 UTC by Konstantin A. Lepikhov
Modified: 2017-11-04 17:23 UTC (History)
0 users

See Also:
Kernel Version: v4.14-rc7
Tree: Mainline
Regression: No


Attachments

Description Konstantin A. Lepikhov 2017-11-04 17:23:39 UTC
Greetings!

Even with patch applied from https://lkml.org/lkml/2017/7/24/145 I'm getting this WARN. It's can be reproduced easily with speedtest-cli utility (https://github.com/sivel/speedtest-cli), just run a few rounds and then see this WARN:

nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: #1 quota too big 75 64 75
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: #2 quota too big 75 64 75
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: ------------[ cut here ]------------
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: WARNING: CPU: 1 PID: 0 at net/core/dev.c:5546 net_rx_action+0x25a/0x350
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: Modules linked in: ccm af_packet arc4 rfcomm fuse cmac ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bnep msr dm_crypt algif_skcipher af_alg uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videodev usbhid btusb videobuf2_core btrtl joydev hid_multitouch snd_hda_codec_hdmi coretemp intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel ath10k_pci ath10k_core kvm snd_soc_skl snd_soc_skl_ipc snd_hda_codec_realtek snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_generic iTCO_wdt irqbypass iTCO_vendor_support snd_hda_ext_core rtsx_pci_ms snd_soc_sst_match crct10dif_pclmul memstick crc32_pclmul snd_soc_core rtsx_pci_sdmmc crc32c_intel mmc_core ath mac80211 ghash_clmulni_intel i2c_designware_platform snd_compress i2c_designware_core snd_pcm_dmaengine ac97_bus
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  dell_wmi wmi_bmof pcbc snd_hda_intel snd_hda_codec hci_uart dell_laptop aesni_intel dell_smbios nls_utf8 dcdbas btbcm aes_x86_64 crypto_simd nls_cp866 glue_helper serdev cryptd btqca vfat snd_hda_core fat intel_cstate intel_rapl_perf cfg80211 efi_pstore pcspkr snd_hwdep btintel xhci_pci i2c_i801 xhci_hcd snd_pcm rtsx_pci bluetooth idma64 hwmon usbcore virt_dma processor_thermal_device thermal intel_soc_dts_iosf ucsi_acpi intel_lpss_pci intel_pch_thermal typec_ucsi tpm_tis typec tpm_tis_core ecdh_generic tpm wmi i2c_hid intel_vbtn intel_hid intel_lpss_acpi rfkill sparse_keymap intel_lpss mfd_core int3400_thermal int3403_thermal acpi_thermal_rel int340x_thermal_zone battery acpi_als acpi_pad kfifo_buf ac industrialio dm_multipath dm_mod scsi_mod snd_seq_midi snd_seq_midi_event snd_seq
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  snd_rawmidi snd_seq_device snd_timer snd soundcore efivars efivarfs ip_tables x_tables ipv6 i915 iosf_mbi i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm nvme evdev serio_raw i2c_core nvme_core intel_gtt agpgart video button autofs4
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U          4.14.0-lks-wks-alt0.5 #1
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: Hardware name: Dell Inc. XPS 13 9360/06CC14, BIOS 2.2.1 08/18/2017
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: task: ffff9cc8cdd28000 task.stack: ffffadf581944000
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RIP: 0010:net_rx_action+0x25a/0x350
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RSP: 0018:ffff9ccbbe483ef0 EFLAGS: 00010297
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RAX: 000000000000004b RBX: ffff9ccbbe483f00 RCX: 0000000000000040
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RDX: 000000000000004b RSI: 0000000000000201 RDI: 00000000ffffffff
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RBP: 00000000ffffec76 R08: 00000003e4e4db40 R09: 00000000000006c7
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: R10: 0000000000000000 R11: 0000000000000002 R12: 000000000000012c
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: R13: ffff9ccbbe49aac0 R14: ffff9ccba1817ba0 R15: 00000000ffffffff
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: FS:  0000000000000000(0000) GS:ffff9ccbbe480000(0000) knlGS:0000000000000000
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: CR2: 00007f117400fc48 CR3: 000000040ec09004 CR4: 00000000003606e0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: Call Trace:
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  <IRQ>
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  __do_softirq+0xed/0x1e8
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  irq_exit+0x9e/0xa0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  do_IRQ+0x51/0xe0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  common_interrupt+0x8c/0x8c
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  </IRQ>
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RIP: 0010:cpuidle_enter_state+0x14f/0x1f0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RSP: 0018:ffffadf581947ea8 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffdb
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RAX: ffff9ccbbe480000 RBX: ffff9ccbbe4a1f00 RCX: 000000000000001f
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RDX: 0000004106ff8e7d RSI: ffffffffb99cbe0e RDI: ffffffffb99cdcf4
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: RBP: 0000004106ff8e7d R08: 0000000000000112 R09: 0000000000000007
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: R10: 0000000000000017 R11: 000000000000002f R12: 0000000000000002
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: R13: ffffffffb9d45da0 R14: 0000004106a2ebcf R15: ffffffffb9d45e78
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  ? cpuidle_enter_state+0x148/0x1f0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  do_idle+0x185/0x1d0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  cpu_startup_entry+0x6a/0x70
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  start_secondary+0x177/0x1b0
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel:  secondary_startup_64+0xa5/0xa5
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: Code: 5d 41 5e 41 5f c3 4c 89 54 24 08 89 ce 89 4c 24 04 4c 89 f7 41 ff 56 20 8b 4c 24 04 89 c2 4c 8b 54 24 08 39 d1 0f 8d dd fe ff ff <0f> ff 39 d1 0f 8f db fe ff ff 49 8b 46 10 a8 04 75 74 49 83 7e 
nov 04 18:03:20 comp-core-i7-7500u-36b400 kernel: ---[ end trace abb33b4f5c430cd1 ]--- 

Note that quota still bigger than budget (64) (debug messages in the beginning of WARN), looks like it's overflowing.

Hardware info: Dell Inc. XPS 13 9360/06CC14, BIOS 2.2.1 08/18/2017
Wireless info:

nov 04 18:00:48 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
nov 04 18:00:48 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
nov 04 18:00:48 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
nov 04 18:00:48 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: board_file api 2 bmi_id N/A crc32 414716a3
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: Unknown eventid: 118809
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: Unknown eventid: 90118
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath10k_pci 0000:3a:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath: EEPROM regdomain: 0x6c
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath: EEPROM indicates we should expect a direct regpair map
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath: Country alpha2 being used: 00
nov 04 18:00:49 comp-core-i7-7500u-36b400 kernel: ath: Regpair used: 0x6c

Problem still reproducible with latest fw version (4.4.1.c1) from https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174

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