Skip to content

PCI: Use FIELD_GET() and FIELD_PREP()

Bjorn Helgaas linux-pci lkml 1 version Applied

Status from this message: I applied these to pci/field-get for v6.7, thanks for all the reviews!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 27 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10PCI: Use FIELD_GET()drivers/pci/pci.c drivers/pci/probe.c+26 -272 replies
2/10PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirkdrivers/pci/pci.c+4 -42 replies
3/10PCI/ASPM: Use FIELD_GET()drivers/pci/pcie/aspm.c include/uapi/linux/pci_regs.h+20 -131 reply
4/10PCI/ATS: Show PASID Capability register width in bitmasksinclude/uapi/linux/pci_regs.h+5 -52 replies
5/10PCI/ATS: Use FIELD_GET()drivers/pci/ats.c include/uapi/linux/pci_regs.h+3 -52 replies
6/10PCI/DPC: Use FIELD_GET()drivers/pci/pcie/dpc.c drivers/pci/quirks.c include/uapi/linux/pci_regs.h+7 -58 replies
7/10PCI/PME: Use FIELD_GET()drivers/pci/pcie/pme.c include/uapi/linux/pci_regs.h+4 -12 replies
8/10PCI/PTM: Use FIELD_GET()drivers/pci/pcie/ptm.c+3 -22 replies
9/10PCI/VC: Use FIELD_GET()drivers/pci/vc.c+5 -42 replies
10/10PCI/portdrv: Use FIELD_GET()drivers/pci/pcie/portdrv.c+4 -32 replies

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonathan CameronIlpo JärvinenKuppuswamy Sathyanarayanan
SeriesR-b
1/10R-b
2/10R-b R-b
3/10
4/10R-b R-b
5/10R-b R-b
6/10
7/10R-b R-b
8/10R-b
9/10R-b R-b
10/10R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] PCI: Use FIELD_GET() and FIELD_PREP()

From: Bjorn Helgaas <[email protected]>

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/[email protected]

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(-)
Signature · 1 line
2.34.1