Skip to contentSkip to conversation

liveupdate: document liveupdate=on

PATCH Applied Pratyush Yadav 3 participants 3 messages May 19

Subsystems (3)
lore
Share & tools
lore

Pratyush Yadav

author maintainer
#0 lore raw

PATCH 1/1 liveupdate: document liveupdate=on

From: "Pratyush Yadav (Google)" <[email protected]>

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.

---

Notes:
I think we should take this patch through the liveupdate/fixes branch.

 kernel/liveupdate/luo_core.c | 4 ++++
 1 file changed, 4 insertions(+)
kernel/liveupdate/luo_core.c +4 -0
index 803f51c84275..5d5827ced73c 100644
@@ -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

base-commit: b1378127003b61930ce30064328640503ad3ef6d

Signature · 1 line
2.54.0.563.g4f69b47b94-goog
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Pratyush Yadav

From: "Pratyush Yadav (Google)" <[email protected]>

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.

Quoted 7 lines

---

Notes:
I think we should take this patch through the liveupdate/fixes branch.

 kernel/liveupdate/luo_core.c | 4 ++++
 1 file changed, 4 insertions(+)
maintainer Applied
#2 lore raw
In reply to Pratyush Yadav
Quoted 9 lines · Pratyush Yadav

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.

[...]

Applied, thanks!

[1/1] liveupdate: document liveupdate=on

      commit: d65d7e28888a6f3a1999908cacadd99f4c14ddd9

Best regards,

Signature · 1 line
Pasha Tatashin <[email protected]>