Re: [Patch 1/1] x86 pci: Add option to not assign BAR's if not alreadyassigned

From: H. Peter Anvin
Date: Fri May 14 2010 - 19:41:25 EST


On 05/14/2010 04:33 PM, Jesse Barnes wrote:
>
> As for BIOS coordination for dynamic reallocation, yeah there'd be some
> of that. I think the basic principles would be:
> 1) use BIOS allocations wherever possible
> 2) get an accurate list of available resources from the BIOS for
> potential remapping later
> 3) allocate resources for BARs and devices as late as possible (e.g.
> at driver bind time) to avoid allocating more than we need
>
> But that's a good chunk of work, and as we've seen, PCs in particular
> are really sensitive to having resources moved around too much, so step
> (2) is probably the hardest part.
>

The real problem that I see, as outlined before, has nothing to do with
the BIOS, but rather the interdependencies between resources.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/