From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb8rb-0002Wq-HO for qemu-devel@nongnu.org; Sun, 13 Sep 2015 11:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zb8rY-0003iD-BW for qemu-devel@nongnu.org; Sun, 13 Sep 2015 11:06:43 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:36092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb8rY-0003ha-5b for qemu-devel@nongnu.org; Sun, 13 Sep 2015 11:06:40 -0400 Received: by wicgb1 with SMTP id gb1so112241552wic.1 for ; Sun, 13 Sep 2015 08:06:38 -0700 (PDT) From: Leif Lindholm Date: Sun, 13 Sep 2015 16:06:31 +0100 Message-Id: <1442156793-30708-1-git-send-email-leif.lindholm@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] ACPI/arm-virt: add DBG2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, drjones@redhat.com, shannon.zhao@linaro.org, imammedo@redhat.com, mst@redhat.com The Debug Port Table 2 (DBG2) is mandated by the ARM Server Base Boot Requirements specification. Add the DBG2 table definitions, and set up an entry in the ARM virt machine for the pl011 UART. Changes since v1: - Static structure replaced with separate Header/Device structs. - Missing cpu_to_le*() transforms added in table construction. - Added missing setting of address_size_offset. - Commit message modified to mention SPCR spec version bump. Not changed since v1: - It's still statically allocated, although the structure definitions would now permit a dynamic creation ... I'm just slightly too unfamiliar with both ACPI in general and the QEMU aml_* functions to quite wrap my head around how to do this dynamically. Leif Lindholm (2): ACPI: Add definitions for the DBG2 table hw/arm/virt-acpi-build: Add DBG2 table hw/arm/virt-acpi-build.c | 60 ++++++++++++++++++++++++++++++++++++++++++++- include/hw/acpi/acpi-defs.h | 35 ++++++++++++++++++++++++-- 2 files changed, 92 insertions(+), 3 deletions(-) -- 2.1.4