Skip to content

PCI: Use FIELD_GET/PREP() & other reg field cleanups

Ilpo Järvinen linux-pci linux-tegra linuxppc-dev lkml 1 version Applied

Status from this message: Applied to pci/field-get for v6.7, thanks, Ilpo!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7PCI: cadence: Use FIELD_GET()drivers/pci/controller/cadence/pcie-cadence-ep.c+5 -40 replies
2/7PCI: dwc: Use FIELD_GET/PREP()drivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-tegra194.c include/uapi/linux/pci_regs.h+8 -62 replies
3/7PCI: hotplug: Use FIELD_GET/PREP()drivers/pci/hotplug/pciehp_core.c drivers/pci/hotplug/pciehp_hpc.c drivers/pci/hotplug/pnv_php.c+7 -40 replies
4/7PCI/DPC: Use FIELD_GET()drivers/pci/pcie/dpc.c drivers/pci/quirks.c include/uapi/linux/pci_regs.h+5 -30 replies
5/7PCI/DPC: Use defined fields with DPC_CTL registerdrivers/pci/pcie/dpc.c+7 -30 replies
6/7PCI/DPC: Use defines with DPC reason fieldsdrivers/pci/pcie/dpc.c include/uapi/linux/pci_regs.h+23 -100 replies
7/7PCI/MSI: Use FIELD_GET/PREP()drivers/pci/msi/msi.c+6 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] PCI: Use FIELD_GET/PREP() & other reg field cleanups

Hi,

Here's what I think should cover most of the remaining FIELD_GET/PREP() conversions under drivers/pci/.

The patch from Bjorn is from
https://lore.kernel.org/linux-pci/[email protected]/
But has been adjusted to better blend in with the other DPC changes. I've preserved Bjorn as the main From/SoB, and added myself before his name instead (since I modified it but my main contribution was to remove stuff he had made to it).

Bjorn Helgaas (1):
PCI/DPC: Use FIELD_GET()

Ilpo Järvinen (6):
PCI: cadence: Use FIELD_GET()
PCI: dwc: Use FIELD_GET/PREP()
PCI: hotplug: Use FIELD_GET/PREP() PCI/DPC: Use defined fields with DPC_CTL register PCI/DPC: Use defines with DPC reason fields PCI/MSI: Use FIELD_GET/PREP()

 .../pci/controller/cadence/pcie-cadence-ep.c  |  9 ++--
 .../pci/controller/dwc/pcie-designware-ep.c   |  7 ++--
 drivers/pci/controller/dwc/pcie-tegra194.c    |  5 +--
 drivers/pci/hotplug/pciehp_core.c             |  3 +-
 drivers/pci/hotplug/pciehp_hpc.c              |  5 ++-
 drivers/pci/hotplug/pnv_php.c                 |  3 +-
 drivers/pci/msi/msi.c                         | 10 +++--
 drivers/pci/pcie/dpc.c                        | 42 ++++++++++++-------
 drivers/pci/quirks.c                          |  2 +-
 include/uapi/linux/pci_regs.h                 |  9 ++++
 10 files changed, 61 insertions(+), 34 deletions(-)
Signature · 1 line
2.30.2