Skip to content

RFC: PCI: consolidate several pcibios_enable_resources() implementations

Bjorn Helgaas linux-arch linux-parisc linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: split pcibios_enable_resources() out of pcibios_enable_device()arch/alpha/kernel/pci.c arch/arm/kernel/bios32.c arch/parisc/kernel/pci.c +4 more+46 -121 reply
2/4ppc: make pcibios_enable_device() use pcibios_enable_resources()arch/ppc/kernel/pci.c+2 -241 reply
3/4xtensa: make pcibios_enable_device() use pcibios_enable_resources()arch/xtensa/kernel/pci.c+1 -250 replies
4/4RFC: PCI: consolidate several pcibios_enable_resources() implementationsarch/alpha/kernel/pci.c arch/arm/kernel/bios32.c arch/cris/arch-v32/drivers/pci/bios.c +16 more+66 -5186 replies

Reviews trailers per patch

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

PatchBjorn HelgaasBenjamin Herrenschmidt
1/4A-b
2/4
3/4
4/4Not-Yet-Signed-off-by

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 0/4] RFC: PCI: consolidate several pcibios_enable_resources() implementations

There are many implementations of pcibios_enable_resources() that differ in minor ways that look more like bugs than architectural differences. This patch series consolidates most of them to use the x86 version.

This series is for discussion only at this point. I'm interested in feedback about whether any of the differences are "real" and need to be preserved.

ARM and PA-RISC, in particular, have interesting differences:
- ARM always enables bridge devices, which no other arch does
- PA-RISC always turns on SERR and PARITY, which no other arch does

Should other arches do the same thing, or are these somehow related to ARM and PA-RISC architecture?

Bjorn