xps 13 9310 and MSI vector allocation

wi nk wink at technolu.st
Wed Nov 11 10:26:22 EST 2020


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



More information about the ath11k mailing list