>From what I can understand it can be a firmware bug.
The AM{P,S}DU data was read from firmware (via DMA) and get hashed. When the 
driver tries to assemble it in order, the address isn't in the hash.

So please try latest upstream firmware from [1], replace
/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin and
/lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin.

If [1] doesn't work, try the latest ath10k firmware [2], and replace
/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin with
QCA6174/hw3.0/4.4.1.c3/firmware-6.bin_RM.4.4.1.c3-00013-QCARMSWPZ-1.
Also ath10k-firmware/QCA6174/hw3.0/board-2.bin

[1] git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[2] https://github.com/kvalo/ath10k-firmware.git

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1818881

Title:
  ath10k_pci crashing

Status in OEM Priority Project:
  Triaged
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  
  The below happens on a regular basis on my DELL XPS 13 9380:

  [77451.338493] RIP: 0010:ath10k_htt_rx_pop_paddr.isra.29+0xd9/0xf0 
[ath10k_core]
  [77451.338494] Code: 74 32 48 8b 87 10 02 00 00 48 85 c0 74 26 48 8b 40 28 48 
85 c0 74 17 45 31 c0 b9 02 00 00 00 e8 dd c1 d7 db 48 89 d8 5b 5d c3 <0f> 0b 31 
db 48 89 d8 5b 5d c3 48 8b 05 de 67 5a dc eb d1 0f 1f 40 
  [77451.338531] RSP: 0018:ffff9d996e503d78 EFLAGS: 00010246
  [77451.338533] RAX: 0000000000000000 RBX: ffff9d97b7c12290 RCX: 
ffff9d96cbfd5528
  [77451.338534] RDX: 0000000037af2804 RSI: ffff9d9944c51ed4 RDI: 
ffff9d9944c51de0
  [77451.338535] RBP: ffff9d996e503d80 R08: 0000000000200000 R09: 
0000000000000000
  [77451.338537] R10: ffff9d94f045ecd8 R11: 00000000000001ff R12: 
ffff9d9944c51520
  [77451.338538] R13: ffff9d996e503e40 R14: 0000000000000040 R15: 
ffff9d996e503e28
  [77451.338540] FS:  0000000000000000(0000) GS:ffff9d996e500000(0000) 
knlGS:0000000000000000
  [77451.338541] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [77451.338542] CR2: 00001f1104c31000 CR3: 000000017aa0a005 CR4: 
00000000003606e0
  [77451.338543] Call Trace:
  [77451.338545]  <IRQ>
  [77451.338557]  ath10k_htt_txrx_compl_task+0x3d6/0xe40 [ath10k_core]
  [77451.338561]  ? ath10k_pci_irq_msi_fw_unmask+0x70/0x70 [ath10k_pci]
  [77451.338563]  ? ath10k_pci_wake.part.24+0xa0/0xa0 [ath10k_pci]
  [77451.338567]  ath10k_pci_napi_poll+0x54/0x110 [ath10k_pci]
  [77451.338571]  net_rx_action+0x140/0x3a0
  [77451.338575]  __do_softirq+0xe4/0x2d4
  [77451.338580]  irq_exit+0xc5/0xd0
  [77451.338582]  do_IRQ+0x8a/0xe0
  [77451.338585]  common_interrupt+0xf/0xf
  [77451.338586]  </IRQ>
  [77451.338589] RIP: 0010:cpuidle_enter_state+0xa5/0x2c0
  [77451.338590] Code: 8b 3d df bf 9d 63 e8 6a 09 89 ff 48 89 c3 0f 1f 44 00 00 
31 ff e8 cb 14 89 ff 45 84 ff 0f 85 c8 01 00 00 fb 66 0f 1f 44 00 00 <48> 2b 5d 
d0 48 ba cf f7 53 e3 a5 9b c4 20 48 89 d8 48 c1 fb 3f 48 
  [77451.338621] RSP: 0018:ffffaf4601993e50 EFLAGS: 00000246 ORIG_RAX: 
ffffffffffffffde
  [77451.338623] RAX: ffff9d996e522c40 RBX: 000046710b80e2b6 RCX: 
000000000000001f
  [77451.338624] RDX: 000046710b80e2b6 RSI: 000000004041cc98 RDI: 
0000000000000000
  [77451.338625] RBP: ffffaf4601993e90 R08: 0000000000000002 R09: 
00000000000224c0
  [77451.338626] R10: ffffaf4601993e20 R11: 00000000000000d9 R12: 
0000000000000004
  [77451.338626] R13: ffff9d996e52ce00 R14: ffffffff9d3849f8 R15: 
0000000000000000
  [77451.338630]  cpuidle_enter+0x17/0x20
  [77451.338632]  call_cpuidle+0x23/0x40
  [77451.338634]  do_idle+0x204/0x280
  [77451.338636]  cpu_startup_entry+0x73/0x80
  [77451.338639]  start_secondary+0x1ab/0x200
  [77451.338642]  secondary_startup_64+0xa5/0xb0
  [77451.338643] ---[ end trace 22914e3b3a848f81 ]---
  [77451.338655] ath10k_pci 0000:02:00.0: failed to pop paddr list: -2

  $ uname -a
  Linux perseus 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 
2019 x86_64 x86_64 x86_64 GNU/Linux

  $ modinfo ath10k_pci
  filename:       
/lib/modules/4.18.0-15-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
  firmware:       ath10k/QCA9377/hw1.0/board.bin
  firmware:       ath10k/QCA9377/hw1.0/firmware-5.bin
  firmware:       ath10k/QCA9377/hw1.0/firmware-6.bin
  firmware:       ath10k/QCA6174/hw3.0/board-2.bin
  firmware:       ath10k/QCA6174/hw3.0/board.bin
  firmware:       ath10k/QCA6174/hw3.0/firmware-6.bin
  firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
  firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
  firmware:       ath10k/QCA6174/hw2.1/board-2.bin
  firmware:       ath10k/QCA6174/hw2.1/board.bin
  firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
  firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
  firmware:       ath10k/QCA9887/hw1.0/board-2.bin
  firmware:       ath10k/QCA9887/hw1.0/board.bin
  firmware:       ath10k/QCA9887/hw1.0/firmware-5.bin
  firmware:       ath10k/QCA988X/hw2.0/board-2.bin
  firmware:       ath10k/QCA988X/hw2.0/board.bin
  firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
  firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
  firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
  firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
  license:        Dual BSD/GPL
  description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB 
devices
  author:         Qualcomm Atheros
  srcversion:     D49EBAB0107B6CE28383BB8
  alias:          pci:v0000168Cd00000050sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd00000042sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd00000046sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd00000056sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd00000040sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd0000003Esv*sd*bc*sc*i*
  alias:          pci:v0000168Cd00000041sv*sd*bc*sc*i*
  alias:          pci:v0000168Cd0000003Csv*sd*bc*sc*i*
  alias:          pci:v00000777d000011ACsv*sd*bc*sc*i*
  depends:        ath10k_core
  retpoline:      Y
  intree:         Y
  name:           ath10k_pci
  vermagic:       4.18.0-15-generic SMP mod_unload 
  signat:         PKCS#7
  signer:         
  sig_key:        
  sig_hashalgo:   md4
  parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
  parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)

  $ lspci | grep -i atheros
  02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)

  I've updated the firmware manually as a first step trying to resolve the 
issue per
  
https://www.dell.com/community/Linux-Developer-Systems/XPS-13-9370-ath10k-pci-firmware-crash/td-p/6114945

  I'm not sure whether this is related to
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1730331

  but it doesn't seem to have been resolved. As a side-note, seems as if 
linux-firmware doesn't ship the latest for the QCA6174.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  stephan    2978 F.... pulseaudio
   /dev/snd/controlC2:  stephan    2978 F.... pulseaudio
   /dev/snd/controlC1:  stephan    2978 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 18.04
  HibernationDevice: RESUME=UUID=75c252d4-dee6-4b0f-9ed2-0ac33d36b273
  InstallationDate: Installed on 2019-02-04 (29 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. XPS 13 9380
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.18.0-15-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
  ProcVersionSignature: Ubuntu 4.18.0-15.16~18.04.1-generic 4.18.20
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-15-generic N/A
   linux-backports-modules-4.18.0-15-generic  N/A
   linux-firmware                             1.173.3
  Tags:  bionic
  Uname: Linux 4.18.0-15-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev root sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 01/08/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.1.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.1.1:bd01/08/2019:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1818881/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to