PCI: allocate pci bus num range for unassigned bridge busn + pci rescan cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | x86, PCI: Merge pcibios_scan_root and pci_scan_bus_on_nodearch/ | +4 | 0 replies | |
| 2/23 | PCI: Add busn_res into struct pci_bus.include/ | +1 | 0 replies | |
| 3/23 | PCI: Add busn_res operation functionsdrivers/ include/ | +50 | 0 replies | |
| 4/23 | PCI: Add busn_res tracking in coredrivers/ drivers/ | +10 | 0 replies | |
| 5/23 | PCI, x86: Register busn_res for root busesarch/ arch/ arch/ +1 more | +23 | 0 replies | |
| 6/23 | PCI, ia64: Register busn_res for root busesarch/ | +2 | 0 replies | |
| 7/23 | PCI, sparc: Register busn_res for root busesarch/ | +1 | 0 replies | |
| 8/23 | PCI, powerpc: Register busn_res for root busesarch/ | +6 | 0 replies | |
| 9/23 | PCI, parisc: Register busn_res for root busesdrivers/ drivers/ | +5 | 0 replies | |
| 10/23 | PCI: Add pci_bus_extend/shrink_top()drivers/ | +36 | 0 replies | |
| 11/23 | PCI: Probe safe range that we can use for unassigned bridge.drivers/ | +110 | 0 replies | |
| 12/23 | PCI: Strict checking of valid range for bridgedrivers/ | +24 | 0 replies | |
| 13/23 | PCI: Allocate bus range instead of use max blindlydrivers/ | +59 | 0 replies | |
| 14/23 | PCI: kill pci_fixup_parent_subordinate_busnr()drivers/ | +0 | 0 replies | |
| 15/23 | PCI: Seperate child bus scanning to two passes overalldrivers/ | +34 | 0 replies | |
| 16/23 | pcmcia: remove workaround for fixing pci parent bus subordinatedrivers/ | +0 | 0 replies | |
| 17/23 | PCI: Double checking setting for bus register and bus struct.drivers/ | +40 | 0 replies | |
| 18/23 | PCI, pciehp: Remove not needed bus number range checkingdrivers/ | +1 | 0 replies | |
| 19/23 | PCI, sys: Use device_type and attr_groups with pci devdrivers/ drivers/ drivers/ | +32 | 0 replies | |
| 20/23 | PCI, sysfs: create rescan_bridge under /sys/.../pci/devices/... for pci bridgesDocumentation/ drivers/ | +34 | 0 replies | |
| 21/23 | PCI: Add pci_bus_add_single_device()drivers/ include/ | +41 | 0 replies | |
| 22/23 | PCI: make pci_rescan_bus_bridge_resize use pci_scan_bridge insteaddrivers/ | +6 | 0 replies | |
| 23/23 | PCI: clean up rescan_bus_bridge_resizedrivers/ | +2 | 0 replies |
Reviews trailers per patch
None of the 23 patches has a Reviewed-by or Acked-by.
| Patch | Dominik Brodowski |
|---|---|
| 1/23 | |
| 2/23 | |
| 3/23 | |
| 4/23 | |
| 5/23 | |
| 6/23 | |
| 7/23 | |
| 8/23 | |
| 9/23 | |
| 10/23 | |
| 11/23 | |
| 12/23 | |
| 13/23 | |
| 14/23 | |
| 15/23 | |
| 16/23 | T-b |
| 17/23 | |
| 18/23 | |
| 19/23 | |
| 20/23 | |
| 21/23 | |
| 22/23 | |
| 23/23 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v7 0/23] PCI: allocate pci bus num range for unassigned bridge busn + pci rescan cleanup
8a2fc18: PCI: clean up rescan_bus_bridge_resize
bf71259: PCI: make pci_rescan_bus_bridge_resize use pci_scan_bridge instead
e920668: PCI: Add pci_bus_add_single_device()
c61820d: PCI, sysfs: create rescan_bridge under /sys/.../pci/devices/... for pci bridges 52b414e: PCI, sys: Use device_type and attr_groups with pci dev
1dd3a1e: PCI, pciehp: Remove not needed bus number range checking
4ecfb5b: PCI: Double checking setting for bus register and bus struct. 938bc68: pcmcia: remove workaround for fixing pci parent bus subordinate 206c646: PCI: Seperate child bus scanning to two passes overall
883167f: PCI: kill pci_fixup_parent_subordinate_busnr()
a4c590e: PCI: Allocate bus range instead of use max blindly
13e322a: PCI: Strict checking of valid range for bridge
8a6af68: PCI: Probe safe range that we can use for unassigned bridge. 85f1fdd: PCI: Add pci_bus_extend/shrink_top()
d4c8a5e: PCI, parisc: Register busn_res for root buses
821fbcf: PCI, powerpc: Register busn_res for root buses
8b257c9: PCI, sparc: Register busn_res for root buses
8be529a: PCI, ia64: Register busn_res for root buses
136c1d8: PCI, x86: Register busn_res for root busesfb89a01f: PCI: Add busn_res tracking in core
d919f95: PCI: Add busn_res operation functions
7bb98d3: PCI: Add busn_res into struct pci_bus.
8958703: x86, PCI: Merge pcibios_scan_root and pci_scan_bus_on_node
Set up iobusn_resource tree, and register bus number range to it. Later when need to find bus range, will try to allocate from the tree
Need to test on arches other than x86. esp for ia64 and powerpc that support
more than on peer root buses.
last five patches are rescan cleanup that make use busn alloc.
could be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-busn-alloc
-v2: according to Jesse, split to more small patches.
-v3: address some request from Bjorn. like make use %pR for busn_res debug print
out, and move the comment change with code change.
-v4: fixes the problem about rescan that Bjorn found.
-v5: add /proc/iobusn that is requested by Bjorn.
remove old workaround from pciehp.
add rescan_bridge for pci bridge in /sys
-v6: remove global iobusn_resource, and every root bus's busn_res will be root
of children buses' busn_res.
pc cardbus change is tested by pcmcia maintainter.
-v7: remove pci_scan_root_bus_max requested by Bjorn and Jesse.
Thanks
Yinghai
Documentation/ABI/testing/sysfs-bus-pci | 10 + arch/ia64/pci/pci.c | 2 + arch/powerpc/kernel/pci-common.c | 7 +- arch/sparc/kernel/pci.c | 1 + arch/x86/include/asm/topology.h | 3 +- arch/x86/pci/acpi.c | 8 +- arch/x86/pci/bus_numa.c | 8 +- arch/x86/pci/common.c | 37 +-- drivers/parisc/dino.c | 2 + drivers/parisc/lba_pci.c | 3 + drivers/pci/bus.c | 40 +++ drivers/pci/hotplug/pciehp_pci.c | 12 +- drivers/pci/pci-sysfs.c | 59 ++++- drivers/pci/pci.h | 1 + drivers/pci/probe.c | 441 +++++++++++++++++++++++++------ drivers/pci/remove.c | 1 + drivers/pcmcia/yenta_socket.c | 75 ------ include/linux/pci.h | 5 + 18 files changed, 509 insertions(+), 206 deletions(-)