From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPdS0-00060i-9I for qemu-devel@nongnu.org; Sun, 22 Feb 2015 15:48:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPdRw-0008Vu-8q for qemu-devel@nongnu.org; Sun, 22 Feb 2015 15:48:28 -0500 Received: from gate.crashing.org ([63.228.1.57]:48033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPdRv-0008Vi-Vl for qemu-devel@nongnu.org; Sun, 22 Feb 2015 15:48:24 -0500 Message-ID: <1424638093.4980.10.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Mon, 23 Feb 2015 07:48:13 +1100 In-Reply-To: <54E6A717.7070403@acm.org> References: <1418411751-3614-1-git-send-email-minyard@acm.org> <1418411751-3614-16-git-send-email-minyard@acm.org> <1424314469.26254.26.camel@kernel.crashing.org> <54E6A717.7070403@acm.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 15/16] ipmi: Add ACPI table entries for BMCs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: minyard@acm.org Cc: qemu-devel@nongnu.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.