Skip to content

PCI: use busn_res to replace bus secondary/subordinate

Yinghai Lu linux-arch linux-ia64 linux-parisc linux-pci linuxppc-dev lkml sparclinux 1 version Applied

Status from this message: I merged for-pci-hostbridge-cleanup already. I was about to start

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/21PCI: add busn_res into struct pci_bus.include/linux/pci.h+1 -00 replies
2/21PCI: replace secondary/subordinate with busn_resarch/alpha/kernel/pci.c arch/arm/kernel/bios32.c arch/ia64/pci/pci.c +26 more+111 -1110 replies
3/21PCI: Remove secondary/subordinate in struct ci_businclude/linux/pci.h+0 -20 replies
4/21PCI: Add busn_res for pci domain.drivers/pci/probe.c+30 -00 replies
5/21resource: adjust_resource handle resource without parentkernel/resource.c+8 -53 replies
6/21PCI: Add busn_res operation functionsdrivers/pci/probe.c include/linux/pci.h+66 -00 replies
7/21PCI: print conflicting entry in busn_res insertingdrivers/pci/probe.c+13 -80 replies
8/21PCI: release busn_res when removing busdrivers/pci/remove.c+1 -00 replies
9/21PCI: Insert busn_res in pci_create_root_bus()drivers/pci/probe.c+4 -10 replies
10/21PCI: checking busn_res in pci_scan_root_bus()drivers/pci/probe.c+21 -10 replies
11/21PCI: Add default busn_resourcedrivers/pci/probe.c include/linux/pci.h+9 -00 replies
12/21PCI: Add default busn_res for pci_scan_bus()drivers/pci/probe.c+4 -20 replies
13/21x86/PCI: add busn_res into resources list for ACPI patharch/x86/pci/acpi.c+5 -40 replies
14/21x86/PCI: put busn resource in pci_root_info for native host bridge driversarch/x86/pci/amd_bus.c arch/x86/pci/bus_numa.c arch/x86/pci/bus_numa.h+23 -90 replies
15/21ia64/PCI: register busn_res for root busesarch/ia64/pci/pci.c+3 -10 replies
16/21sparc/PCI: register busn_res for root busesarch/sparc/kernel/pci.c arch/sparc/kernel/pci_impl.h+6 -31 reply
17/21powerpc/PCI: register busn_res for root busesarch/powerpc/include/asm/pci-bridge.h arch/powerpc/kernel/pci-common.c arch/powerpc/kernel/pci_of_scan.c+13 -70 replies
18/21parisc/PCI: register busn_res for root busesdrivers/parisc/dino.c drivers/parisc/lba_pci.c+14 -40 replies
19/21tile/PCI: Use pci_scan_root_bus instead pci_scan_busarch/tile/kernel/pci.c+4 -12 replies
20/21PCI: Register busn_res for iov busdrivers/pci/iov.c+1 -10 replies
21/21PCI: insert busn_res for child busdrivers/pci/probe.c+3 -20 replies

Reviews trailers per patch

2 of 21 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerChris Metcalf
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21A-b
17/21
18/21
19/21A-b
20/21
21/21

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/21] PCI: use busn_res to replace bus secondary/subordinate

struct pci_bus will take busn_res instead. and those busn_res will be in domain busn_res tree.

This could be base of busn_res allocation patchset.

The patches need to apply to pci-next and
for-pci-hotplug cleanup

could be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-busn_res

Bjorn Helgaas (1):
PCI: print conflicting entry in busn_res inserting

Yinghai Lu (20):
PCI: add busn_res into struct pci_bus.
PCI: replace secondary/subordinate with busn_res
PCI: Remove secondary/subordinate in struct ci_bus
PCI: Add busn_res for pci domain.
resource: adjust_resource handle resource without parent
PCI: Add busn_res operation functions
PCI: release busn_res when removing bus
PCI: Insert busn_res in pci_create_root_bus()
PCI: checking busn_res in pci_scan_root_bus()
PCI: Add default busn_resource
PCI: Add default busn_res for pci_scan_bus()
x86/PCI: add busn_res into resources list for ACPI path x86/PCI: put busn resource in pci_root_info for native host bridge
drivers
ia64/PCI: register busn_res for root buses
sparc/PCI: register busn_res for root buses powerpc/PCI: register busn_res for root buses parisc/PCI: register busn_res for root buses
tile/PCI: Use pci_scan_root_bus instead pci_scan_bus
PCI: Register busn_res for iov bus
PCI: insert busn_res for child bus

 arch/alpha/kernel/pci.c                    |    2 +-
 arch/arm/kernel/bios32.c                   |    2 +-
 arch/ia64/pci/pci.c                        |    4 +-
 arch/microblaze/pci/pci-common.c           |    4 +-
 arch/mips/pci/pci.c                        |    2 +-
 arch/powerpc/include/asm/pci-bridge.h      |    1 +
 arch/powerpc/kernel/pci-common.c           |   17 ++-
 arch/powerpc/kernel/pci_64.c               |    2 +-
 arch/powerpc/kernel/pci_of_scan.c          |    2 +-
 arch/powerpc/platforms/powernv/pci-ioda.c  |    8 +-
 arch/powerpc/platforms/pseries/pci_dlpar.c |    2 +-
 arch/sh/drivers/pci/pci.c                  |    2 +-
 arch/sparc/kernel/pci.c                    |    8 +-
 arch/sparc/kernel/pci_impl.h               |    1 +
 arch/tile/kernel/pci.c                     |    9 +-
 arch/x86/pci/acpi.c                        |    9 +-
 arch/x86/pci/amd_bus.c                     |    7 +-
 arch/x86/pci/bus_numa.c                    |   22 +++-
 arch/x86/pci/bus_numa.h                    |    3 +-
 arch/xtensa/kernel/pci.c                   |    2 +-
 drivers/iommu/intel-iommu.c                |    2 +-
 drivers/net/ethernet/broadcom/tg3.c        |    4 +-
 drivers/parisc/dino.c                      |   16 ++-
 drivers/parisc/iosapic.c                   |    2 +-
 drivers/parisc/lba_pci.c                   |   26 ++--
 drivers/pci/hotplug-pci.c                  |    4 +-
 drivers/pci/hotplug/acpiphp_glue.c         |    8 +-
 drivers/pci/hotplug/shpchp_sysfs.c         |    6 +-
 drivers/pci/iov.c                          |    4 +-
 drivers/pci/pci.c                          |    2 +-
 drivers/pci/probe.c                        |  191 +++++++++++++++++++++++-----
 drivers/pci/remove.c                       |    1 +
 drivers/pci/setup-bus.c                    |   24 ++--
 drivers/pcmcia/cardbus.c                   |    2 +-
 drivers/pcmcia/yenta_socket.c              |   26 ++--
 include/linux/pci.h                        |    8 +-
 kernel/resource.c                          |   13 +-
 37 files changed, 313 insertions(+), 135 deletions(-)
Signature · 1 line
1.7.7