]> xenbits.xensource.com Git - xen.git/commit
arm/mem_access: Add long-descriptor based gpt
authorSergej Proskurin <proskurin@sec.in.tum.de>
Wed, 16 Aug 2017 13:17:42 +0000 (15:17 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 18 Aug 2017 17:27:43 +0000 (10:27 -0700)
commit7d623b358a45b9385ae5c1b2e7c96a8681685e4e
tree626a5132b5be64c0451cb3b0f1dfdf586126c122
parent7e32eb7c7ca7b3bc788f982b53908727f698c9ac
arm/mem_access: Add long-descriptor based gpt

This commit adds functionality to walk the guest's page tables using the
long-descriptor translation table format for both ARMv7 and ARMv8.
Similar to the hardware architecture, the implementation supports
different page granularities (4K, 16K, and 64K). The implementation is
based on ARM DDI 0487B.a J1-5922, J1-5999, and ARM DDI 0406C.b B3-1510.

Note that the current implementation lacks support for Large VA/PA on
ARMv8.2 architectures (LVA/LPA, 52-bit virtual and physical address
sizes). The associated location in the code is marked appropriately.

Signed-off-by: Sergej Proskurin <proskurin@sec.in.tum.de>
Acked-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/guest_walk.c
xen/include/asm-arm/p2m.h