diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-10-28 00:09:14 (GMT) |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-03-06 23:48:44 (GMT) |
commit | 06e8c3b0f3210e5e7039fd2b5e3926b68df7f5d7 (patch) | |
tree | 99ad1af05824cc65a5ded6764f6ef8a2eb40be17 /drivers/amba | |
parent | 9c7a6432fb081563f084b25bbd2774b1547c4fad (diff) | |
download | linux-fsl-qoriq-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 'drivers/amba')
0 files changed, 0 insertions, 0 deletions