All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Have the QCA6390 patches for XPS 9310 landed yet?
@ 2021-03-18 16:30 Mitchell Nordine
  2021-07-30 20:00 ` Kalle Valo
  0 siblings, 1 reply; 10+ messages in thread
From: Mitchell Nordine @ 2021-03-18 16:30 UTC (permalink / raw)
  To: Kalle Valo, wi nk; +Cc: ath11k@lists.infradead.org

Hi kvalo and wink!

It's been a while since I've had a chance to check in on this - have I missed any QCA6390 progress?

Currently the nixos-hardware repo is fixed to 5.10.18 along with most of the patches on ath11k-qca6390-bringup, apart from two commits that I'm sure were merged a while ago.

https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14

Just wondering if the rest of the patches or some alternative fixes have landed in a more recent version of the kernel yet, and whether it's worth diving in and updating our nix expr yet?

Cheers,

Mitch

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-03-18 16:30 Have the QCA6390 patches for XPS 9310 landed yet? Mitchell Nordine
@ 2021-07-30 20:00 ` Kalle Valo
  2021-07-30 20:08   ` wi nk
  0 siblings, 1 reply; 10+ messages in thread
From: Kalle Valo @ 2021-07-30 20:00 UTC (permalink / raw)
  To: Mitchell Nordine; +Cc: wi nk, ath11k@lists.infradead.org

Mitchell Nordine <mail@mitchellnordine.com> writes:

> Hi kvalo and wink!
>
> It's been a while since I've had a chance to check in on this - have I
> missed any QCA6390 progress?
>
> Currently the nixos-hardware repo is fixed to 5.10.18 along with most
> of the patches on ath11k-qca6390-bringup, apart from two commits that
> I'm sure were merged a while ago.
>
> https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14
>
> Just wondering if the rest of the patches or some alternative fixes
> have landed in a more recent version of the kernel yet, and whether
> it's worth diving in and updating our nix expr yet?

Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
vectors working) and a recent Linux release. I don't remember the exact
kernel release, and can't check it now, but something like v5.12 or
v5.13 should work without extra patches.

-- 
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 20:00 ` Kalle Valo
@ 2021-07-30 20:08   ` wi nk
  2021-07-30 21:52     ` Justin Mazzola Paluska
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: wi nk @ 2021-07-30 20:08 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Mitchell Nordine, ath11k@lists.infradead.org

On Fri, Jul 30, 2021 at 10:01 PM Kalle Valo <kvalo@codeaurora.org> wrote:
>
> Mitchell Nordine <mail@mitchellnordine.com> writes:
>
> > Hi kvalo and wink!
> >
> > It's been a while since I've had a chance to check in on this - have I
> > missed any QCA6390 progress?
> >
> > Currently the nixos-hardware repo is fixed to 5.10.18 along with most
> > of the patches on ath11k-qca6390-bringup, apart from two commits that
> > I'm sure were merged a while ago.
> >
> > https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14
> >
> > Just wondering if the rest of the patches or some alternative fixes
> > have landed in a more recent version of the kernel yet, and whether
> > it's worth diving in and updating our nix expr yet?
>
> Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
> vectors working) and a recent Linux release. I don't remember the exact
> kernel release, and can't check it now, but something like v5.12 or
> v5.13 should work without extra patches.
>
> --
> 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


Hey Mitchell!

  Just to add a little, Dell released a BIOS update that now allows
the driver to obtain all 32 MSI vectors (I posted around the time that
happened if you need the earliest version, otherwise just grab the
latest version).  I've been running 5.12 and 5.13 without WIFI issues.
Occasionally I still have bluetooth problems and the i915 drivers are
causing video artifacts randomly, but the wireless connection seems
pretty solid at this point.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 20:08   ` wi nk
@ 2021-07-30 21:52     ` Justin Mazzola Paluska
  2021-07-30 21:57       ` wi nk
  2021-07-30 22:11       ` Jens Gecius
  2021-08-02 14:06     ` Kalle Valo
  2021-08-04 13:06     ` Mitchell Nordine
  2 siblings, 2 replies; 10+ messages in thread
From: Justin Mazzola Paluska @ 2021-07-30 21:52 UTC (permalink / raw)
  To: wi nk, Kalle Valo; +Cc: Mitchell Nordine, ath11k@lists.infradead.org

On 7/30/21 4:08 PM, wi nk wrote:
> On Fri, Jul 30, 2021 at 10:01 PM Kalle Valo <kvalo@codeaurora.org> wrote:
>> Mitchell Nordine <mail@mitchellnordine.com> writes:
>>
>>> Hi kvalo and wink!
>>>
>>> It's been a while since I've had a chance to check in on this - have I
>>> missed any QCA6390 progress?
>>>
>>> Currently the nixos-hardware repo is fixed to 5.10.18 along with most
>>> of the patches on ath11k-qca6390-bringup, apart from two commits that
>>> I'm sure were merged a while ago.
>>>
>>> https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14
>>>
>>> Just wondering if the rest of the patches or some alternative fixes
>>> have landed in a more recent version of the kernel yet, and whether
>>> it's worth diving in and updating our nix expr yet?
>> Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
>> vectors working) and a recent Linux release. I don't remember the exact
>> kernel release, and can't check it now, but something like v5.12 or
>> v5.13 should work without extra patches.
>>
>> --
>> 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
>
> Hey Mitchell!
>
>    Just to add a little, Dell released a BIOS update that now allows
> the driver to obtain all 32 MSI vectors (I posted around the time that
> happened if you need the earliest version, otherwise just grab the
> latest version).  I've been running 5.12 and 5.13 without WIFI issues.
> Occasionally I still have bluetooth problems and the i915 drivers are
> causing video artifacts randomly, but the wireless connection seems
> pretty solid at this point.

Which BIOS do you have?  I have 1.2.5.

I'm currently running 5.13 with a patch that reverted 
3579994476b65cb5e272ff0f720a1fd31322e53f.  I needed to do that or the 
5.13 kernel wouldn't connect to my access point because the firmware 
crashed.  (I got that pointer from 
https://bugzilla.kernel.org/show_bug.cgi?id=212059.)  With 357999 
reverted, everything works well.

I still have the memmap=20M$12M kernel argument set from the old qca 
bringup branch days.  Do you also use that?
      --Justin

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 21:52     ` Justin Mazzola Paluska
@ 2021-07-30 21:57       ` wi nk
  2021-07-30 22:11       ` Jens Gecius
  1 sibling, 0 replies; 10+ messages in thread
From: wi nk @ 2021-07-30 21:57 UTC (permalink / raw)
  To: jmp; +Cc: Kalle Valo, Mitchell Nordine, ath11k@lists.infradead.org

On Fri, Jul 30, 2021 at 11:52 PM Justin Mazzola Paluska
<jmp@justinmp.com> wrote:
>
> On 7/30/21 4:08 PM, wi nk wrote:
> > On Fri, Jul 30, 2021 at 10:01 PM Kalle Valo <kvalo@codeaurora.org> wrote:
> >> Mitchell Nordine <mail@mitchellnordine.com> writes:
> >>
> >>> Hi kvalo and wink!
> >>>
> >>> It's been a while since I've had a chance to check in on this - have I
> >>> missed any QCA6390 progress?
> >>>
> >>> Currently the nixos-hardware repo is fixed to 5.10.18 along with most
> >>> of the patches on ath11k-qca6390-bringup, apart from two commits that
> >>> I'm sure were merged a while ago.
> >>>
> >>> https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14
> >>>
> >>> Just wondering if the rest of the patches or some alternative fixes
> >>> have landed in a more recent version of the kernel yet, and whether
> >>> it's worth diving in and updating our nix expr yet?
> >> Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
> >> vectors working) and a recent Linux release. I don't remember the exact
> >> kernel release, and can't check it now, but something like v5.12 or
> >> v5.13 should work without extra patches.
> >>
> >> --
> >> 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
> >
> > Hey Mitchell!
> >
> >    Just to add a little, Dell released a BIOS update that now allows
> > the driver to obtain all 32 MSI vectors (I posted around the time that
> > happened if you need the earliest version, otherwise just grab the
> > latest version).  I've been running 5.12 and 5.13 without WIFI issues.
> > Occasionally I still have bluetooth problems and the i915 drivers are
> > causing video artifacts randomly, but the wireless connection seems
> > pretty solid at this point.
>
> Which BIOS do you have?  I have 1.2.5.
>
> I'm currently running 5.13 with a patch that reverted
> 3579994476b65cb5e272ff0f720a1fd31322e53f.  I needed to do that or the
> 5.13 kernel wouldn't connect to my access point because the firmware
> crashed.  (I got that pointer from
> https://bugzilla.kernel.org/show_bug.cgi?id=212059.)  With 357999
> reverted, everything works well.
>
> I still have the memmap=20M$12M kernel argument set from the old qca
> bringup branch days.  Do you also use that?
>       --Justin

Interesting, I guess my AP / configuration doesn't aggravate that
issue...I also do not have to remap/reserve any memory
addresses...Everything from my side is basically off the shelf at this
point, even though the original smell of 32 vectors lingers...I will
be travelling for the first time in a while soon, I may very well bump
into this AP issue, I'll let you know...

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 21:52     ` Justin Mazzola Paluska
  2021-07-30 21:57       ` wi nk
@ 2021-07-30 22:11       ` Jens Gecius
  2021-08-02  7:20         ` Dominik Förderer
  1 sibling, 1 reply; 10+ messages in thread
From: Jens Gecius @ 2021-07-30 22:11 UTC (permalink / raw)
  To: ath11k



Am 30.07.21 um 23:52 schrieb Justin Mazzola Paluska:
> On 7/30/21 4:08 PM, wi nk wrote:
>> On Fri, Jul 30, 2021 at 10:01 PM Kalle Valo <kvalo@codeaurora.org> 
>> wrote:
>>> Mitchell Nordine <mail@mitchellnordine.com> writes:
>>>
>>>> Hi kvalo and wink!
>>>>
>>>> It's been a while since I've had a chance to check in on this - have I
>>>> missed any QCA6390 progress?
>>>>
>>>> Currently the nixos-hardware repo is fixed to 5.10.18 along with most
>>>> of the patches on ath11k-qca6390-bringup, apart from two commits that
>>>> I'm sure were merged a while ago.
>>>>
>>>> https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14 
>>>>
>>>>
>>>> Just wondering if the rest of the patches or some alternative fixes
>>>> have landed in a more recent version of the kernel yet, and whether
>>>> it's worth diving in and updating our nix expr yet?
>>> Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
>>> vectors working) and a recent Linux release. I don't remember the exact
>>> kernel release, and can't check it now, but something like v5.12 or
>>> v5.13 should work without extra patches.
>>>
>>> -- 
>>> 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
>>
>> Hey Mitchell!
>>
>>    Just to add a little, Dell released a BIOS update that now allows
>> the driver to obtain all 32 MSI vectors (I posted around the time that
>> happened if you need the earliest version, otherwise just grab the
>> latest version).  I've been running 5.12 and 5.13 without WIFI issues.
>> Occasionally I still have bluetooth problems and the i915 drivers are
>> causing video artifacts randomly, but the wireless connection seems
>> pretty solid at this point.
>
> Which BIOS do you have?  I have 1.2.5.

Just to add my experience - WiFi and BT are working. I'm on BIOS 3.0.4 
(upgraded today via fwupdmgr / lvfs) with 5.13.5 / fedora 34 / xps 9310 
32G dev edition. BT works since BIOS 2.something and kernel 5.12

No memmap kernel parameter needed.

>
> I'm currently running 5.13 with a patch that reverted 
> 3579994476b65cb5e272ff0f720a1fd31322e53f.  I needed to do that or the 
> 5.13 kernel wouldn't connect to my access point because the firmware 
> crashed.  (I got that pointer from 
> https://bugzilla.kernel.org/show_bug.cgi?id=212059.)  With 357999 
> reverted, everything works well.
>
> I still have the memmap=20M$12M kernel argument set from the old qca 
> bringup branch days.  Do you also use that?
>      --Justin
>


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 22:11       ` Jens Gecius
@ 2021-08-02  7:20         ` Dominik Förderer
  0 siblings, 0 replies; 10+ messages in thread
From: Dominik Förderer @ 2021-08-02  7:20 UTC (permalink / raw)
  To: ath11k


[-- Attachment #1.1: Type: text/plain, Size: 3778 bytes --]

Am 30.07.21 um 23:52 schrieb Justin Mazzola Paluska:
>> On 7/30/21 4:08 PM, wi nk wrote:
>>>> On Fri, Jul 30, 2021 at 10:01 PM Kalle Valo <kvalo at codeaurora.org>> 
>>>> wrote:
>>>>>> Mitchell Nordine <mail at mitchellnordine.com>> writes:
>>>>>>
>>>>>>>> Hi kvalo and wink!
>>>>>>>>
>>>>>>>> It's been a while since I've had a chance to check in on this - have I
>>>>>>>> missed any QCA6390 progress?
>>>>>>>>
>>>>>>>> Currently the nixos-hardware repo is fixed to 5.10.18 along with most
>>>>>>>> of the patches on ath11k-qca6390-bringup, apart from two commits that
>>>>>>>> I'm sure were merged a while ago.
>>>>>>>>
>>>>>>>>
https://github.com/NixOS/nixos-hardware/blob/31f61b90ddb9257b94888ee17ccf96236e180c76/dell/xps/13-9310/default.nix#L14
>>>>>>>>
>>>>>>>>
>>>>>>>> Just wondering if the rest of the patches or some alternative fixes
>>>>>>>> have landed in a more recent version of the kernel yet, and whether
>>>>>>>> it's worth diving in and updating our nix expr yet?
>>>>>> Basically all you need is a BIOS update for XPS 9310 (to get 32 MSI
>>>>>> vectors working) and a recent Linux release. I don't remember the exact
>>>>>> kernel release, and can't check it now, but something like v5.12 or
>>>>>> v5.13 should work without extra patches.
>>>>>>
>>>>>> -- 
>>>>>> https://patchwork.kernel.org/project/linux-wireless/list/
>>>>>>
>>>>>>
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches 
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> ath11k mailing list
>>>>>> ath11k at lists.infradead.org
>>>>>> http://lists.infradead.org/mailman/listinfo/ath11k
>>>>
>>>> Hey Mitchell!
>>>>
>>>>    Just to add a little, Dell released a BIOS update that now allows
>>>> the driver to obtain all 32 MSI vectors (I posted around the time that
>>>> happened if you need the earliest version, otherwise just grab the
>>>> latest version).  I've been running 5.12 and 5.13 without WIFI issues.
>>>> Occasionally I still have bluetooth problems and the i915 drivers are
>>>> causing video artifacts randomly, but the wireless connection seems
>>>> pretty solid at this point.
>>
>> Which BIOS do you have?  I have 1.2.5.

>Just to add my experience - WiFi and BT are working. I'm on BIOS 3.0.4 
>(upgraded today via fwupdmgr / lvfs) with 5.13.5 / fedora 34 / xps 9310 
>32G dev edition. BT works since BIOS 2.something and kernel 5.12

>No memmap kernel parameter needed.

>>
>> I'm currently running 5.13 with a patch that reverted 
>> 3579994476b65cb5e272ff0f720a1fd31322e53f.  I needed to do that or the 
>> 5.13 kernel wouldn't connect to my access point because the firmware 
>> crashed.  (I got that pointer from 
>> https://bugzilla.kernel.org/show_bug.cgi?id=212059.)  With 357999 
>> reverted, everything works well.
>>
>> I still have the memmap=20M$12M kernel argument set from the old qca 
>> bringup branch days.  Do you also use that?
>>      --Justin
>>

I have the exact same issue as Justin described. I am on Bios 3.0.4 and Kernel
5.13.7 on Manjaro. I also have to revert
3579994476b65cb5e272ff0f720a1fd31322e53f to prevent the firmware from crashing
while connecting to my AP.
I figured out that the Problem is, that my router (Fritzbox), which is very
common in germany provide a (not changable) 160MHZ 5GhZ network. With 80MhZ or
lower there are no problems and ath11k is very stable.
Wen Gong released a patch e6ed929b4140d293bf8523f0376ed9bbdce29c47 for 5.14 to
address this Problem, but this patch caused a very unstable and randomly
crashing wifi on every channel width (20, 40, 80, 160 MhZ). On 5.14 i have now
to revert both mentioned patches to have a stable wifi. I posted this problem to
this list on june, but no one might mentioned it.

Dominik 

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 102 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 20:08   ` wi nk
  2021-07-30 21:52     ` Justin Mazzola Paluska
@ 2021-08-02 14:06     ` Kalle Valo
  2021-08-04 13:06     ` Mitchell Nordine
  2 siblings, 0 replies; 10+ messages in thread
From: Kalle Valo @ 2021-08-02 14:06 UTC (permalink / raw)
  To: wi nk; +Cc: Mitchell Nordine, ath11k@lists.infradead.org

wi nk <wink@technolu.st> writes:

> I've been running 5.12 and 5.13 without WIFI issues. Occasionally I
> still have bluetooth problems and the i915 drivers are causing video
> artifacts randomly, but the wireless connection seems pretty solid at
> this point.

I also see the random video artifacts but reverting this commit (ie.
adding back the tigerlake workaround) fixes the issue:

f9c914a5b946 Revert "drm/i915/display/fbc: Disable fbc by default on TGL"

I have not reported this bug yet to i915 developers, it would be great
if someone else could do it.

-- 
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-07-30 20:08   ` wi nk
  2021-07-30 21:52     ` Justin Mazzola Paluska
  2021-08-02 14:06     ` Kalle Valo
@ 2021-08-04 13:06     ` Mitchell Nordine
  2021-08-26 14:40       ` Kalle Valo
  2 siblings, 1 reply; 10+ messages in thread
From: Mitchell Nordine @ 2021-08-04 13:06 UTC (permalink / raw)
  To: wi nk; +Cc: Kalle Valo, ath11k@lists.infradead.org

> I've been running 5.12 and 5.13 without WIFI issues. Occasionally I
> still have bluetooth problems and the i915 drivers are causing video
> artifacts randomly, but the wireless connection seems pretty solid at
> this point.

Thanks for the udpate!

Recently a collaborator updated the `nixos/nixos-hardware` repo's kernel version to `5.12.9` for the xps 9310 as wifi and bluetooth is working out-of-the-box for them now. I was excited to update and try this myself, however despite having the same kernel version (5.12.9), the same qca6390 fw version (fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50) and almost the same system firmware version (them 3.0.3, me 3.0.4) I'm running into an issue where I get some `qmi` errors and then the wifi firmware ends up crashing. Here's the relevant dmesg output on my system:

$ dmesg | grep -e ath11
[    3.937129] ath11k_pci 0000:72:00.0: BAR 0: assigned [mem 0xa2500000-0xa25fffff 64bit]
[    3.937147] ath11k_pci 0000:72:00.0: enabling device (0000 -> 0002)
[    4.203596] ath11k_pci 0000:72:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff
[    4.207005] ath11k_pci 0000:72:00.0: fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id
[    9.291281] ath11k_pci 0000:72:00.0: qmi failed set mode request, mode: 0, err = -110
[    9.291293] ath11k_pci 0000:72:00.0: qmi failed to send wlan fw mode:-110
[    9.291297] ath11k_pci 0000:72:00.0: failed to attach wmi: -110
[    9.291305] ath11k_pci 0000:72:00.0: failed to start core: -110
[   20.250729] ath11k_pci 0000:72:00.0: firmware crashed: MHI_CB_SYS_ERROR

My collaborator's system (whose wifi is working) has the same output, but without the last 5 lines of errors:

~ » dmesg | grep -e ath11
[   19.872599] ath11k_pci 0000:72:00.0: BAR 0: assigned [mem 0xa2500000-0xa25fffff 64bit]
[   19.872617] ath11k_pci 0000:72:00.0: enabling device (0000 -> 0002)
[   20.380168] ath11k_pci 0000:72:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff
[   20.380171] ath11k_pci 0000:72:00.0: fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id

Here's their PR that removes the patches and updates to the 5.12 kernel. https://github.com/NixOS/nixos-hardware/pull/298

I checked out the bug report mentioned by justin (https://bugzilla.kernel.org/show_bug.cgi?id=212059) however it appears to be unrelated... at least I don't see any of the same `qmi` errors, and their firmware at least runs long enough that they can connect to a 2.4GHz network.

Any ideas what might be going on here?


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Have the QCA6390 patches for XPS 9310 landed yet?
  2021-08-04 13:06     ` Mitchell Nordine
@ 2021-08-26 14:40       ` Kalle Valo
  0 siblings, 0 replies; 10+ messages in thread
From: Kalle Valo @ 2021-08-26 14:40 UTC (permalink / raw)
  To: Mitchell Nordine; +Cc: wi nk, ath11k@lists.infradead.org

Mitchell Nordine <mail@mitchellnordine.com> writes:

>> I've been running 5.12 and 5.13 without WIFI issues. Occasionally I
>> still have bluetooth problems and the i915 drivers are causing video
>> artifacts randomly, but the wireless connection seems pretty solid at
>> this point.
>
> Thanks for the udpate!
>
> Recently a collaborator updated the `nixos/nixos-hardware` repo's
> kernel version to `5.12.9` for the xps 9310 as wifi and bluetooth is
> working out-of-the-box for them now. I was excited to update and try
> this myself, however despite having the same kernel version (5.12.9),
> the same qca6390 fw version (fw_version 0x101c06cc fw_build_timestamp
> 2020-06-24 19:50) and almost the same system firmware version (them
> 3.0.3, me 3.0.4) I'm running into an issue where I get some `qmi`
> errors and then the wifi firmware ends up crashing. Here's the
> relevant dmesg output on my system:
>
> $ dmesg | grep -e ath11
> [ 3.937129] ath11k_pci 0000:72:00.0: BAR 0: assigned [mem
> 0xa2500000-0xa25fffff 64bit]
> [    3.937147] ath11k_pci 0000:72:00.0: enabling device (0000 -> 0002)
> [ 4.203596] ath11k_pci 0000:72:00.0: chip_id 0x0 chip_family 0xb
> board_id 0xff soc_id 0xffffffff
> [ 4.207005] ath11k_pci 0000:72:00.0: fw_version 0x101c06cc
> fw_build_timestamp 2020-06-24 19:50 fw_build_id
> [ 9.291281] ath11k_pci 0000:72:00.0: qmi failed set mode request,
> mode: 0, err = -110
> [    9.291293] ath11k_pci 0000:72:00.0: qmi failed to send wlan fw mode:-110
> [    9.291297] ath11k_pci 0000:72:00.0: failed to attach wmi: -110
> [    9.291305] ath11k_pci 0000:72:00.0: failed to start core: -110
> [   20.250729] ath11k_pci 0000:72:00.0: firmware crashed: MHI_CB_SYS_ERROR
>
> My collaborator's system (whose wifi is working) has the same output,
> but without the last 5 lines of errors:
>
> ~ » dmesg | grep -e ath11
> [ 19.872599] ath11k_pci 0000:72:00.0: BAR 0: assigned [mem
> 0xa2500000-0xa25fffff 64bit]
> [   19.872617] ath11k_pci 0000:72:00.0: enabling device (0000 -> 0002)
> [ 20.380168] ath11k_pci 0000:72:00.0: chip_id 0x0 chip_family 0xb
> board_id 0xff soc_id 0xffffffff
> [ 20.380171] ath11k_pci 0000:72:00.0: fw_version 0x101c06cc
> fw_build_timestamp 2020-06-24 19:50 fw_build_id
>
> Here's their PR that removes the patches and updates to the 5.12
> kernel. https://github.com/NixOS/nixos-hardware/pull/298
>
> I checked out the bug report mentioned by justin
> (https://bugzilla.kernel.org/show_bug.cgi?id=212059) however it
> appears to be unrelated... at least I don't see any of the same `qmi`
> errors, and their firmware at least runs long enough that they can
> connect to a 2.4GHz network.
>
> Any ideas what might be going on here?

Did you set the memmap parameter explained in [1]. I strongly recommend
everyone to set the memmap until the firmware is fixed.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=210923

-- 
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-08-26 14:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 16:30 Have the QCA6390 patches for XPS 9310 landed yet? Mitchell Nordine
2021-07-30 20:00 ` Kalle Valo
2021-07-30 20:08   ` wi nk
2021-07-30 21:52     ` Justin Mazzola Paluska
2021-07-30 21:57       ` wi nk
2021-07-30 22:11       ` Jens Gecius
2021-08-02  7:20         ` Dominik Förderer
2021-08-02 14:06     ` Kalle Valo
2021-08-04 13:06     ` Mitchell Nordine
2021-08-26 14:40       ` Kalle Valo

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.