aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-06-30 18:40:35 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2016-07-03 23:41:27 +0200
commitcf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b (patch)
tree5afc0cf776ae43fc1c614b20f6f1fea3e33b55ce /arch/arm64/include/asm/kvm_hyp.h
parentarm64: KVM: Merged page tables documentation (diff)
downloadlinux-dev-cf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b.tar.xz
linux-dev-cf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b.zip
arm64: KVM: Always reference __hyp_panic_string via its kernel VA
__hyp_panic_string is passed via the HYP panic code to the panic function, and is being "upgraded" to a kernel address, as it is referenced by the HYP code (in a PC-relative way). This is a bit silly, and we'd be better off obtaining the kernel address and not mess with it at all. This patch implements this with a tiny bit of asm glue, by forcing the string pointer to be read from the literal pool. 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/kvm_hyp.h')
0 files changed, 0 insertions, 0 deletions