diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-27 23:23:28 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-10 12:22:51 +0100 |
commit | 4ff3fc316d78daa2ed6de2f13616fb33a2926d8e (patch) | |
tree | 3a249f0bbbfcc7387a8b92df5016a7882c70ecb3 /arch/arm64/include | |
parent | KVM: arm64: Introduce handling of AArch32 TTBCR2 traps (diff) | |
download | linux-4ff3fc316d78daa2ed6de2f13616fb33a2926d8e.tar.xz linux-4ff3fc316d78daa2ed6de2f13616fb33a2926d8e.zip |
KVM: arm64: Move AArch32 exceptions over to AArch64 sysregs
The use of the AArch32-specific accessors have always been a bit
annoying on 64bit, and it is time for a change.
Let's move the AArch32 exception injection over to the AArch64 encoding,
which requires us to split the two halves of FAR_EL1 into DFAR and IFAR.
This enables us to drop the preempt_disable() games on VHE, and to kill
the last user of the vcpu_cp15() macro.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 803cb2427b54..c905c3fcaaa0 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -562,7 +562,6 @@ static inline bool __vcpu_write_sys_reg_to_cpu(u64 val, int reg) #define CPx_BIAS IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) #define vcpu_cp14(v,r) ((v)->arch.ctxt.copro[(r) ^ CPx_BIAS]) -#define vcpu_cp15(v,r) ((v)->arch.ctxt.copro[(r) ^ CPx_BIAS]) struct kvm_vm_stat { ulong remote_tlb_flush; |