All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Kenny Johansson <wirehell@gmail.com>
Cc: ath11k@lists.infradead.org
Subject: Re: ath11k: QCA6390 support on Linux
Date: Thu, 05 Nov 2020 12:34:37 +0200	[thread overview]
Message-ID: <87y2jgm6rm.fsf@codeaurora.org> (raw)
In-Reply-To: <CAKuwtP0bSrL93LR+6_4ysc3ve0LSScCTZCCHODQxj2eG1OMGtQ@mail.gmail.com> (Kenny Johansson's message of "Wed, 4 Nov 2020 22:50:41 +0100")

Kenny Johansson <wirehell@gmail.com> writes:

> I've tried it out and this time it did not work for me. (Previous
> instructions with ath11k-qca6390-bringup-202008181507 did bring it
> up.)
>
> My laptop is a Dell XPS 15" with Killer Wi-fi 6 AX500-DBS (2x2) (QCA6390)
>
> Output from dmesg:
>
> sudo dmesg | grep ath11k
> [    7.450993] ath11k_pci 0000:6c:00.0: WARNING: ath11k PCI support is
> experimental!
> [    7.451067] ath11k_pci 0000:6c:00.0: BAR 0: assigned [mem
> 0xb4200000-0xb42fffff 64bit]
> [    7.451082] ath11k_pci 0000:6c:00.0: enabling device (0000 -> 0002)
> [    7.955819] ath11k_pci 0000:6c:00.0: Respond mem req failed,
> result: 1, err: 0
> [    7.955821] ath11k_pci 0000:6c:00.0: qmi failed to respond fw mem req:-22
> [    8.004127] ath11k_pci 0000:6c:00.0: chip_id 0x0 chip_family 0xb
> board_id 0xff soc_id 0xffffffff
> [    8.004128] ath11k_pci 0000:6c:00.0: fw_version 0x101c06cc
> fw_build_timestamp 2020-06-24 19:50 fw_build_id
> [   10.081910] ath11k_pci 0000:6c:00.0 wlp108s0: renamed from wlan0
> [   13.346532] ath11k_pci 0000:6c:00.0: wmi command 20488 timeout
> [   13.346533] ath11k_pci 0000:6c:00.0: failed to send WMI_VDEV_SET_PARAM_CMDID
> [   13.346534] ath11k_pci 0000:6c:00.0: failed to set vdev 0 tx encap mode: -11
> [   16.418519] ath11k_pci 0000:6c:00.0: wmi command 20488 timeout
> [   16.418520] ath11k_pci 0000:6c:00.0: failed to send WMI_VDEV_SET_PARAM_CMDID
> [   16.418521] ath11k_pci 0000:6c:00.0: failed to set vdev 0 chainmask
> 0x3, nss 2 :-11
> [   19.490526] ath11k_pci 0000:6c:00.0: wmi command 20482 timeout
> [   19.490527] ath11k_pci 0000:6c:00.0: failed to submit WMI_VDEV_DELETE_CMDID
> [   22.818765] ath11k_pci 0000:6c:00.0: wmi command 16387 timeout
> [   22.818767] ath11k_pci 0000:6c:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [   22.818769] ath11k_pci 0000:6c:00.0: failed to enable PMF QOS: (-11
> [   25.890491] ath11k_pci 0000:6c:00.0: wmi command 16387 timeout
> [   25.890493] ath11k_pci 0000:6c:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [   25.890494] ath11k_pci 0000:6c:00.0: failed to enable PMF QOS: (-11
> [   38.178527] ath11k_pci 0000:6c:00.0: wmi command 16387 timeout
> [   38.178529] ath11k_pci 0000:6c:00.0: failed to send WMI_PDEV_SET_PARAM cmd
> [   38.178531] ath11k_pci 0000:6c:00.0: failed to enable PMF QOS: (-11
> [   41.250526] ath11k_pci 0000:6c:00.0: wmi command 16387 timeout
>
> Please let me know if I can provide anything more.

Hmm, this is a new problem, never seen it before. Can you provide output
from 'md5sum /lib/firmware/ath11k/QCA6390/hw2.0/*'? I want to check
there's no corruption in firmware files. They should be:

a101dc90f8e876f39383b60c9da64ec4  /lib/firmware/ath11k/QCA6390/hw2.0/amss.bin
4c0781f659d2b7d6bef10a2e3d457728  /lib/firmware/ath11k/QCA6390/hw2.0/board-2.bin
d4c912a3501a3694a3f460d13de06d28  /lib/firmware/ath11k/QCA6390/hw2.0/m3.bin

First you could try reverting commit 7fef431be9c9 ("mm/page_alloc: place
pages to tail in __free_pages_core()"), as it helped with Pavel's
problem. Though his symptoms were different so I'm not optimistic but
it's still a good idea to test it.

If that doesn't help, the next best thing would be try to pinpoint where
this got broken by testing these three commits:

fd5ad4d1e980 wcn36xx: Advertise beacon filtering support in bmps
3650b228f83a Linux 5.10-rc1
3cea11cd5e3b Linux 5.10-rc2

Commit fd5ad4d1e980 is based on v5.9-rc6 so try that first. 

In these three commits ath11k is practically identical, the only change
is a small bugfix in commit 8431350eee2e ("ath11k: Fix memory leak on
error path"). For me QCA6390 works on all these commits, I don't know
why it's failing for you.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  reply	other threads:[~2020-11-05 10:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 17:20 ath11k: QCA6390 support on Linux Kalle Valo
2020-09-14 17:20 ` Kalle Valo
2020-11-04 16:33 ` Kalle Valo
2020-11-04 16:33   ` Kalle Valo
2020-11-04 21:50   ` Kenny Johansson
2020-11-05 10:34     ` Kalle Valo [this message]
2020-11-05 21:47       ` Kenny Johansson
2020-11-06  6:24         ` Kalle Valo
2020-11-06  7:26           ` Kenny Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2jgm6rm.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=wirehell@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.