diff options
author | Will Deacon <will@kernel.org> | 2022-06-09 13:12:20 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-06-09 13:24:02 +0100 |
commit | cde5042adf11b0a30a6ce0ec3d071afcf8d2efaf (patch) | |
tree | 4854b471468b011791c6fdec342b7c39e1a084b9 /crypto/fcrypt.c | |
parent | fa7a17214488ef7df347dcd1a5594f69ea17f4dc (diff) |
KVM: arm64: Ignore 'kvm-arm.mode=protected' when using VHE
Ignore 'kvm-arm.mode=protected' when using VHE so that kvm_get_mode()
only returns KVM_MODE_PROTECTED on systems where the feature is available.
Cc: David Brazdil <dbrazdil@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220609121223.2551-4-will@kernel.org
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions