[coreboot] pci resource allocation overlaps config_mmconf_base_address

Myles Watson mylesgw at gmail.com
Sun Oct 17 04:12:38 CEST 2010


On Sat, Oct 16, 2010 at 3:37 PM, Scott Duplichan <scott at notabs.org> wrote:
> Hello,
>
> I am testing with mahogany_fam10h and mmconf_base_address at e0000000.
> I find that if I add a pci video card, coreboot assigns e0000000 to one
> of the uma graphics bars. This range is already in use for pcie mmio.
> Is there a mechanism intended to prevent this? The best I can come up
> is to reduce the ffffffffff resource limit in northbridge.c to
> mmconf_base_address-1, but that prevents the pci allocation from using
> anything above this reserved range. It seems like it allocates from a
> single contiguous range.
Yes, it does.

You have a couple of options:
- Create a fixed resource for MMCONF.  You could place it at the very
top of the range so that it doesn't take up too much of your address
space
- Allow the resource allocator to allocate the MMCONF range
You'd have to be a little careful when it gets set to change the
address your PCI functions are using, but it should be doable.

Thanks,
Myles




More information about the coreboot mailing list