linux/arch/arm64/kvm/hyp/nvhe
Suzuki K Poulose d2602bb4f5 KVM: arm64: Move SPE availability check to VCPU load
At the moment, we check the availability of SPE on the given
CPU (i.e, SPE is implemented and is allowed at the host) during
every guest entry. This can be optimized a bit by moving the
check to vcpu_load time and recording the availability of the
feature on the current CPU via a new flag. This will also be useful
for adding the TRBE support.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Alexandru Elisei <Alexandru.Elisei@arm.com>
Cc: James Morse <james.morse@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210405164307.1720226-7-suzuki.poulose@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2021-04-06 16:05:20 -06:00
..
.gitignore KVM: arm64: Generate hyp relocation data 2021-01-23 14:01:00 +00:00
debug-sr.c KVM: arm64: Move SPE availability check to VCPU load 2021-04-06 16:05:20 -06:00
gen-hyprel.c KVM: arm64: Make gen-hyprel endianness agnostic 2021-02-01 12:02:49 +00:00
host.S KVM: arm64: Fix nVHE hyp panic host context restore 2021-03-06 04:18:40 -05:00
hyp-init.S x86: 2021-02-21 13:31:43 -08:00
hyp-main.c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM 2021-03-09 17:58:56 +00:00
hyp-smp.c KVM: arm64: Remove hyp_symbol_addr 2021-01-23 14:01:00 +00:00
hyp.lds.S KVM: arm64: Add symbol at the beginning of each hyp section 2021-01-23 14:00:57 +00:00
Makefile Merge branch 'kvm-arm64/hyp-reloc' into kvmarm-master/next 2021-02-12 14:08:18 +00:00
psci-relay.c Merge branch 'kvm-arm64/hyp-reloc' into kvmarm-master/next 2021-02-12 14:08:18 +00:00
switch.c KVM: arm64: Fix nVHE hyp panic host context restore 2021-03-06 04:18:40 -05:00
sysreg-sr.c KVM: arm64: Simplify __kvm_enable_ssbs() 2020-11-27 11:32:44 +00:00
timer-sr.c
tlb.c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM 2021-03-09 17:58:56 +00:00