mbox series

[0/3] PCI: PCI_HEADER_TYPE bugfix & cleanups

Message ID 20231003125300.5541-1-ilpo.jarvinen@linux.intel.com (mailing list archive)
Headers show
Series PCI: PCI_HEADER_TYPE bugfix & cleanups | expand

Message

Ilpo Järvinen Oct. 3, 2023, 12:52 p.m. UTC
One bugfix and cleanups for PCI_HEADER_TYPE_* literals.

This series only covers what's within drivers/pci/. I'd have patches
for other subsystems too but I decided to wait with them until
PCI_HEADER_TYPE_MFD is in Linus' tree (to keep the series receipient
count reasonable, the rest can IMO go through the subsystem specific
trees once the define is there).

Ilpo Järvinen (3):
  PCI: vmd: Correct PCI Header Type Register's MFD bit check
  PCI: Add PCI_HEADER_TYPE_MFD pci_regs.h
  PCI: Use PCI_HEADER_TYPE_* instead of literals

 drivers/pci/controller/dwc/pci-layerscape.c   |  2 +-
 .../controller/mobiveil/pcie-mobiveil-host.c  |  2 +-
 drivers/pci/controller/pcie-iproc.c           |  2 +-
 drivers/pci/controller/pcie-rcar-ep.c         |  2 +-
 drivers/pci/controller/pcie-rcar-host.c       |  2 +-
 drivers/pci/controller/vmd.c                  |  5 ++---
 drivers/pci/hotplug/cpqphp_ctrl.c             |  6 ++---
 drivers/pci/hotplug/cpqphp_pci.c              | 22 +++++++++----------
 drivers/pci/hotplug/ibmphp.h                  |  5 +++--
 drivers/pci/hotplug/ibmphp_pci.c              |  2 +-
 drivers/pci/pci.c                             |  2 +-
 drivers/pci/quirks.c                          |  6 ++---
 include/uapi/linux/pci_regs.h                 |  1 +
 13 files changed, 30 insertions(+), 29 deletions(-)

Comments

Bjorn Helgaas Oct. 3, 2023, 4:58 p.m. UTC | #1
On Tue, Oct 03, 2023 at 03:52:57PM +0300, Ilpo Järvinen wrote:
> One bugfix and cleanups for PCI_HEADER_TYPE_* literals.
> 
> This series only covers what's within drivers/pci/. I'd have patches
> for other subsystems too but I decided to wait with them until
> PCI_HEADER_TYPE_MFD is in Linus' tree (to keep the series receipient
> count reasonable, the rest can IMO go through the subsystem specific
> trees once the define is there).
> 
> Ilpo Järvinen (3):
>   PCI: vmd: Correct PCI Header Type Register's MFD bit check
>   PCI: Add PCI_HEADER_TYPE_MFD pci_regs.h
>   PCI: Use PCI_HEADER_TYPE_* instead of literals
> 
>  drivers/pci/controller/dwc/pci-layerscape.c   |  2 +-
>  .../controller/mobiveil/pcie-mobiveil-host.c  |  2 +-
>  drivers/pci/controller/pcie-iproc.c           |  2 +-
>  drivers/pci/controller/pcie-rcar-ep.c         |  2 +-
>  drivers/pci/controller/pcie-rcar-host.c       |  2 +-
>  drivers/pci/controller/vmd.c                  |  5 ++---
>  drivers/pci/hotplug/cpqphp_ctrl.c             |  6 ++---
>  drivers/pci/hotplug/cpqphp_pci.c              | 22 +++++++++----------
>  drivers/pci/hotplug/ibmphp.h                  |  5 +++--
>  drivers/pci/hotplug/ibmphp_pci.c              |  2 +-
>  drivers/pci/pci.c                             |  2 +-
>  drivers/pci/quirks.c                          |  6 ++---
>  include/uapi/linux/pci_regs.h                 |  1 +
>  13 files changed, 30 insertions(+), 29 deletions(-)

Applied to pci/enumeration for v6.7, thanks!