summaryrefslogtreecommitdiffstats
path: root/hw/arm/virt-acpi-build.c
diff options
context:
space:
mode:
authorMarc Zyngier2022-01-14 15:07:41 +0100
committerPeter Maydell2022-01-20 12:47:53 +0100
commit2dcb74e5c271b9bb581013b949e4ef3bb3f6969b (patch)
tree27a7559b484702c28f9e6c5583ffbeacd3b890ed /hw/arm/virt-acpi-build.c
parenthw/arm/virt: Disable highmem devices that don't fit in the PA range (diff)
downloadqemu-2dcb74e5c271b9bb581013b949e4ef3bb3f6969b.tar.gz
qemu-2dcb74e5c271b9bb581013b949e4ef3bb3f6969b.tar.xz
qemu-2dcb74e5c271b9bb581013b949e4ef3bb3f6969b.zip
hw/arm/virt: Drop superfluous checks against highmem
Now that the devices present in the extended memory map are checked against the available PA space and disabled when they don't fit, there is no need to keep the same checks against highmem, as highmem really is a shortcut for the PA space being 32bit. Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Message-id: 20220114140741.1358263-7-maz@kernel.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/virt-acpi-build.c')
-rw-r--r--hw/arm/virt-acpi-build.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index 0757c28f69..449fab0080 100644
--- a/hw/arm/virt-acpi-build.c
+++ b/hw/arm/virt-acpi-build.c
@@ -947,8 +947,6 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
acpi_add_table(table_offsets, tables_blob);
build_fadt_rev5(tables_blob, tables->linker, vms, dsdt);
- vms->highmem_redists &= vms->highmem;
-
acpi_add_table(table_offsets, tables_blob);
build_madt(tables_blob, tables->linker, vms);