[RFC PATCH v1 0/6] Remove struct pcie_link_state.aspm_*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



aspm_{enable, support} in struct pcie_link_state do not need to be
stored. This series removes them and creates functions to calculate
them.

MERGE NOTICE:
These series are based on
»       'commit e4e737bb5c17 ("Linux 5.15-rc2")'


Saheed O. Bolarinwa (6):
  PCI/ASPM: Extract out L1SS_CAP calculations
  PCI/ASPM: Extract the calculation of link->aspm_support
  PCI/ASPM: Extract the calculation of link->aspm_enabled
  PCI/ASPM: Don't cache struct pcie_link_state->aspm_support
  PCI/ASPM: Move pcie_aspm_sanity_check() upwards
  PCI/ASPM: Don't cache struct pcie_link_state->aspm_enabled

 drivers/pci/pcie/aspm.c | 291 +++++++++++++++++++++++-----------------
 1 file changed, 170 insertions(+), 121 deletions(-)

-- 
2.20.1




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux