]> Gentwo Git Trees - linux/.git/commit
PCI/ASPM: Add pcie_aspm_remove_cap() to override advertised link states
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 10 Nov 2025 22:22:26 +0000 (16:22 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2025 00:51:27 +0000 (18:51 -0600)
commit575b98e39d817537afdc6c39d35c1de484a64d42
treedcf8e441b4d2939e9e9a1e7811e4a1689f881134
parent4495bffd86ba0fdabfaef0c41d12f68ec2a1e05b
PCI/ASPM: Add pcie_aspm_remove_cap() to override advertised link states

Add pcie_aspm_remove_cap().  A quirk can use this to prevent use of ASPM
L0s or L1 link states, even if the device advertised support for them.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Link: https://patch.msgid.link/20251110222929.2140564-3-helgaas@kernel.org
drivers/pci/pci.h
drivers/pci/pcie/aspm.c