Documentation: admin-guide: Document side effects when pKVM is enabled
authorAlexandru Elisei <alexandru.elisei@arm.com>
Mon, 11 Oct 2021 15:38:35 +0000 (16:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 15:52:11 +0000 (16:52 +0100)
Recent changes to KVM for arm64 has made it impossible for the host to
hibernate or use kexec when protected mode is enabled via the kernel
command line.

There are people who rely on kexec (for example, developers who use kexec
as a quick way to test a new kernel), let's document this change in
behaviour, so it doesn't catch them by surprise and we have a place to
point people to if it does.

Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211011153835.291147-1-alexandru.elisei@arm.com
Documentation/admin-guide/kernel-parameters.txt

index 91ba391f9b328b46ecce8c3c187d8e8c9238f0fc..741e33fd444aeb97fb7cc86eaae411625c2ddbb3 100644 (file)
                                   state is kept private from the host.
                                   Not valid if the kernel is running in EL2.
 
-                       Defaults to VHE/nVHE based on hardware support.
+                       Defaults to VHE/nVHE based on hardware support. Setting
+                       mode to "protected" will disable kexec and hibernation
+                       for the host.
 
        kvm-arm.vgic_v3_group0_trap=
                        [KVM,ARM] Trap guest accesses to GICv3 group-0