qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: minyard@acm.org
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 15/16] ipmi: Add ACPI table entries for BMCs
Date: Mon, 23 Feb 2015 07:48:13 +1100	[thread overview]
Message-ID: <1424638093.4980.10.camel@kernel.crashing.org> (raw)
In-Reply-To: <54E6A717.7070403@acm.org>

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.

  reply	other threads:[~2015-02-22 20:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 19:15 [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 01/16] Add a base IPMI interface minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 02/16] ipmi: Add a PC ISA type structure minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 03/16] ipmi: Add a KCS low-level interface minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 04/16] ipmi: Add a BT " minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 05/16] ipmi: Add a local BMC simulation minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 06/16] ipmi: Add an external connection simulation interface minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 07/16] ipmi: Add tests minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 08/16] ipmi: Add documentation minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 09/16] ipmi: Add migration capability to the IPMI device minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 10/16] pc: Postpone adding ACPI and SMBIOS to fw_cfg minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 11/16] smbios: Add a function to directly add an entry minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 12/16] ipmi: Add SMBIOS table entry minyard
2015-02-19  2:53   ` Benjamin Herrenschmidt
2014-12-12 19:15 ` [Qemu-devel] [PATCH 13/16] acpi: Add a way to extend tables minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 14/16] acpi: Add table construction tools minyard
2014-12-12 19:15 ` [Qemu-devel] [PATCH 15/16] ipmi: Add ACPI table entries for BMCs minyard
2015-02-19  2:54   ` Benjamin Herrenschmidt
2015-02-20  3:16     ` Corey Minyard
2015-02-22 20:48       ` Benjamin Herrenschmidt [this message]
2014-12-12 19:15 ` [Qemu-devel] [PATCH 16/16] ipmi: Add a thread to better simulate a BMC minyard
2014-12-15 21:11   ` Paolo Bonzini
2014-12-15 21:33     ` Corey Minyard
2014-12-15 21:21 ` [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424638093.4980.10.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=minyard@acm.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).