WCN7850 problem on Linux kernel 6.15
Baochen Qiang
quic_bqiang at quicinc.com
Wed May 28 22:34:43 PDT 2025
On 5/29/2025 1:27 PM, Baochen Qiang wrote:
>
>
> On 5/29/2025 8:30 AM, Doug Brewer wrote:
>> On Wed, May 28, 2025 at 10:36 PM Baochen Qiang <quic_bqiang at quicinc.com> wrote:
>>>
>>>
>>>
>>> On 5/28/2025 8:55 PM, Doug Brewer wrote:
>>>> On Wed, May 28, 2025 at 4:02 PM Baochen Qiang <quic_bqiang at quicinc.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> On 5/28/2025 3:29 PM, Doug Brewer wrote:
>>>>>> On Wed, May 28, 2025 at 1:16 PM Baochen Qiang <quic_bqiang at quicinc.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 5/27/2025 11:00 AM, Doug Brewer wrote:
>>>>>>>> On Tue, May 27, 2025 at 9:10 AM Doug Brewer wrote:
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> After upgrading to kernel 6.15, my ath12k failed to start:ath12k_pci
>>>>>>>
>>>>>>> Is this mainline kernel or stable kernel?
>>>>>>
>>>>>> It's stable kernel:
>>>>>> https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.15.tar.xz
>>>>>>
>>>>>>>>> 0000:03:00.0: BAR 0 [mem 0xdf000000-0xdf1fffff 64bit]: assigned
>>>>>>>>> ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
>>>>>>>>> ath12k_pci 0000:03:00.0: MSI vectors: 16
>>>>>>>>> ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0
>>>>>>>>> NET: Registered PF_QIPCRTR protocol family
>>>>>>>>> pcieport 0000:00:1d.0: AER: Multiple Uncorrectable (Non-Fatal) error message rec
>>>>>>>>> eived from 0000:00:1d.0
>>>>>>>>> pcieport 0000:00:1d.0: PCIe Bus Error: severity=Uncorrectable (Non-Fatal), type=
>>>>>>>>> Transaction Layer, (Completer ID)
>>>>>>>>> pcieport 0000:00:1d.0: device [8086:9d18] error status/mask=00008000/00010000
>>>>>>>>> pcieport 0000:00:1d.0: [15] CmpltAbrt (First)
>>>>>>>>> pcieport 0000:00:1d.0: AER: TLP Header: 0x00000000 0x00000000 0x00000000 0x000
>>>>>>>>> 00000
>>>>>>>
>>>>>>> Strange there is AER error? Is 0000:00:1d.0 upstream port of WLAN target? I guess not
>>>>>>> because 8086:9d18 seems like an Intel device?
>>>>>>
>>>>>> Appending ‘pcie_aspm=off’ to the kernel command line will eliminate that error.
>>>>>>
>>>>>>> Can you share lspci log:
>>>>>>>
>>>>>>> lspci -tv
>>>>>>
>>>>>> -[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Pro
>>>>>> cessor Host Bridge/DRAM Registers
>>>>>> +-02.0 Intel Corporation Skylake GT2 [HD Graphics 520]
>>>>>> +-08.0 Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8
>>>>>> th Gen Core Processor Gaussian Mixture Model
>>>>>> +-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller
>>>>>> +-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1
>>>>>> +-17.0 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode]
>>>>>> +-1c.0-[01]--
>>>>>> +-1c.5-[02]----00.0 Intel Corporation I210 Gigabit Network Connection
>>>>>> +-1d.0-[03]----00.0 Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.1
>>>>>> 1be) 320MHz 2x2 [FastConnect 7800]
>>>>>> +-1e.0 Intel Corporation Sunrise Point-LP Serial IO UART Controller
>>>>>> #0
>>>>>> +-1e.6 Intel Corporation Sunrise Point-LP Secure Digital IO
>>>>>> Controller
>>>>>> +-1f.0 Intel Corporation Sunrise Point-LP LPC Controller
>>>>>> +-1f.2 Intel Corporation Sunrise Point-LP PMC
>>>>>> +-1f.3 Intel Corporation Sunrise Point-LP HD Audio
>>>>>> +-1f.4 Intel Corporation Sunrise Point-LP SMBus
>>>>>> \-1f.6 Intel Corporation Ethernet Connection I219-LM
>>>>>>
>>>>>>
>>>>>>>>> mhi mhi0: Requested to power ON
>>>>>>>>> mhi mhi0: Power on setup success
>>>>>>>>> mhi mhi0: Wait for device to enter SBL or Mission mode
>>>>>>>>> ath12k_pci 0000:03:00.0: AER: can't recover (no error_detected callback)
>>>>>>>>> pcieport 0000:00:1d.0: AER: device recovery failed
>>>>>>>>> ath12k_pci 0000:03:00.0: qmi dma allocation failed (7012352 B type 1),
>>>>>>>>> will try later with small size
>>>>>>>>> ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff
>>>>>>>>> soc_id 0x40170200
>>>>>>>>> ath12k_pci 0000:03:00.0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:
>>>>>>>>> 21 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V
>>>>>>>>> 2.0_SILICONZ-3
>>>>>>>>> ath12k_pci 0000:03:00.0: ignore reset dev flags 0x200
>>>>>>>>> ath12k_pci 0000:03:00.0: failed to receive wmi unified ready event: -110
>>>>>>>>> ath12k_pci 0000:03:00.0: failed to start core: -110
>>>>>>>>> failed to send QMI message
>>>>>>>>> ath12k_pci 0000:03:00.0: qmi failed to send mode request, mode: 4, err = -5
>>>>>>>>> ath12k_pci 0000:03:00.0: qmi failed to send wlan mode off
>>>>>>>>
>>>>>>>> Tested on same machine with kernel 6.14.8, ath12k works:
>>>>>>>
>>>>>>> This seem like stable kernel, can you try latest mainline kernel?
>>>>>>>
>>>>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
>>>>>>>
>>>>>>> or latest ath tree?
>>>>>>>
>>>>>>> https://web.git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git/
>>>>>>
>>>>>> OK, will try mailine kernel, thanks.
>>>>>
>>>>> Please also try latest ath tree if issue still seen with mainline kernel.
>>>>
>>>> Both mainline and stable kernels have the same error.
>>>> Switched to ath.git, my ath12k works.
>>>>
>>>> Seems to me that both mainline and stable kernels have fallout.
>>>
>>> Great. So seems some fixes/update not landing in mainline/stable yet.
>>
>> It's not good that ath12k is broken on the stable kernel 6.15.
>> Do you know which fixes haven't landed yet?
>> I'd be happy to help test them, thanks.
>
> Pease pick below series and try
>
> https://lore.kernel.org/linux-wireless/20250409-ath12k-wcn7850-mlo-support-v2-0-3801132ca2c3@quicinc.com/
forget to mention that there would be conflicts when applying but they are trivial so
guess you can handle it.
Anyway please let me know if any help you need.
>
>
>>
>>>>>>>> ath12k_pci 0000:03:00.0: BAR 0 [mem 0xdf000000-0xdf1fffff 64bit]: assigned
>>>>>>>> ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
>>>>>>>> ath12k_pci 0000:03:00.0: MSI vectors: 16
>>>>>>>> ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0
>>>>>>>> pcieport 0000:00:1d.0: AER: Multiple Uncorrectable (Non-Fatal) error message rec
>>>>>>>> eived from 0000:00:1d.0
>>>>>>>> pcieport 0000:00:1d.0: PCIe Bus Error: severity=Uncorrectable (Non-Fatal), type=
>>>>>>>> Transaction Layer, (Completer ID)
>>>>>>>> pcieport 0000:00:1d.0: device [8086:9d18] error status/mask=00008000/00010000
>>>>>>>> pcieport 0000:00:1d.0: [15] CmpltAbrt (First)
>>>>>>>> pcieport 0000:00:1d.0: AER: TLP Header: 0x00000000 0x00000000
>>>>>>>> 0x00000000 0x00000000
>>>>>>>> mhi mhi0: Requested to power ON
>>>>>>>> mhi mhi0: Power on setup success
>>>>>>>> mhi mhi0: Wait for device to enter SBL or Mission mode
>>>>>>>> ath12k_pci 0000:03:00.0: AER: can't recover (no error_detected callback)
>>>>>>>> pcieport 0000:00:1d.0: AER: device recovery failed
>>>>>>>> ath12k_pci 0000:03:00.0: qmi dma allocation failed (7012352 B type 1),
>>>>>>>> will try later with small size
>>>>>>>> ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff
>>>>>>>> soc_id 0x40170200
>>>>>>>> ath12k_pci 0000:03:00.0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:
>>>>>>>> 21 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V
>>>>>>>> 2.0_SILICONZ-3
>
>
More information about the ath12k
mailing list