summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratyush Yadav (Google) <pratyush@kernel.org>2026-05-19 15:57:06 +0300
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-06-01 09:19:38 +0300
commit6bd280c7feebd922144fd74869ee222c22ddd042 (patch)
treeab3df53349604d9f4030cc700857efe2fa869c44
parent42897b76de43e0686c18120e92ac95026ab13940 (diff)
downloadlinux-6bd280c7feebd922144fd74869ee222c22ddd042.tar.xz
liveupdate: document liveupdate=on
While the liveupdate= parameter is documented in kernel-parameters.txt, it is not listed in LUO's user facing documentation. This can make it hard for users to figure out how to enable the subsystem, since enabling just the config isn't enough. Note the need for the kernel parameter in LUO core documentation, which gets exported to Documentation/core-api/liveupdate.rst. Suggested-by: Luca Boccassi <luca.boccassi@gmail.com> Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org> Acked-by: Luca Boccassi <luca.boccassi@gmail.com> Link: https://patch.msgid.link/20260519125714.2435640-1-pratyush@kernel.org Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com> Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
-rw-r--r--kernel/liveupdate/luo_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/liveupdate/luo_core.c b/kernel/liveupdate/luo_core.c
index 803f51c84275..5d5827ced73c 100644
--- a/kernel/liveupdate/luo_core.c
+++ b/kernel/liveupdate/luo_core.c
@@ -36,6 +36,10 @@
*
* LUO uses Kexec Handover to transfer memory state from the current kernel to
* the next kernel. For more details see Documentation/core-api/kho/index.rst.
+ *
+ * .. note::
+ * To enable LUO, boot the kernel with the ``liveupdate=on`` command line
+ * parameter.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt