mbox series

[0/7] PCI/ASPM: Cleanups

Message ID 20230915155752.84640-1-ilpo.jarvinen@linux.intel.com
Headers show
Series PCI/ASPM: Cleanups | expand

Message

Ilpo Järvinen Sept. 15, 2023, 3:57 p.m. UTC
What started as simple FIELD_GET/PREP() cleanup patch on ASPM became
this series of cleanups.

Ilpo Järvinen (7):
  PCI: Add PCI_L1SS_CTL2 fields
  PCI/ASPM: Use FIELD_GET/PREP() to access PCIe capability fields
  PCI/ASPM: Return U32_MAX instead of bit magic construct
  PCI/ASPM: Use time constants
  PCI/ASPM: Use FIELD_MAX() instead of literals
  PCI/ASPM: Remove unnecessary includes
  PCI/ASPM: Convert printk() to pr_*() and add include

 drivers/pci/pcie/aspm.c       | 71 +++++++++++++++++++----------------
 include/uapi/linux/pci_regs.h |  2 +
 2 files changed, 41 insertions(+), 32 deletions(-)

Comments

Bjorn Helgaas Oct. 10, 2023, 9:17 p.m. UTC | #1
On Fri, Sep 15, 2023 at 06:57:45PM +0300, Ilpo Järvinen wrote:
> What started as simple FIELD_GET/PREP() cleanup patch on ASPM became
> this series of cleanups.
> 
> Ilpo Järvinen (7):
>   PCI: Add PCI_L1SS_CTL2 fields
>   PCI/ASPM: Use FIELD_GET/PREP() to access PCIe capability fields
>   PCI/ASPM: Return U32_MAX instead of bit magic construct
>   PCI/ASPM: Use time constants
>   PCI/ASPM: Use FIELD_MAX() instead of literals
>   PCI/ASPM: Remove unnecessary includes
>   PCI/ASPM: Convert printk() to pr_*() and add include
> 
>  drivers/pci/pcie/aspm.c       | 71 +++++++++++++++++++----------------
>  include/uapi/linux/pci_regs.h |  2 +
>  2 files changed, 41 insertions(+), 32 deletions(-)

Applied to pci/aspm for v6.7, thanks!