Files
linux/arch/powerpc/kernel
Benjamin Herrenschmidt 48c2ce97fa powerpc/pci: Change how re-assigning resouces work
When PCI_REASSIGN_ALL_RSRC is set, we used to clear all bus resources
at the beginning of survey and re-allocate them later.

This changes it so instead, during early fixup, we mark all resources
as IORESOURCE_UNSET and move them down to be 0-based.

Later, if bus resources are still unset at the beginning of the survey,
then we clear them.

This shouldn't impact the re-assignment case on 4xx, but will enable
us to have the platform do some custom resource assignment before the
survey, by clearing individual resources IORESOURCE_UNSET bit.

Also limits the clutter in the kernel log from fixup when re-assigning
since we don't care about the offset applied to the BAR values in this
case.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-11-25 14:32:55 +11:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-09-23 10:27:03 +10:00
2011-03-31 11:26:23 -03:00
2011-07-01 13:48:55 +10:00
2011-03-31 11:26:23 -03:00
2010-12-09 15:35:32 +11:00
2010-09-22 09:33:50 -07:00
2011-07-26 16:49:47 -07:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2010-03-12 15:52:32 -08:00