[Skiboot] [RFC PATCH] plat/qemu: Add BT device
Cédric Le Goater
clg at fr.ibm.com
Mon Jan 11 20:50:08 AEDT 2016
On 01/08/2016 07:06 AM, Stewart Smith wrote:
> Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
>> On Sat, 2015-11-14 at 17:23 +0100, Cédric Le Goater wrote:
>>> which he did two days ago :
>>> I missed that. Let's support it then. I will advertise the merge I did
>>> and ask a few questions on how we should populate the device tree.
>> We can probably populate it from OPAL. Unless we start to add optional DT
>> hooks for ISADevice ... In that case, we could populate the UART too.
> Always having BT in qemu is probably a good idea anyway, solves a bunch
> of little problems (e.g. shutdown/reboot)
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.
More information about the Skiboot