Skip to content

PCI/MSI: Remove arch_msi_check_device()

Alexander Gordeev linux-pci linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 9 repliesIn review
  2. v2 posting 1/21 of 2 patches 2 repliesSuperseded
  3. v12 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- patch 1: 'pdev' undeclared compile error fixed on ppc4xx. I updated changelog and removed ACK from this patch in case there are any objections;

- patch 2: 'struct msi_chip' has no 'check_device' error fixed on

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI/MSI/PPC: Remove arch_msi_check_device()arch/powerpc/include/asm/machdep.h arch/powerpc/kernel/msi.c arch/powerpc/platforms/cell/axon_msi.c +7 more+50 -1222 replies
2/3PCI/MSI/Armada-370-xp: Remove arch_msi_check_device()drivers/irqchip/irq-armada-370-xp.c+4 -104 replies
3/3PCI/MSI: Remove arch_msi_check_device()drivers/pci/msi.c include/linux/msi.h+13 -391 reply

Reviews trailers per patch

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

PatchThomas PetazzoniJason Cooper
SeriesT-b
1/3
2/3A-b
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI/MSI: Remove arch_msi_check_device()

Hello,

This is a cleanup effort to get rid of arch_msi_check_device() function.

I am sending v2 series, since kbuild for v1 reports compile errors on ppc4xx and Armada 370. Still, I have not checked the fixes on these platforms.

Changes since v1:
- patch 1: 'pdev' undeclared compile error fixed on ppc4xx. I updated changelog and removed ACK from this patch in case there are any objections;

- patch 2: 'struct msi_chip' has no 'check_device' error fixed on

             Armada 370 - armada_370_xp_check_msi_device() hook removed;

- patch 3: msi_check_device() renamed to pci_msi_supported(). This is

             the very same patch I sent earlier;

Thanks!

Cc Thomas Gleixner <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Michael Ellerman <[email protected]>

Alexander Gordeev (3):
patch 1 - PCI/MSI/PPC: Remove arch_msi_check_device() patch 2 - PCI/MSI/Armada-370-xp: Remove arch_msi_check_device() patch 3 - PCI/MSI: Remove arch_msi_check_device()

 arch/powerpc/include/asm/machdep.h     |  2 --
 arch/powerpc/kernel/msi.c              | 12 +--------
 arch/powerpc/platforms/cell/axon_msi.c |  9 -------
 arch/powerpc/platforms/powernv/pci.c   | 19 ++++---------
 arch/powerpc/platforms/pseries/msi.c   | 42 +++++++++++------------------
 arch/powerpc/sysdev/fsl_msi.c          | 12 +++------
 arch/powerpc/sysdev/mpic_pasemi_msi.c  | 11 ++------
 arch/powerpc/sysdev/mpic_u3msi.c       | 28 ++++++++-----------
 arch/powerpc/sysdev/ppc4xx_hsta_msi.c  | 18 +++++--------
 arch/powerpc/sysdev/ppc4xx_msi.c       | 19 +++++--------
 drivers/irqchip/irq-armada-370-xp.c    | 14 +++-------
 drivers/pci/msi.c                      | 49 +++++++++-------------------------
 include/linux/msi.h                    |  3 ---
 13 files changed, 67 insertions(+), 171 deletions(-)
Signature · 1 line
1.9.3