mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
d9afe24c29
commit
2dcb74e5c2
2 changed files with 1 additions and 6 deletions
|
@ -2178,9 +2178,6 @@ static void machvirt_init(MachineState *machine)
|
|||
|
||||
virt_flash_fdt(vms, sysmem, secure_sysmem ?: sysmem);
|
||||
|
||||
vms->highmem_mmio &= vms->highmem;
|
||||
vms->highmem_redists &= vms->highmem;
|
||||
|
||||
create_gic(vms, sysmem);
|
||||
|
||||
virt_cpu_post_init(vms, sysmem);
|
||||
|
@ -2199,7 +2196,7 @@ static void machvirt_init(MachineState *machine)
|
|||
machine->ram_size, "mach-virt.tag");
|
||||
}
|
||||
|
||||
vms->highmem_ecam &= vms->highmem && (!firmware_loaded || aarch64);
|
||||
vms->highmem_ecam &= (!firmware_loaded || aarch64);
|
||||
|
||||
create_rtc(vms);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue