Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

From: Jesse Barnes
Date: Thu Sep 06 2007 - 13:54:41 EST


On Thursday, September 6, 2007 10:50 am Yinghai Lu wrote:
> On 9/6/07, Jesse Barnes <jesse.barnes@xxxxxxxxx> wrote:
> > The problem with doing that is it would mean reserving some address
> > space for mmconfig usage. If the BIOS doesn't completely describe
> > all the reserved regions via e820 or similar (apparently a common
> > problem) we may end up making mmconfig overlap with another
> > important area... It's pretty hard not to trust the BIOS here
> > without completely replacing big chunks of it.
>
> for Family 10h, you can use mmio range high beyond than the RAM
> range...( just don't conflict with HT reserved range...)

Sure, and on some Intel platforms we can configure things similarly.
But any such changes will be platform specific. I'm just not sure
allocating mmconfig space ourselves is worth the trouble. Besides,
most machines made in the last few years can do it, as long as we look
at the right BIOS bits (i.e. MCFG not e820) and remember to disable PCI
device decode when probing BAR sizes for example. :)

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