mbox series

[RFC,v2,0/3] Remove struct pcie_link_state.clkpm_*

Message ID 20211106175546.27785-1-refactormyself@gmail.com (mailing list archive)
Headers show
Series Remove struct pcie_link_state.clkpm_* | expand

Message

Saheed O. Bolarinwa Nov. 6, 2021, 5:55 p.m. UTC
These series removes the Clock PM members of the
struct pcie_link_state. Another member is introduced to mark
devices that the kernel has disbled.

VERSION CHANGES:
 - v2:
	- clkpm_default and clkpm_disable are now left out.
	- improve pcie_is_clkpm_capable() based on review.
	- replace pcie_get_clkpm_state() with pcie_clkpm_enabled().

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

Saheed O. Bolarinwa (3):
  PCI/ASPM: Merge pcie_set_clkpm_nocheck() into pcie_set_clkpm()
  PCI/ASPM: Remove struct pcie_link_state.clkpm_capable
  PCI/ASPM: Remove struct pcie_link_state.clkpm_enabled

 drivers/pci/pcie/aspm.c | 82 +++++++++++++++++++++--------------------
 1 file changed, 42 insertions(+), 40 deletions(-)