linux/arch/arm64/kvm/hyp
David Brazdil 97cbd2fc02 KVM: arm64: Fix constant-pool users in hyp
Hyp code uses absolute addressing to obtain a kimg VA of a small number
of kernel symbols. Since the kernel now converts constant pool addresses
to hyp VAs, this trick does not work anymore.

Change the helpers to convert from hyp VA back to kimg VA or PA, as
needed and rework the callers accordingly.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-7-dbrazdil@google.com
2021-01-23 14:01:00 +00:00
..
include KVM: arm64: Move skip_host_instruction to adjust_pc.h 2020-12-22 10:49:09 +00:00
nvhe KVM: arm64: Fix constant-pool users in hyp 2021-01-23 14:01:00 +00:00
vhe KVM: arm64: Add basic hooks for injecting exceptions from EL2 2020-11-10 08:34:25 +00:00
aarch32.c KVM: arm64: Move kvm_vcpu_trap_il_is32bit into kvm_skip_instr32() 2020-11-10 08:34:24 +00:00
entry.S Merge branch 'kvm-arm64/hyp-pcpu' into kvmarm-master/next 2020-09-30 14:05:35 +01:00
exception.c KVM: arm64: Inject AArch32 exceptions from HYP 2020-11-10 08:34:26 +00:00
fpsimd.S KVM: arm64: Remove __hyp_text macro, use build rules instead 2020-07-05 18:38:45 +01:00
hyp-entry.S KVM: arm64: Remove redundant hyp vectors entry 2020-11-16 10:43:06 +00:00
Makefile KVM: arm64: Allocate hyp vectors statically 2020-11-16 10:43:05 +00:00
pgtable.c KVM: arm64: Fix handling of merging tables into a block entry 2020-12-02 09:42:36 +00:00
vgic-v2-cpuif-proxy.c KVM: arm64: Make kvm_skip_instr() and co private to HYP 2020-11-10 08:34:24 +00:00
vgic-v3-sr.c KVM: arm64: Make kvm_skip_instr() and co private to HYP 2020-11-10 08:34:24 +00:00