PCI : bridge resource reallocation patchset
Status from this message: Applied, but I fixed up the comment; please check for accuracy.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | PCI : Calculate right add_sizedrivers/ drivers/ | +5 | 1 reply | |
| 2/21 | PCI: Make add_to_list() return statusdrivers/ | +4 | 0 replies | |
| 3/21 | PCI: Move get_res_add_size() earlydrivers/ | +15 | 0 replies | |
| 4/21 | PCI: Try to assign required+option size at firstdrivers/ | +82 | 0 replies | |
| 5/21 | PCI: Using add_list in pcie hotplug path.drivers/ | +12 | 0 replies | |
| 6/21 | PCI: Make rescan bus could increase bridge resource size if neededdrivers/ drivers/ include/ | +29 | 1 reply | |
| 7/21 | PCI: Make pci_rescan_bus handle add_listdrivers/ drivers/ | +39 | 0 replies | |
| 8/21 | PCI: Fixing multiple retrying with pci resource optional resources allocation under multi bridgesdrivers/ | +28 | 0 replies | |
| 9/21 | PCI: Move pdev_sort_resources() to setup-bus.cdrivers/ drivers/ include/ | +46 | 0 replies | |
| 10/21 | PCI: Move struct resource_list to setup-bus.cdrivers/ include/ | +6 | 0 replies | |
| 11/21 | PCI: Replace resource_list with generic listdrivers/ | +181 | 0 replies | |
| 12/21 | PCI: Merge pci_dev_resource_x and pci_dev_resourcedrivers/ | +15 | 0 replies | |
| 13/21 | PCI: Rename dev_res_x to add_res or fail_resdrivers/ | +55 | 0 replies | |
| 14/21 | PCI: Change free_list() to functiondrivers/ | +19 | 0 replies | |
| 15/21 | PCI: add debug print out for add_sizedrivers/ | +18 | 0 replies | |
| 16/21 | PCI: remove add_to_failed_list()drivers/ | +4 | 1 reply | |
| 17/21 | PCI: Disable cardbus bridge MEM1 pref CTLdrivers/ | +8 | 2 replies | |
| 18/21 | PCI: Fix cardbus bridge resources as optional size handlingdrivers/ | +36 | 6 replies | |
| 19/21 | PCI: Retry on type IORESOURCE_IO allocation.drivers/ | +1 | 0 replies | |
| 20/21 | PCI: Make pci bridge reallocating enabled/disabledDocumentation/ drivers/ drivers/ +1 more | +26 | 0 replies | |
| 21/21 | PCI: only enable pci realloc when SRIOV bar is not assigneddrivers/ | +26 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/21] PCI : bridge resource reallocation patchset
a181193: PCI: only enable pci realloc when SRIOV bar is not assigned
6662c73: PCI: Make pci bridge reallocating enabled/disabled
1a60212: PCI: Retry on type IORESOURCE_IO allocation.
59e4fd4: PCI: Fix cardbus bridge resources as optional size handling
daa08ff: PCI: Disable cardbus bridge MEM1 pref CTL
e11dc0e: PCI: remove add_to_failed_list()
11af29c: PCI: add debug print out for add_size
6a30c7b: PCI: Change free_list() to function
e5aa050: PCI: Rename dev_res_x to add_res or fail_res
ff503cf: PCI: Merge pci_dev_resource_x and pci_dev_resource
2874630: PCI: Replace resource_list with generic list
8eedd1e: PCI: Move struct resource_list to setup-bus.c
23a6d3e: PCI: Move pdev_sort_resources() to setup-bus.c
93acbd6: PCI: Fixing multiple retrying with pci resource optional resources allocation under multi bridges 7f5dac3: PCI: Make pci_rescan_bus handle add_list
18dd9be: PCI: Make rescan bus could increase bridge resource size if needed
52e0afc: PCI: Using add_list in pcie hotplug path.
2b6542d: PCI: Try to assign required+option size at first
4beb962: PCI: Move get_res_add_size() early
8cb9020: PCI: Make add_to_list() return status
8535f21: PCI : Calculate right add_size
those patches will fix optional resource size pass over parent bus problem.
and try allocate request + optional resource at first, and then if failed will fall back to get requested at first then try to expand to optional one.
at last will try auto detect if we need to realloc bridge resource.
Also replace local resource_list and resource_list_x with generic list.
or get from
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci2
Thanks
Yinghai
Documentation/kernel-parameters.txt | 7 +- drivers/pci/pci-sysfs.c | 5 +- drivers/pci/pci.c | 4 +- drivers/pci/pci.h | 2 +- drivers/pci/probe.c | 22 +- drivers/pci/setup-bus.c | 629 ++++++++++++++++++++++++----------- drivers/pci/setup-res.c | 52 +--- include/linux/ioport.h | 6 - include/linux/pci.h | 2 +- 9 files changed, 451 insertions(+), 278 deletions(-)