aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-06-09 13:12:20 +0100
committerMarc Zyngier <maz@kernel.org>2022-06-09 13:24:02 +0100
commitcde5042adf11b0a30a6ce0ec3d071afcf8d2efaf (patch)
tree4854b471468b011791c6fdec342b7c39e1a084b9 /Documentation
parentKVM: arm64: Handle all ID registers trapped for a protected VM (diff)
downloadlinux-dev-cde5042adf11b0a30a6ce0ec3d071afcf8d2efaf.tar.xz
linux-dev-cde5042adf11b0a30a6ce0ec3d071afcf8d2efaf.zip
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 'Documentation')
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 8090130b544b..97c16aa2f53f 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2469,7 +2469,6 @@
protected: nVHE-based mode with support for guests whose
state is kept private from the host.
- Not valid if the kernel is running in EL2.
Defaults to VHE/nVHE based on hardware support. Setting
mode to "protected" will disable kexec and hibernation