diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-06-30 18:40:35 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-07-03 23:41:27 +0200 |
commit | cf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b (patch) | |
tree | 5afc0cf776ae43fc1c614b20f6f1fea3e33b55ce /arch/arm | |
parent | 82a81bff90c5fd11fefae35773f7396617a3cfff (diff) | |
download | linux-cf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b.tar.gz linux-cf7df13d3c7c7f8a475c09ef49a5b72f7cfe3f4b.tar.bz2 linux-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/arm')
0 files changed, 0 insertions, 0 deletions