summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-12-05 19:45:48 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-19 14:05:31 +0100
commit6bb934af1f737eba51e2f3f73760715788a7e283 (patch)
tree702b1a054a3a9c76f07c55251b0c496484f3f004
parentarm64: KVM: Introduce EL2 VA randomisation (diff)
downloadlinux-6bb934af1f737eba51e2f3f73760715788a7e283.tar.xz
linux-6bb934af1f737eba51e2f3f73760715788a7e283.zip
arm64: Update the KVM memory map documentation
Update the documentation to reflect the new tricks we play on the EL2 mappings... Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r--Documentation/arm64/memory.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/arm64/memory.txt b/Documentation/arm64/memory.txt
index 671bc0639262..c58cc5dbe667 100644
--- a/Documentation/arm64/memory.txt
+++ b/Documentation/arm64/memory.txt
@@ -86,9 +86,11 @@ Translation table lookup with 64KB pages:
+-------------------------------------------------> [63] TTBR0/1
-When using KVM without the Virtualization Host Extensions, the hypervisor
-maps kernel pages in EL2 at a fixed offset from the kernel VA. See the
-kern_hyp_va macro for more details.
+When using KVM without the Virtualization Host Extensions, the
+hypervisor maps kernel pages in EL2 at a fixed (and potentially
+random) offset from the linear mapping. See the kern_hyp_va macro and
+kvm_update_va_mask function for more details. MMIO devices such as
+GICv2 gets mapped next to the HYP idmap page.
When using KVM with the Virtualization Host Extensions, no additional
mappings are created, since the host kernel runs directly in EL2.