[Skiboot] [RFC PATCH] plat/qemu: Add BT device
Cédric Le Goater
clg at fr.ibm.com
Mon Jan 11 21:19:20 AEDT 2016
On 01/11/2016 11:11 AM, Benjamin Herrenschmidt wrote:
> On Mon, 2016-01-11 at 10:50 +0100, Cédric Le Goater wrote:
>> Well, the current BT device in qemu can be configured on the command
>> line, it also has a configurable irq number :
>>
>> -device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-
>> bt,bmc=bmc0,irq=10
>>
>> So, it seems safer to let qemu populate the device tree depending
>> on its qom-tree than allow skiboot to hardcode non existing devices.
>
> We could also have the powernv platform instanciate BT by default.
yes. I gave it a try last year and add a hard time to dissociate the BT
device from the backend, that can be the simulator or an external BMC.
I will spend some more energy to figure out why the QOM layer was
complaining.
Do we have plans for a FSP simulator ? Anyhow a hardcoded BT should not
be a major obstacle.
Cheers,
C.
More information about the Skiboot
mailing list