linux/drivers/pci
Yinghai Lu fc3ef182a1 PCI: honor child buses add_size in hot plug configuration
commit be768912a4 upstream.

git commit c8adf9a3e8
    "PCI: pre-allocate additional resources to devices only after
	successful allocation of essential resources."

fails to take into consideration the optional-resources needed by children
devices while calculating the optional-resource needed by the bridge.

This can be a problem on some setup. For example, if a hotplug bridge has 8
children hotplug bridges, the bridge should have enough resources to accomodate
the hotplug requirements for each of its children hotplug bridges.  Currently
this is not the case.

This patch fixes the problem.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Andrew Worsley <amworsley@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-07 08:27:27 -07:00
..
hotplug PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs 2011-12-09 08:52:22 -08:00
pcie ASPM: Fix pcie devices with non-pcie children 2012-04-02 09:27:22 -07:00
.gitignore
access.c PCI: handle positive error codes 2011-05-10 15:43:36 -07:00
bus.c PCI/sysfs: move bus cpuaffinity to class dev_attrs 2011-05-21 12:17:13 -07:00
dmar.c x86, iommu: Mark DMAR IRQ as non-threaded 2011-10-03 11:40:29 -07:00
hotplug-pci.c
hotplug.c
htirq.c drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
intel-iommu.c intel-iommu: fix superpage support in pfn_to_dma_pte() 2011-12-21 12:57:37 -08:00
intr_remapping.c Fix common misspellings 2011-03-31 11:26:23 -03:00
intr_remapping.h
ioapic.c
iov.c PCI: Move ATS declarations in seperate header file 2011-04-11 09:01:41 +02:00
iova.c intel-iommu: Dont cache iova above 32bit 2011-06-01 12:47:40 +01:00
irq.c
Kconfig PCI: pci-label: Fix build failure when CONFIG_NLS is set to 'm' by allmodconfig 2011-04-12 08:39:02 -07:00
Makefile sparc32,leon: added LEON-common low-level PCI routines 2011-06-02 14:32:37 -07:00
msi.c PCI: msi: Disable msi interrupts when we initialize a pci device 2012-01-25 17:24:38 -08:00
msi.h
pci-acpi.c PCI: Rework ASPM disable code 2012-02-06 09:24:01 -08:00
pci-driver.c PCI: EHCI: Fix crash during hibernation on ASUS computers 2012-09-14 10:00:39 -07:00
pci-label.c PCI: label: remove #include of ACPI header to avoid warnings 2011-03-16 10:24:34 -07:00
pci-stub.c
pci-sysfs.c PCI/sysfs: move bus cpuaffinity to class dev_attrs 2011-05-21 12:17:13 -07:00
pci.c PCI: EHCI: fix crash during suspend on ASUS computers 2012-07-16 08:47:50 -07:00
pci.h PCI: conditional resource-reallocation through kernel parameter pci=realloc 2011-07-08 15:49:20 -07:00
probe.c PCI: workaround hard-wired bus number V2 2012-02-29 16:33:39 -08:00
proc.c
quirks.c PCI: EHCI: fix crash during suspend on ASUS computers 2012-07-16 08:47:50 -07:00
remove.c PCI/sysfs: move bus cpuaffinity to class dev_attrs 2011-05-21 12:17:13 -07:00
rom.c
search.c
setup-bus.c PCI: honor child buses add_size in hot plug configuration 2012-10-07 08:27:27 -07:00
setup-irq.c
setup-res.c
slot.c
syscall.c
vpd.c
xen-pcifront.c xen-pcifront: Update warning comment to use 'e820_host' option. 2011-11-11 09:35:46 -08:00