linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: admin-guide: Document side effects when pKVM is enabled
@ 2021-10-11 15:38 Alexandru Elisei
  2021-10-11 15:55 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandru Elisei @ 2021-10-11 15:38 UTC (permalink / raw)
  To: corbet, linux-doc, linux-kernel, catalin.marinas, will, maz,
	james.morse, suzuki.poulose, kvmarm, linux-arm-kernel

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>
---
Based on the tip of the pkvm/restrict-hypercalls series [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/pkvm/restrict-hypercalls

 Documentation/admin-guide/kernel-parameters.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 91ba391f9b32..741e33fd444a 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2372,7 +2372,9 @@
 				   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
-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: admin-guide: Document side effects when pKVM is enabled
  2021-10-11 15:38 [PATCH] Documentation: admin-guide: Document side effects when pKVM is enabled Alexandru Elisei
@ 2021-10-11 15:55 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2021-10-11 15:55 UTC (permalink / raw)
  To: james.morse, linux-arm-kernel, will, corbet, Alexandru Elisei,
	catalin.marinas, linux-kernel, kvmarm, suzuki.poulose, linux-doc

On Mon, 11 Oct 2021 16:38:35 +0100, Alexandru Elisei wrote:
> 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.

Applied to next, thanks!

[1/1] Documentation: admin-guide: Document side effects when pKVM is enabled
      commit: 53e8ce137f7b34bd7a54429d18e0d0e5f56f54e8

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-11 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 15:38 [PATCH] Documentation: admin-guide: Document side effects when pKVM is enabled Alexandru Elisei
2021-10-11 15:55 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).