Messages in this thread | | | From | "Saheed O. Bolarinwa" <> | Subject | [RFC PATCH v1 0/6] Remove struct pcie_link_state.aspm_* | Date | Sat, 6 Nov 2021 18:53:47 +0100 |
| |
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
| |