powerpc/powernv: Handle PCI-X/PCIe reset delay
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Sep 2011 17:45:07 +0000 (17:45 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 Sep 2011 06:12:54 +0000 (16:12 +1000)
commit82ba129baeb1ff72e75d93e70534ba50312153f3
treedcd3e60d80f8102c670cb3e6cd3d2e0c7c9deb57
parentc1a2562ac5edcb3965760f4a37368122d85657af
powerpc/powernv: Handle PCI-X/PCIe reset delay

The firmware doesn't wait after lifting the PCI reset. However it does
timestamp it in the device tree. We use that to ensure we wait long
enough (3s is our current arbitrary setting) from that timestamp to
actually probing the bus.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci.c