Skip to content

PCI: use common INTx swizzling loop

Bjorn Helgaas linux-arch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6PCI: add pci_common_swizzle() for INTx swizzlingdrivers/pci/pci.c include/linux/pci.h+21 -01 reply
2/6PCI: alpha: use generic INTx swizzle from PCI corearch/alpha/kernel/pci.c arch/alpha/kernel/pci_impl.h+2 -200 replies
3/6PCI: arm: use generic INTx swizzle from PCI corearch/arm/include/asm/mach/pci.h arch/arm/kernel/bios32.c+1 -280 replies
4/6PCI: mips: use generic INTx swizzle from PCI corearch/mips/pci/pci.c+1 -160 replies
5/6PCI: sh: use generic INTx swizzle from PCI corearch/sh/drivers/pci/pci.c+1 -160 replies
6/6PCI: x86/visws: use generic INTx swizzle from PCI corearch/x86/pci/visws.c+1 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] PCI: use common INTx swizzling loop

This series adds a pci_common_swizzle() function in the PCI core and changes several architectures to use it instead of architecture-specific code.

Comments welcome.

Bjorn
---

Bjorn Helgaas (6):
PCI: x86/visws: use generic INTx swizzle from PCI core
PCI: sh: use generic INTx swizzle from PCI core
PCI: mips: use generic INTx swizzle from PCI core
PCI: arm: use generic INTx swizzle from PCI core
PCI: alpha: use generic INTx swizzle from PCI core
PCI: add pci_common_swizzle() for INTx swizzling

 arch/alpha/kernel/pci.c         |   18 ------------------
 arch/alpha/kernel/pci_impl.h    |    4 ++--
 arch/arm/include/asm/mach/pci.h |    2 +-
 arch/arm/kernel/bios32.c        |   27 ---------------------------
 arch/mips/pci/pci.c             |   17 +----------------
 arch/sh/drivers/pci/pci.c       |   17 +----------------
 arch/x86/pci/visws.c            |   15 +--------------
 drivers/pci/pci.c               |   20 ++++++++++++++++++++
 include/linux/pci.h             |    1 +
 9 files changed, 27 insertions(+), 94 deletions(-)