[coreboot] r4394 breaks on hardware (was: Re: [PATCH] v3 Resource allocator to v2)

Myles Watson mylesgw at gmail.com
Sun Jul 5 03:41:09 CEST 2009

> > Rev 4394.
> This patch seems to cause trouble, at least on the Kontron board where I
> tested recent trunk, but probably on other systems also I'd guess.
It could be, but the problem you're seeing is Kontron-specific.

Adding PCIe enhanced config space BAR 0xf0000000-0xf4000000.

This BAR is added in a way that the allocator doesn't understand.  That was
done on purpose because the old allocator didn't avoid fixed resources.
There are several proposed fixes, but it isn't clear what the best one is.

You can chime in.  Here are some possible solutions:
1. Let the allocator place the BAR.
	Care would need to be taken when the BAR was set and the value would
have to be passed to the ACPI code.

2. Mark the resource as fixed and let the allocator avoid it.
	Either you lose a significant portion of the address space or you
have to move it.  I think you could move it to 0xf8000000-0xfc000000.

3. Add a PCI hole option to the resource allocator and manually allocate
things that you want to live there.

> r4393 works fine, r4394 is the first broken revision.

Sorry about that.


More information about the coreboot mailing list