summaryrefslogtreecommitdiff
path: root/lib/asn1_decoder.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2012-10-28 04:09:14 +0400
committerChristoffer Dall <cdall@cs.columbia.edu>2013-03-07 03:48:44 +0400
commit06e8c3b0f3210e5e7039fd2b5e3926b68df7f5d7 (patch)
tree99ad1af05824cc65a5ded6764f6ef8a2eb40be17 /lib/asn1_decoder.c
parent9c7a6432fb081563f084b25bbd2774b1547c4fad (diff)
downloadlinux-06e8c3b0f3210e5e7039fd2b5e3926b68df7f5d7.tar.xz
ARM: KVM: allow HYP mappings to be at an offset from kernel mappings
arm64 cannot represent the kernel VAs in HYP mode, because of the lack of TTBR1 at EL2. A way to cope with this situation is to have HYP VAs to be an offset from the kernel VAs. Introduce macros to convert a kernel VA to a HYP VA, make the HYP mapping functions use these conversion macros. Also change the documentation to reflect the existence of the offset. On ARM, where we can have an identity mapping between kernel and HYP, the macros are without any effect. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'lib/asn1_decoder.c')
0 files changed, 0 insertions, 0 deletions