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

From: Bjorn Helgaas
Date: Wed Oct 18 2023 - 12:23:37 EST


On Wed, Oct 18, 2023 at 02:32:47PM +0300, Ilpo Järvinen wrote:
> 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@xxxxxxxxxx/
> 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(-)

Applied to pci/field-get for v6.7, thanks, Ilpo!