[PATCH 0/2] PCI/ASPM: Define consolidation

From: Ilpo Järvinen
Date: Fri Mar 22 2024 - 08:40:17 EST


This series consolidates ASPM related defines into the ones in
linux/pci.h and eliminates the almost duplicate ones from aspm.c. This
allows using the input without mapping between the defines so the state
mapping code to focus on the special cases.

Ilpo Järvinen (2):
PCI/ASPM: Consolidate link state defines
PCI/ASPM: Cleanup ASPM disable/enable mask calculation

drivers/pci/pcie/aspm.c | 180 ++++++++++++++++++++--------------------
include/linux/pci.h | 22 ++---
2 files changed, 100 insertions(+), 102 deletions(-)

--
2.39.2