summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/virt.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-06-30 19:40:40 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2016-07-03 23:41:27 +0200
commitfd81e6bf3928c14f90a033df164c375d4ce0fd85 (patch)
tree9bf9ac123d247ee0bcc9702b683031a65d21b541 /arch/arm64/include/asm/virt.h
parentarm64: KVM: Define HYP offset masks (diff)
downloadlinux-fd81e6bf3928c14f90a033df164c375d4ce0fd85.tar.xz
linux-fd81e6bf3928c14f90a033df164c375d4ce0fd85.zip
arm64: KVM: Refactor kern_hyp_va to deal with multiple offsets
As we move towards a selectable HYP VA range, it is obvious that we don't want to test a variable to find out if we need to use the bottom VA range, the top VA range, or use the address as is (for VHE). Instead, we can expand our current helper to generate the right mask or nop with code patching. We default to using the top VA space, with alternatives to switch to the bottom one or to nop out the instructions. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/virt.h')
0 files changed, 0 insertions, 0 deletions