summaryrefslogtreecommitdiff
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-05-02 13:31:03 (GMT)
committerMarc Zyngier <marc.zyngier@arm.com>2013-06-12 15:42:20 (GMT)
commitaa4a73a0a23a65a2f531d01f1865d1e61c6acb55 (patch)
tree1b93c50274f3f4c1729919ed697a4a7fe53b21b3 /Documentation/arm64
parent6394a3ec02ab39147aab9ea56d0dabafd3dcae60 (diff)
downloadlinux-aa4a73a0a23a65a2f531d01f1865d1e61c6acb55.tar.xz
arm64: KVM: document kernel object mappings in HYP
HYP mode has access to some of the kernel pages. Document the memory mapping and the offset between kernel VA and HYP VA. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Documentation/arm64')
-rw-r--r--Documentation/arm64/memory.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/arm64/memory.txt b/Documentation/arm64/memory.txt
index 5f583af..78a37712 100644
--- a/Documentation/arm64/memory.txt
+++ b/Documentation/arm64/memory.txt
@@ -73,3 +73,10 @@ Translation table lookup with 64KB pages:
| | +--------------------------> [41:29] L2 index (only 38:29 used)
| +-------------------------------> [47:42] L1 index (not used)
+-------------------------------------------------> [63] TTBR0/1
+
+When using KVM, the hypervisor maps kernel pages in EL2, at a fixed
+offset from the kernel VA (top 24bits of the kernel VA set to zero):
+
+Start End Size Use
+-----------------------------------------------------------------------
+0000004000000000 0000007fffffffff 256GB kernel objects mapped in HYP