summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-res.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2011-07-25 22:08:38 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-08-01 20:49:39 +0200
commitbe768912a49b10b68e96fbd8fa3cab0adfbd3091 (patch)
treed1414e67c840bd66fef1d92177d41a2c22529015 /drivers/pci/setup-res.c
parentPCI: Set PCI-E Max Payload Size on fabric (diff)
downloadlinux-be768912a49b10b68e96fbd8fa3cab0adfbd3091.tar.xz
linux-be768912a49b10b68e96fbd8fa3cab0adfbd3091.zip
PCI: honor child buses add_size in hot plug configuration
git commit c8adf9a3e873eddaaec11ac410a99ef6b9656938 "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>
Diffstat (limited to 'drivers/pci/setup-res.c')
0 files changed, 0 insertions, 0 deletions