From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0hjx-000871-EK for qemu-devel@nongnu.org; Thu, 04 Jun 2015 22:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0hju-00023M-6e for qemu-devel@nongnu.org; Thu, 04 Jun 2015 22:52:13 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:49822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0hjt-00023B-Jk for qemu-devel@nongnu.org; Thu, 04 Jun 2015 22:52:10 -0400 Message-ID: <55710DF3.8030600@huawei.com> Date: Fri, 5 Jun 2015 10:48:19 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1433434873-25200-1-git-send-email-mst@redhat.com> In-Reply-To: <1433434873-25200-1-git-send-email-mst@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] acpi: xsdt support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , qemu-devel@nongnu.org Cc: ghammer@redhat.com, pbonzini@redhat.com, lersek@redhat.com, shannon.zhao@linaro.org, imammedo@redhat.com On 2015/6/5 0:21, Michael S. Tsirkin wrote: > XSDT support allows using ACPI 2 features while > avoiding breaking legacy windows XP guests: > ACPI 2 tables are linked from XSDT only, > ACPI 1 tables from both RSDT and XSDT, this way > XP does not see ACPI 2 tables. > > As a first step, this patchset generates v2 RSDP > and fills in XSDT matching RSDT exactly. > > ARM patch is untested: I don't know how to test ARM ACPI. > Testing reports would be greatly appreciated. > I've tested it on ARM, no error appears. > Michael S. Tsirkin (4): > acpi: add API for 64 bit offsets > i386/acpi: collect 64 bit offsets for xsdt > i386/acpi: add XSDT > acpi: unify rsdp generation > > include/hw/acpi/acpi-defs.h | 15 +++++-- > include/hw/acpi/aml-build.h | 7 +++- > hw/acpi/aml-build.c | 99 +++++++++++++++++++++++++++++++++++++-------- > hw/arm/virt-acpi-build.c | 39 +++--------------- > hw/i386/acpi-build.c | 64 +++++++++++------------------ > 5 files changed, 129 insertions(+), 95 deletions(-) > -- Shannon