mbox series

[v2,0/5] ASPM: aspm_disable/default state handling fixes

Message ID 20230502193140.1062470-1-ajayagarwal@google.com (mailing list archive)
Headers show
Series ASPM: aspm_disable/default state handling fixes | expand

Message

Ajay Agarwal May 2, 2023, 7:31 p.m. UTC
On going through the aspm driver, I found some potential bugs
and opportunities for code cleanup in the way the aspm_disable
and aspm_default states are being handled by the driver.

Changes from v1 to v2:
 - Split the patches into smaller patches
 - Add the patch to rename L1.2 specific functions

Ajay Agarwal (5):
  PCI/ASPM: Disable ASPM_STATE_L1 only when class driver disables L1
    ASPM
  PCI/ASPM: Set ASPM_STATE_L1 only when driver enables L1.0
  PCI/ASPM: Set ASPM_STATE_L1 when driver enables L1ss
  PCI/ASPM: Rename L1.2 specific functions
  PCI/ASPM: Remove unnecessary ASPM_STATE_L1SS check

 drivers/pci/pcie/aspm.c | 34 +++++++++++++++-------------------
 1 file changed, 15 insertions(+), 19 deletions(-)