[SeaBIOS] EC space vs SystemIO for cpu hotplug

2013-05-29 Thread li guang
Hi, Igor and all based on the patches pass cpu online/offline event bewteen QEMU, http://lists.nongnu.org/archive/html/qemu-devel/2013-05/msg04135.html I'd like to go further, IMHO, too many specific operation regions of SystemIO have been created for specific usage, like pci-hotplug,

Re: [SeaBIOS] [Qemu-devel] [PATCH 4/4][seabios] ec: add ASL for ACPI Embedded Controller

2013-05-22 Thread li guang
Add seabios mail-list 在 2013-05-22三的 11:46 +0800,liguang写道: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- src/acpi-dsdt.dsl |1 + src/ec.dsl| 51 + src/q35-acpi-dsdt.dsl |1 + 3 files changed, 53

[SeaBIOS] [RFC][PATCH 0/2] Embedded Controller chip emulation

2013-04-17 Thread li guang
Embedded Controller chip could commonly be found at platforms for laptop, it generally does power management, keyboard and mouse simulation, ACPI defined operation, low-speed devices handling ... It talks with OS via io-port 0x60/0x54, 0x62/0x66, the first pair is for i8042 compatible, the last

Re: [SeaBIOS] [Qemu-devel] [RFC][PATCH 2/2] hw: add Embedded Controller chip emulation

2013-04-17 Thread li guang
在 2013-04-17三的 19:54 +0200,Andreas Färber写道: Am 17.04.2013 09:23, schrieb liguang: this work implemented Embedded Controller chip emulation which was defined at ACPI SEPC v5 chapter 12: ACPI Embedded Controller Interface Specification commonly Embedded Controller will emulate keyboard,

Re: [SeaBIOS] [RFC][PATCH 0/2] Embedded Controller chip emulation

2013-04-17 Thread li guang
Oh, No, that's a private interface for Intel's AMT, this is a chip embedded in mainboard. 在 2013-04-17三的 11:04 +0200,Fred .写道: HECI ? http://en.wikipedia.org/wiki/Host_Embedded_Controller_Interface On Wed, Apr 17, 2013 at 9:32 AM, li guang lig.f...@cn.fujitsu.com wrote

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2013-03-27 Thread li guang
在 2013-03-26二的 11:20 -0300,Eduardo Habkost写道: On Wed, Mar 20, 2013 at 02:18:00PM +0800, li guang wrote: 在 2013-01-09三的 01:08 +0100,Andreas Färber写道: Am 18.12.2012 13:41, schrieb Vasilis Liaskovitis: Because dimm layout needs to be configured on machine-boot, all dimm devices

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2013-03-26 Thread li guang
在 2013-03-26二的 17:58 +0100,Vasilis Liaskovitis写道: Hi, On Tue, Mar 19, 2013 at 02:30:25PM +0800, li guang wrote: 在 2013-01-10四的 19:57 +0100,Vasilis Liaskovitis写道: IIRC q35 supports memory hotplug natively (picked up in some discussion). Is that correct? From

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 09/30] Implement dimm device abstraction

2013-03-25 Thread li guang
在 2012-12-18二的 13:41 +0100,Vasilis Liaskovitis写道: Each hotplug-able memory slot is a DimmDevice. All DimmDevices are attached to a new bus called DimmBus. This bus is introduced so that we no longer depend on hotplug-capability of main system bus (the main bus does not allow hotplugging). The

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 07/30] Add SIZE type to qdev properties

2013-03-20 Thread li guang
在 2012-12-18二的 13:41 +0100,Vasilis Liaskovitis写道: This patch adds a 'SIZE' type property to qdev. It will make dimm description more convenient by allowing sizes to be specified with K,M,G,T prefixes instead of number of bytes e.g.: -device dimm,id=mem0,size=2G,bus=membus.0 Credits go

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2013-03-20 Thread li guang
在 2013-01-09三的 01:08 +0100,Andreas Färber写道: Am 18.12.2012 13:41, schrieb Vasilis Liaskovitis: Because dimm layout needs to be configured on machine-boot, all dimm devices need to be specified on startup command line (either with populated=on or with populated=off). The dimm information

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2013-03-19 Thread li guang
在 2013-01-10四的 19:57 +0100,Vasilis Liaskovitis写道: IIRC q35 supports memory hotplug natively (picked up in some discussion). Is that correct? From previous discussion I also understand that q35 supports native hotplug. Sections 5.1 and 5.2 of the spec describe the MCH

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2013-03-19 Thread li guang
在 2013-02-28四的 11:18 +0100,Vasilis Liaskovitis写道: Hi, sorry for the delay. On Tue, Feb 19, 2013 at 07:39:40PM -0300, Erlon Cruz wrote: On Tue, Dec 18, 2012 at 10:41 AM, Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com wrote: This is v4 of the ACPI memory hotplug

Re: [SeaBIOS] [Qemu-devel] [RFC PATCH v4 01/30] Add ACPI_EXTRACT_DEVICE* macros

2013-03-19 Thread li guang
seems these changes is in seebios now. 在 2012-12-18二的 13:41 +0100,Vasilis Liaskovitis写道: This allows to extract the beginning, end and name of a Device object. --- tools/acpi_extract.py | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git

Re: [SeaBIOS] [Seabios PATCH] make reboot-timeout to static for using it after POST phase

2013-03-06 Thread li guang
在 2013-03-05二的 10:06 +0800,Amos Kong写道: From: Kevin O'Connor ke...@koconnor.net Memory allocated with malloc_tmp() can't be used after the POST phase. The reboot-timeout inside romfile could not be loaded in boot_fail(). The patch saved reboot-timeout to a static variable, it fixed the

Re: [SeaBIOS] [Qemu-devel] [seabios][PATCH 1/2] move all acpi-table related definitions to acpi.h

2013-02-14 Thread li guang
在 2013-02-06三的 23:15 -0500,Kevin O'Connor写道: On Mon, Feb 04, 2013 at 10:27:59AM +0800, liguang wrote: Signed-off-by: liguang lig.f...@cn.fujitsu.com Thanks. Some comments. [...] --- a/src/acpi.h +++ b/src/acpi.h [...] +#include acpi-dsdt.hex Moving the acpi structure defines to

Re: [SeaBIOS] [Qemu-devel] [seabios][PATCH 2/2] acpi: change numa data format from fw_cfg interface

2013-02-14 Thread li guang
Sorry for late reply 在 2013-02-06三的 23:18 -0500,Kevin O'Connor写道: On Mon, Feb 04, 2013 at 10:28:00AM +0800, liguang wrote: the old numa format got form fw_cfg is: number of nodes node id of cpu (array) node memory size (array) now, format it like array of: apci_map, memory_size,

Re: [SeaBIOS] [Qemu-devel] [PATCH 5/6] load_linux: report open kernel file its size error

2013-02-04 Thread li guang
OK, will fix. Thanks! 在 2013-02-04一的 18:20 +,Blue Swirl写道: On Mon, Feb 4, 2013 at 2:27 AM, liguang lig.f...@cn.fujitsu.com wrote: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/pc.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git