Skip to content

Move MSI related PCI controller ops to pci_controller_ops

Daniel Axtens linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10powerpc: Add MSI operations to pci_controller_ops structarch/powerpc/include/asm/pci-bridge.h arch/powerpc/kernel/msi.c+21 -30 replies
2/10powerpc/powernv: Move MSI-related ops to pci_controller_opsarch/powerpc/platforms/powernv/pci.c+4 -60 replies
3/10powerpc/cell: Move MSI-related ops to pci_controller_opsarch/powerpc/platforms/cell/axon_msi.c+3 -20 replies
4/10powerpc/pseries: Move MSI-related ops to pci_controller_opsarch/powerpc/platforms/pseries/msi.c+5 -30 replies
5/10powerpc/fsl_msi: Move MSI-related ops to pci_controller_opsarch/powerpc/sysdev/fsl_msi.c+15 -80 replies
6/10powerpc/ppc4xx_msi: Move MSI-related ops to pci_controller_opsarch/powerpc/sysdev/ppc4xx_msi.c+5 -20 replies
7/10powerpc/ppc4xx_hsta_msi: Move MSI-related ops to pci_controller_opsarch/powerpc/sysdev/ppc4xx_hsta_msi.c+5 -20 replies
8/10powerpc/mpic_pasemi_msi: Move MSI-related ops to pci_controller_opsarch/powerpc/sysdev/mpic_pasemi_msi.c+6 -318 replies
9/10powerpc/mpic_u3msi: Move MSI-related ops to pci_controller_opsarch/powerpc/sysdev/mpic_u3msi.c+6 -30 replies
10/10powerpc: Remove MSI-related PCI controller ops from ppc_mdarch/powerpc/include/asm/machdep.h arch/powerpc/kernel/msi.c+4 -170 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchThomas Gleixner
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10R-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Move MSI related PCI controller ops to pci_controller_ops

This patch set moves MSI related PCI controller operations out of ppc_md and into the pci_controller_ops struct.

This is a follow up to the previous patch series creating the pci_controller_ops structure. [1]

This series follows the same structure:

- Add functions to pci_controller_ops struct, patch call sites to call struct functions if available, in preference to ppc_md funtions.

- Move affected platforms and subsystems over one by one.

- Remove shims, remove from ppc_md.

The set has been build tested for PowerNV, pseries, Cell, PaSemi, ppc44x and Corenet 64 (for fsl_pci). It builds at every point in the series. It has been boot-tested on pseries.

It depends on my previous patch series. As such, it is based on today's linux-next.

[1] https://lkml.kernel.org/r/[email protected]

Daniel Axtens (10):
powerpc: Add MSI operations to pci_controller_ops struct powerpc/powernv: Move MSI-related ops to pci_controller_ops powerpc/cell: Move MSI-related ops to pci_controller_ops powerpc/pseries: Move MSI-related ops to pci_controller_ops powerpc/fsl_msi: Move MSI-related ops to pci_controller_ops powerpc/ppc4xx_msi: Move MSI-related ops to pci_controller_ops powerpc/ppc4xx_hsta_msi: Move MSI-related ops to pci_controller_ops powerpc/mpic_pasemi_msi: Move MSI-related ops to pci_controller_ops powerpc/mpic_u3msi: Move MSI-related ops to pci_controller_ops
powerpc: Remove MSI-related PCI controller ops from ppc_md

 arch/powerpc/include/asm/machdep.h     |  6 ------
 arch/powerpc/include/asm/pci-bridge.h  |  6 ++++++
 arch/powerpc/kernel/msi.c              | 11 ++++++++---
 arch/powerpc/platforms/cell/axon_msi.c |  5 +++--
 arch/powerpc/platforms/powernv/pci.c   | 10 ++++------
 arch/powerpc/platforms/pseries/msi.c   |  8 +++++---
 arch/powerpc/sysdev/fsl_msi.c          | 23 +++++++++++++++--------
 arch/powerpc/sysdev/mpic_pasemi_msi.c  |  9 ++++++---
 arch/powerpc/sysdev/mpic_u3msi.c       |  9 ++++++---
 arch/powerpc/sysdev/ppc4xx_hsta_msi.c  |  7 +++++--
 arch/powerpc/sysdev/ppc4xx_msi.c       |  7 +++++--
 11 files changed, 63 insertions(+), 38 deletions(-)
Signature · 1 line
2.1.4