]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI/ASPM: Avoid L0s and L1 on Hi1105 [19e5:1105] Wi-Fi
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 13 Nov 2025 00:53:18 +0000 (18:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2025 12:17:23 +0000 (06:17 -0600)
This Wi-Fi advertises the L0s and L1 capabilities but actually it doesn't
support them. This is confirmed by HiSilicon team in actual productization.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/1762916319-139532-1-git-send-email-shawn.lin@rock-chips.com
drivers/pci/quirks.c

index 90f6abdb77f4d485ed86b46e8baccec17d4c3148..b9c252aa6fe08a864cebe245f5dd7bf41fcc5116 100644 (file)
@@ -2525,6 +2525,7 @@ static void quirk_disable_aspm_l0s_l1(struct pci_dev *dev)
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1080, quirk_disable_aspm_l0s_l1);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_FREESCALE, 0x0451, quirk_disable_aspm_l0s_l1);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_PASEMI, 0xa002, quirk_disable_aspm_l0s_l1);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_HUAWEI, 0x1105, quirk_disable_aspm_l0s_l1);
 
 /*
  * Some Pericom PCIe-to-PCI bridges in reverse mode need the PCIe Retrain