All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] PCI: Use FIELD_GET/PREP() & other reg field cleanups
@ 2023-10-18 11:32 Ilpo Järvinen
  2023-10-18 11:32 ` [PATCH 1/7] PCI: cadence: Use FIELD_GET() Ilpo Järvinen
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Ilpo Järvinen @ 2023-10-18 11:32 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci, Lorenzo Pieralisi, Rob Herring,
	Krzysztof Wilczyński, Jonathan Cameron
  Cc: linux-kernel, Ilpo Järvinen

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/20231010204436.1000644-7-helgaas@kernel.org/
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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-18 16:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 11:32 [PATCH 0/7] PCI: Use FIELD_GET/PREP() & other reg field cleanups Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 1/7] PCI: cadence: Use FIELD_GET() Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 2/7] PCI: dwc: Use FIELD_GET/PREP() Ilpo Järvinen
2023-10-18 11:58   ` Serge Semin
2023-10-18 14:16     ` Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 3/7] PCI: hotplug: " Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 4/7] PCI/DPC: Use FIELD_GET() Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 5/7] PCI/DPC: Use defined fields with DPC_CTL register Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 6/7] PCI/DPC: Use defines with DPC reason fields Ilpo Järvinen
2023-10-18 11:32 ` [PATCH 7/7] PCI/MSI: Use FIELD_GET/PREP() Ilpo Järvinen
2023-10-18 16:23 ` [PATCH 0/7] PCI: Use FIELD_GET/PREP() & other reg field cleanups Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.