ARM: qemu-arm: Bump RAM size in AArch64 MMU table
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Mon, 14 May 2018 15:47:51 +0000 (18:47 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 16:46:50 +0000 (12:46 -0400)
Now that PCI devices work with highmem-enabled QEMU emulation, bump up
the RAM size in the MMU tables to gain access to the full 255 GB of RAM
potential instead of the puny 3 GB.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-arm/qemu-arm.c

index 6ec420017068747a0ecf1c25491add6cf73006e8..085cbbef994e4225b322d0aa02aa8b6ee0fd6c0a 100644 (file)
@@ -28,7 +28,7 @@ static struct mm_region qemu_arm64_mem_map[] = {
                /* RAM */
                .virt = 0x40000000UL,
                .phys = 0x40000000UL,
-               .size = 0xc0000000UL,
+               .size = 255UL * SZ_1G,
                .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
                         PTE_BLOCK_INNER_SHARE
        }, {