arm64: fix documentation on kernel pages mappings to HYP VA
authorYury Norov <ynorov@caviumnetworks.com>
Wed, 13 Sep 2017 18:08:30 +0000 (21:08 +0300)
committerWill Deacon <will.deacon@arm.com>
Mon, 2 Oct 2017 09:13:05 +0000 (10:13 +0100)
commit9339fd348dd98ed64879a48dc7290cc3fa4e2911
tree81b122402ffd377fce1b5e2435b055fe2176bc4c
parenteef94a3d09aab437c8c254de942d8b1aa76455e2
arm64: fix documentation on kernel pages mappings to HYP VA

The Documentation/arm64/memory.txt says:
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):

In fact, kernel addresses are transleted to HYP with kern_hyp_va macro,
which has more options, and none of them assumes clearing of top 24bits
of the kernel VA.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
[will: removed gory details]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/arm64/memory.txt