[coreboot] drivers/generic/ioapic enable_dev not called

Alex G. mr.nuke.me at gmail.com
Wed Aug 29 04:44:37 CEST 2012


For some reason, it seems that coreboot cannot find devices at those
devfn. Normally, I'd say "are you sure you aren't setting/unsetting a
bit that disables those devices" but there are just too many leftover
devices.

As a first step, pci_scan_get_dev() seems to be the offender. I would
put a printk to get both the argument devfn, and
(*list)->path.pci.devfn, and try to figure out why the "offending"
devices are not located. This should at least shed some light on where
to look next.

Alex

On 08/28/2012 05:18 PM, Rudolf Marek wrote:
> Hi all,
> 
> Just an update to this problem. It was missing scan_static_bus in parent
> device. Thanks goes to MrNuke ;)
> 
> I have now another problem related to that work. For some reason HT bus
> thinks there are some left over devices:
> 
> Capability: type 0x08 @ 0x60
> flags: 0x0060
> PCI: 00:00.0 count: 0003 static_count: 0010
> PCI: 00:00.0 [1106/0336] enabled next_unitid: 0010
> PCI: 00:0f.0
> PCI: 00:10.0
> PCI: 00:10.1
> PCI: 00:10.2
> PCI: 00:10.3
> PCI: 00:10.4
> PCI: 00:11.0
> PCI: 00:12.0
> PCI: 00:13.0
> PCI: 00:13.1
> HT: Leftover static devices. Check your devicetree.cb
> 
> For this reason second SB IOAPIC is not used too. I dont know what could
> be possibly wrong with my devicetree. Im attaching bootlogs and
> devicetree to this mail. If someone knows plz help.
> 
> Thanks
> Rudolf
> 
> 





More information about the coreboot mailing list