Home
last modified time | relevance | path

Searched hist:"3 f579c340fe6d6bdd8c6f9f144e7c3b85d4174ec" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dsetup-bus.cdiff 3f579c340fe6d6bdd8c6f9f144e7c3b85d4174ec Fri May 21 16:35:06 CDT 2010 Yinghai Lu <yinghai@kernel.org> PCI hotplug: make sure child bridges are enabled at hotplug time

Found one PCIe Module with several bridges built-in where a "cold"
hotadd doesn't work.

If we end up reassigning bridge windows at hotadd time, and have to loop
through assigning new ranges, we won't end up enabling the child bridges
because the first assignment pass already tried to enable them, which
prevents __pci_bridge_assign_resource from updating the windows.

So try to move enabling of child bridges to the end, and only do it
once.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>