diff options
author | Michael Bottini <michael.a.bottini@linux.intel.com> | 2023-01-19 19:15:19 -0800 |
---|---|---|
committer | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2023-02-02 16:01:42 +0100 |
commit | de82f60f9c86b72635ce49f7ab822e6a00a90dca (patch) | |
tree | bd7e7997f331f2f9732fa2bdfc76730f661b033a /drivers/pci/controller/vmd.c | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
PCI/ASPM: Add pci_enable_link_state()
Add pci_enable_link_state() to allow devices to change the default BIOS
configured states. Clears the BIOS default settings then sets the new
states and reconfigures the link under the semaphore. Also add
PCIE_LINK_STATE_ALL macro for convenience for callers that want to enable
all link states.
Link: https://lore.kernel.org/r/20230120031522.2304439-2-david.e.box@linux.intel.com
Signed-off-by: Michael Bottini <michael.a.bottini@linux.intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions