diff options
author | Will Deacon | 2020-11-13 11:38:43 +0000 |
---|---|---|
committer | Marc Zyngier | 2020-11-16 10:40:18 +0000 |
commit | da592e68a5a333b81111bd6336838764732f723e (patch) | |
tree | 687e40a5086ae44afeae07b94e41eb8fb348133d /arch/arm64/include/asm/kvm_asm.h | |
parent | 6279017e807708a07db5edace462713a93625da3 (diff) |
KVM: arm64: Re-jig logic when patching hardened hyp vectors
The hardened hyp vectors are not used on systems running with VHE or CPUs
without the ARM64_HARDEN_EL2_VECTORS capability.
Re-jig the checking logic slightly in kvm_patch_vector_branch() so that
it's a bit clearer what we're looking for. This is purely cosmetic.
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201113113847.21619-7-will@kernel.org
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
0 files changed, 0 insertions, 0 deletions