[PATCH 00/10] Move MSI related PCI controller ops to pci_controller_ops
Daniel Axtens
dja at axtens.net
Tue Apr 14 14:27:53 AEST 2015
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/1427778057-9505-1-git-send-email-dja@axtens.net
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(-)
--
2.1.4
More information about the Linuxppc-dev
mailing list