Re: [PATCH] x86/pci: make pci_mem_start to be aligned only -v3

From: Ingo Molnar
Date: Thu Apr 16 2009 - 13:39:33 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> Yinghai Lu wrote:
> >
> > that need to do done much earlier, and much simple, just need to make that range to be reserved in e820.
> > and later e820_setup_gap even don't need to be aligned again.
> >
>
> As long as that doesn't cause the PCI layer to move devices
> already assigned in this range out of it. What we want is really
> a "weak reserve". On the other hand, that may very well be the
> semantics of the existing reserved space, too (I honestly haven't
> looked lately.)

We have reserve_region_with_split(), which 'wraps around' existing
resources non-intrusively by creating split-up resources -
preventing their forced reallocation (and preventing their possible
breakage - a number of BARs dont like dynamic reallocations at all).

Ingo
--
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/