target-arm: A64: fix use 12 bit page tables for AArch64 [!UPSTREAM]
The AArch64 architecture only support 4k+ pages so using a smaller value
for QEMU's internal page table handling only makes us less efficient. I
ran some simple benchmarks and measured a 25-30% speed improvement for
CPU bound tasks like booting the kernel or compressing a section of a
file-system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
Upstream status:
The patch as is in not suitable for upstream as booting a sufficiently
old aarch32 image against the aarch64-system emulator would break with
such a static fixing of the table.
The work to update the size of the page table on start-up needs to be done.
1 file changed