[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 15/16] ipmi: Add ACPI table entries for BMCs
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-devel] [PATCH 15/16] ipmi: Add ACPI table entries for BMCs |
Date: |
Mon, 23 Feb 2015 07:48:13 +1100 |
On Thu, 2015-02-19 at 21:16 -0600, Corey Minyard wrote:
> However, there is another pressing concern, assuming your device is on
> the ISA bus, and that's the default address, interrupt, etc. It may
> vary from platform to platform, and it would be nice to have a way for
> it to be set more automatically.
>
> If it's not on an ISA bus, another interface will need to be written.
It's on the LPC/ISA bus, and the address/interrupt are in the
device-tree which qemu provides but yes, it would make sense to have
them be qdev properties to configure them to mimmic actual HW.
In fact I would like them to be qobject properties that can be changed
at runtime, but I'll look into that later. The reason is that I want to
emulate a bit more of the BMC since our FW uses a few other things in
there, and among others, some registers that you can use to ...
set/change the ISA address of the BT or KCS interfaces. (In fact same
goes with the UART).
But that's for much later, I still have a lot of work to do to get the
basic shape of the P8 model in a mergable state, so my comment was more
a generic idea of trying to keep the more generic BMC bits reasonably
separate from the SMBIOS/ACPI specific portions.
Cheers,
Ben.