From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z21ZG-0005vG-VW for qemu-devel@nongnu.org; Mon, 08 Jun 2015 14:14:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z21ZA-0000BY-Bo for qemu-devel@nongnu.org; Mon, 08 Jun 2015 14:14:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z21ZA-0000BK-6I for qemu-devel@nongnu.org; Mon, 08 Jun 2015 14:14:32 -0400 Date: Mon, 8 Jun 2015 20:14:28 +0200 From: "Michael S. Tsirkin" Message-ID: <1433787255-4372-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ghammer@redhat.com, pbonzini@redhat.com, lersek@redhat.com, shannon.zhao@linaro.org, imammedo@redhat.com 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 can switch to XSDT as well, I'm not bothering until there's an easy way to test that. Note: unit test files need to be updated with this, I'm not bothering with posting them. Changes from v1: xsdt address is 64 bit arm patch is now tested 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(-) -- MST