[PATCH 00/10] PCI: Use FIELD_GET() and FIELD_PREP()
From: Bjorn Helgaas
Date: Tue Oct 10 2023 - 16:44:48 EST
From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Use FIELD_GET() and FIELD_PREP() to avoid the need for shifting.
These apply on top of the PCI patches from Ilpo's series:
https://lore.kernel.org/r/20230919125648.1920-1-ilpo.jarvinen@xxxxxxxxxxxxxxx
Bjorn Helgaas (10):
PCI: Use FIELD_GET()
PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
PCI/ASPM: Use FIELD_GET()
PCI/ATS: Show PASID Capability register width in bitmasks
PCI/ATS: Use FIELD_GET()
PCI/DPC: Use FIELD_GET()
PCI/PME: Use FIELD_GET()
PCI/PTM: Use FIELD_GET()
PCI/VC: Use FIELD_GET()
PCI/portdrv: Use FIELD_GET()
drivers/pci/ats.c | 7 ++---
drivers/pci/pci.c | 53 +++++++++++++++++------------------
drivers/pci/pcie/aspm.c | 31 +++++++++++---------
drivers/pci/pcie/dpc.c | 9 +++---
drivers/pci/pcie/pme.c | 4 ++-
drivers/pci/pcie/portdrv.c | 7 +++--
drivers/pci/pcie/ptm.c | 5 ++--
drivers/pci/probe.c | 8 +++---
drivers/pci/quirks.c | 2 +-
drivers/pci/vc.c | 9 +++---
include/uapi/linux/pci_regs.h | 15 ++++++----
11 files changed, 81 insertions(+), 69 deletions(-)
--
2.34.1