Bug 218480

Summary: ath12k: multiple WCN7850 cards results on none working
Product: Drivers Reporter: David Atkins (david)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal CC: david, ionic, nakonechnij.sergsj
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: 6.8.0-rc3-wt-ath+ #1 SMP PREEMPT_DYNAMIC Sat Feb 10 17:36:08 GMT 2024 x86_64 x86_64 x86_64 GNU/Linux Subsystem:
Regression: No Bisected commit-id:

Description David Atkins 2024-02-11 11:36:41 UTC
If I have a single card it works and I can attach it to an access point, if I have two cards both fail to operate.

built and installed fresh from 

 git clone https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/

 uname -a

Linux fcradiohead-test 6.8.0-rc3-wt-ath+ #1 SMP PREEMPT_DYNAMIC Sat Feb 10 17:36:08 GMT 2024 x86_64 x86_64 x86_64 GNU/Linux

logs show

 sudo dmesg | grep ath12k
[    3.657527] ath12k_pci 0000:01:00.0: BAR 0 [mem 0xfc800000-0xfc9fffff 64bit]: assigned
[    3.657543] ath12k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.657831] ath12k_pci 0000:01:00.0: MSI vectors: 16
[    3.657835] ath12k_pci 0000:01:00.0: Hardware name: wcn7850 hw2.0
[    3.721783] ath12k_pci 0000:05:00.0: BAR 0 [mem 0xfc400000-0xfc5fffff 64bit]: assigned
[    3.721809] ath12k_pci 0000:05:00.0: enabling device (0000 -> 0002)
[    3.722189] ath12k_pci 0000:05:00.0: MSI vectors: 16
[    3.722195] ath12k_pci 0000:05:00.0: Hardware name: wcn7850 hw2.0
[    4.206345] ath12k_pci 0000:05:00.0: Host capability request failed, result: 1, err: 90
[    4.206350] ath12k_pci 0000:05:00.0: qmi failed to send host cap QMI:-22
[    4.207240] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000000 flags=0x0000]
[    4.207462] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000000 flags=0x0020]
[    4.208020] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000000 flags=0x0000]
[    4.208101] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca540000 flags=0x0020]
[    4.208123] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000040 flags=0x0000]
[    4.208144] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000000 flags=0x0020]
[    4.208167] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000080 flags=0x0000]
[    4.208189] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca0000c0 flags=0x0000]
[    4.208218] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000100 flags=0x0000]
[    4.208239] ath12k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000a address=0xca000140 flags=0x0000]
[    4.211322] ath12k_pci 0000:05:00.0: chip_id 0x2 chip_family 0x4 board_id 0x10e soc_id 0x40170200
[    4.211328] ath12k_pci 0000:05:00.0: fw_version 0x100301e1 fw_build_timestamp 2023-12-06 04:05 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
[    4.415656] ath12k_pci 0000:01:00.0: ignore reset dev flags 0x0
[    4.613037] ath12k_pci 0000:01:00.0: ignore reset dev flags 0x0
[   14.404442] ath12k_pci 0000:05:00.0: qmi failed set mode request, mode: 0, err = -110
[   14.404454] ath12k_pci 0000:05:00.0: qmi failed to send wlan fw mode:-110
[   14.404458] ath12k_pci 0000:05:00.0: failed to send firmware start: -110
[   14.404463] ath12k_pci 0000:05:00.0: failed to start firmware: -110


no logs showing up here

sudo du /sys/kernel/tracing/events/ath12k
0       /sys/kernel/tracing/events/ath12k/ath12k_wmi_diag
0       /sys/kernel/tracing/events/ath12k/ath12k_htt_rxdesc
0       /sys/kernel/tracing/events/ath12k/ath12k_htt_ppdu_stats
0       /sys/kernel/tracing/events/ath12k/ath12k_htt_pktlog
0       /sys/kernel/tracing/events/ath12k

or here

sudo du /sys/kernel/debug/tracing/events/ath12k
0       /sys/kernel/debug/tracing/events/ath12k/ath12k_wmi_diag
0       /sys/kernel/debug/tracing/events/ath12k/ath12k_htt_rxdesc
0       /sys/kernel/debug/tracing/events/ath12k/ath12k_htt_ppdu_stats
0       /sys/kernel/debug/tracing/events/ath12k/ath12k_htt_pktlog
0       /sys/kernel/debug/tracing/events/ath12k

lspci gives

01:00.0 Network controller: Qualcomm Technologies, Inc Device 1107 (rev 01)
05:00.0 Network controller: Qualcomm Technologies, Inc Device 1107 (rev 01)

is there extended logging that will help?

david
Comment 1 Mihai Moldovan 2024-10-27 14:15:52 UTC
Same base line issue as my report https://bugzilla.kernel.org/show_bug.cgi?id=219380

This issue (essentially QRTR clashing if the same instance ID is being used multiple times in one machine) is known since 2022 and there was no actual effort to fix it since the start of 2023.

I've posted a write-up regarding this to the ath11k mailing list: https://lists.infradead.org/pipermail/ath11k/2024-October/006481.html

I wouldn't get my hopes up, though.

Luckily, I'm also using WCN7850 in my setup, so I'll check if the RFC mentioned last is compatible with it. If it is, there's at least a workaround for some hardware out there.
Comment 2 Mihai Moldovan 2024-10-27 14:17:54 UTC
*** Bug 219380 has been marked as a duplicate of this bug. ***
Comment 3 Serhii N. 2025-01-04 20:42:52 UTC
Hello, I have exactly the same issue after I bought second card. Does here any update?