acpi: arm/virt: build_gtdt: fix invalid 64-bit physical addresses
authorMiguel Luis <miguel.luis@oracle.com>
Tue, 20 Sep 2022 16:21:36 +0000 (16:21 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (16:38 -0400)
commit5dbc9a27856b7b345c6cbd47eba0d730d9852ce1
treeddd0a3fbfac0ff4889e264e7515bbf4766cac413
parentb1b146f53cad89ed51956f67bc5b672348753777
acpi: arm/virt: build_gtdt: fix invalid 64-bit physical addresses

Per the ACPI 6.5 specification, on the GTDT Table Structure, the Counter Control
Block Address and Counter Read Block Address fields of the GTDT table should be
set to 0xFFFFFFFFFFFFFFFF if not provided, rather than 0x0.

Fixes: 41041e57085 ("acpi: arm/virt: build_gtdt: use acpi_table_begin()/acpi_table_end() instead of build_header()")
Signed-off-by: Miguel Luis <miguel.luis@oracle.com>
Message-Id: <20220920162137.75239-3-miguel.luis@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
hw/arm/virt-acpi-build.c