Skip to content

Commit e8440c1

Browse files
misalehMarc Zyngier
authored andcommitted
Documentation: Update the behaviour of "kvm-arm.mode"
Commit 5053c3f ("KVM: arm64: Use hVHE in pKVM by default on CPUs with VHE support") modified the behaviour of "kvm-arm.mode=protected" without the updating the kernel parameters doc. Update it to match the current implementation. Also, update required architecture version for nested virtualization as suggested by Marc. Cc: Will Deacon <[email protected]> Cc: Marc Zyngier <[email protected]> Signed-off-by: Mostafa Saleh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
1 parent e891432 commit e8440c1

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,17 +2748,21 @@
27482748
nvhe: Standard nVHE-based mode, without support for
27492749
protected guests.
27502750

2751-
protected: nVHE-based mode with support for guests whose
2752-
state is kept private from the host.
2751+
protected: Mode with support for guests whose state is
2752+
kept private from the host, using VHE or
2753+
nVHE depending on HW support.
27532754

27542755
nested: VHE-based mode with support for nested
2755-
virtualization. Requires at least ARMv8.3
2756-
hardware.
2756+
virtualization. Requires at least ARMv8.4
2757+
hardware (with FEAT_NV2).
27572758

27582759
Defaults to VHE/nVHE based on hardware support. Setting
27592760
mode to "protected" will disable kexec and hibernation
2760-
for the host. "nested" is experimental and should be
2761-
used with extreme caution.
2761+
for the host. To force nVHE on VHE hardware, add
2762+
"arm64_sw.hvhe=0 id_aa64mmfr1.vh=0" to the
2763+
command-line.
2764+
"nested" is experimental and should be used with
2765+
extreme caution.
27622766

27632767
kvm-arm.vgic_v3_group0_trap=
27642768
[KVM,ARM,EARLY] Trap guest accesses to GICv3 group-0

0 commit comments

Comments
 (0)