[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/3] hw/arm/virt_acpi_build: Generate DBG2 table
From: |
Andrew Jones |
Subject: |
Re: [PATCH v4 2/3] hw/arm/virt_acpi_build: Generate DBG2 table |
Date: |
Thu, 7 Oct 2021 10:15:35 +0200 |
On Thu, Oct 07, 2021 at 09:29:21AM +0200, Eric Auger wrote:
> ARM SBBR specification mandates DBG2 table (Debug Port Table 2)
> since v1.0 (ARM DEN0044F 8.3.1.7 DBG2).
>
> The DBG2 table allows to describe one or more debug ports.
>
> Generate an DBG2 table featuring a single debug port, the PL011.
>
> The DBG2 specification can be found at
> "Microsoft Debug Port Table 2 (DBG2)"
> https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table?redirectedfrom=MSDN
>
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
> Acked-by: Michael S. Tsirkin <mst@redhat.com>
>
> ---
>
> v3 -> v4:
> - Change the revision in the header (0), + vs comments,
> s/0x1000/vms->memmap[VIRT_UART].size
> - Added Michael's A-b
>
> v2 -> v3:
> Took into account all comments from Igor on v2:
> mostly style adjustment, revision references
>
> v1 -> v2:
> - rebased on Igor's refactoring
> ---
> hw/arm/virt-acpi-build.c | 63 +++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 62 insertions(+), 1 deletion(-)
>
Reviewed-by: Andrew Jones <drjones@redhat.com>