[coreboot] AMD Tilapia / simnow: endless looping in function pci_scan_bus

Myles Watson mylesgw at gmail.com
Wed Sep 1 21:21:50 CEST 2010


On Wed, Sep 1, 2010 at 12:50 PM, Scott <scott at notabs.org> wrote:
> Hello,
>
> When booting the AMD Tilapia coreboot BIOS on simnow I encounter
> an endless loop in pci_scan_bus(). The reason is that pci_scan_bus
> expects a valid argument for max_devfn, yet receives 0xFFFFFFFF.
>
> The origin of the invalid max_devfn argument is line 596 of
> hypertransport.c:
>
>   max = pci_scan_bus(bus, 0x00, ((next_unitid-1) << 3)|7, max);
>
> With my setup, next_unitid is zero, which causes a bad argument
> to be passed to pci_scan_bus. As a work-around, I change the code
> to recognize and handle this case by passing 0xFF (all devices).
>
> Does anyone else encounter this situation on AMD boards? I ask
> because I am using simnow in place of real hardware.

Juhana Helovuo reported this in the thread "Porting to Asus M4A785-M".

Thanks,
Myles




More information about the coreboot mailing list