[PATCH 0/7] PCI/ASPM: Cleanups

Ilpo Järvinen posted 7 patches 2 years, 4 months ago
drivers/pci/pcie/aspm.c       | 71 +++++++++++++++++++----------------
include/uapi/linux/pci_regs.h |  2 +
2 files changed, 41 insertions(+), 32 deletions(-)
[PATCH 0/7] PCI/ASPM: Cleanups
Posted by Ilpo Järvinen 2 years, 4 months ago
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(-)

-- 
2.30.2

Re: [PATCH 0/7] PCI/ASPM: Cleanups
Posted by Bjorn Helgaas 2 years, 4 months ago
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!