diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-12-08 15:18:27 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-19 14:05:15 +0100 |
commit | 005e975a3bd08dce8d77746d6688cac615fe7c97 (patch) | |
tree | fa06aba199457ce4e360ec4d69c38b54a08308be /virt/kvm | |
parent | arm64: insn: Allow ADD/SUB (immediate) with LSL #12 (diff) | |
download | linux-005e975a3bd08dce8d77746d6688cac615fe7c97.tar.xz linux-005e975a3bd08dce8d77746d6688cac615fe7c97.zip |
arm64: KVM: Dynamically compute the HYP VA mask
As we're moving towards a much more dynamic way to compute our
HYP VA, let's express the mask in a slightly different way.
Instead of comparing the idmap position to the "low" VA mask,
we directly compute the mask by taking into account the idmap's
(VA_BIT-1) bit.
No functionnal change.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions