ath11k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* xps 13 9310 and MSI vector allocation
@ 2020-11-10 15:25 wi nk
  0 siblings, 0 replies; 3+ messages in thread
From: wi nk @ 2020-11-10 15:25 UTC (permalink / raw)
  To: ath11k

Hello all!

  I've been running around the internet trying to sort out my wifi
adapter and I've landed here.  Similar to other reports I have an XPS
13 that is failing to load the ath11k driver.  The other thread had a
few suggestions of kernel configuration options to try, and I've
attempted all of them but I'm still stuck with the driver
initialization failure:

[    9.991558] ath11k_pci 0000:55:00.0: WARNING: ath11k PCI support is
experimental!
[    9.991984] ath11k_pci 0000:55:00.0: BAR 0: assigned [mem
0x8e300000-0x8e3fffff 64bit]
[    9.992003] ath11k_pci 0000:55:00.0: enabling device (0000 -> 0002)
[    9.992041] ath11k_pci 0000:55:00.0: failed to get 32 MSI vectors,
only -28 available
[    9.992043] ath11k_pci 0000:55:00.0: failed to enable msi: -28
[    9.992056] ath11k_pci: probe of 0000:55:00.0 failed with error -28


I've confirmed I have the VT/VT-d settings enabled in the BIOS.  The
kernel has the irq/iommu settings from the other thread enabled.  Is
there anything else to be done to try to make this work?

Thanks!
-Lee

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

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

* Re: xps 13 9310 and MSI vector allocation
  2020-11-11 11:15 wi nk
@ 2020-11-11 15:26 ` wi nk
  0 siblings, 0 replies; 3+ messages in thread
From: wi nk @ 2020-11-11 15:26 UTC (permalink / raw)
  To: ath11k

Sorry all for the double posting, I was having issues with my email
client.  I wanted to add a little more information to my thread.  I
modified the driver slightly to report how many vectors should be
available, and changed the minimum request to 1 to see how many
actually got allocated:

ath11k_err(ab, "number of MSI vectors available: %d",
pci_msi_vec_count(ab_pci->pdev));

dmesg:

[    8.085995] ath11k_pci 0000:55:00.0: WARNING: ath11k PCI support is
experimental!
[    8.088305] ath11k_pci 0000:55:00.0: BAR 0: assigned [mem
0x8e300000-0x8e3fffff 64bit]
[    8.088322] ath11k_pci 0000:55:00.0: enabling device (0000 -> 0002)
[    8.088356] ath11k_pci 0000:55:00.0: number of MSI vectors available: 32
[    8.088420] ath11k_pci 0000:55:00.0: failed to get 32 MSI vectors,
only 1 available
[    8.088421] ath11k_pci 0000:55:00.0: failed to enable msi: -22
[    8.088434] ath11k_pci: probe of 0000:55:00.0 failed with error -22

I guess this is related to the DMAR/BIOS bug (which only presents when
VT/VT-d is enabled) and the tables being messed up.  Is there anything
else I can try?  I'll gladly guinea pig patches for enabling the
single MSI version.

Thanks!

On Wed, Nov 11, 2020 at 12:15 PM wi nk <wink@technolu.st> wrote:
>
> Hello all!
>
>   I've been running around the internet trying to sort out my wifi
> adapter and I've landed here.  Similar to other reports I have an XPS
> 13 that is failing to load the ath11k driver.  The other thread had a
> few suggestions of kernel configuration options to try, and I've
> attempted all of them but I'm still stuck with the driver
> initialization failure:
>
> [    9.991558] ath11k_pci 0000:55:00.0: WARNING: ath11k PCI support is
> experimental!
> [    9.991984] ath11k_pci 0000:55:00.0: BAR 0: assigned [mem
> 0x8e300000-0x8e3fffff 64bit]
> [    9.992003] ath11k_pci 0000:55:00.0: enabling device (0000 -> 0002)
> [    9.992041] ath11k_pci 0000:55:00.0: failed to get 32 MSI vectors,
> only -28 available
> [    9.992043] ath11k_pci 0000:55:00.0: failed to enable msi: -28
> [    9.992056] ath11k_pci: probe of 0000:55:00.0 failed with error -28
>
>
> I've confirmed I have the VT/VT-d settings enabled in the BIOS.  The
> kernel has the irq/iommu settings from the other thread enabled.  I've
> made sure the latest BIOS update is applied.
>
> Is there anything else to be done to try to make this work on these laptops?
>
> Thanks!
> -Lee

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

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

* xps 13 9310 and MSI vector allocation
@ 2020-11-11 11:15 wi nk
  2020-11-11 15:26 ` wi nk
  0 siblings, 1 reply; 3+ messages in thread
From: wi nk @ 2020-11-11 11:15 UTC (permalink / raw)
  To: ath11k

Hello all!

  I've been running around the internet trying to sort out my wifi
adapter and I've landed here.  Similar to other reports I have an XPS
13 that is failing to load the ath11k driver.  The other thread had a
few suggestions of kernel configuration options to try, and I've
attempted all of them but I'm still stuck with the driver
initialization failure:

[    9.991558] ath11k_pci 0000:55:00.0: WARNING: ath11k PCI support is
experimental!
[    9.991984] ath11k_pci 0000:55:00.0: BAR 0: assigned [mem
0x8e300000-0x8e3fffff 64bit]
[    9.992003] ath11k_pci 0000:55:00.0: enabling device (0000 -> 0002)
[    9.992041] ath11k_pci 0000:55:00.0: failed to get 32 MSI vectors,
only -28 available
[    9.992043] ath11k_pci 0000:55:00.0: failed to enable msi: -28
[    9.992056] ath11k_pci: probe of 0000:55:00.0 failed with error -28


I've confirmed I have the VT/VT-d settings enabled in the BIOS.  The
kernel has the irq/iommu settings from the other thread enabled.  I've
made sure the latest BIOS update is applied.

Is there anything else to be done to try to make this work on these laptops?

Thanks!
-Lee

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

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

end of thread, other threads:[~2020-11-11 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:25 xps 13 9310 and MSI vector allocation wi nk
2020-11-11 11:15 wi nk
2020-11-11 15:26 ` wi nk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).