Thread (1 message) 1 message, 1 author, 2025-11-21

Re: [PATCH v6 03/20] kexec: call liveupdate_reboot() before kexec

From: Pratyush Yadav <pratyush@kernel.org>
Date: 2025-11-21 15:55:50
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

On Sat, Nov 15 2025, Pasha Tatashin wrote:
Modify the kernel_kexec() to call liveupdate_reboot().

This ensures that the Live Update Orchestrator is notified just
before the kernel executes the kexec jump. The liveupdate_reboot()
function triggers the final freeze event, allowing participating
FDs perform last-minute check or state saving within the blackout
window.

If liveupdate_reboot() returns an error (indicating a failure during
LUO finalization), the kexec operation is aborted to prevent proceeding
with an inconsistent state. An error is returned to user.

Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>

[...]

-- 
Regards,
Pratyush Yadav
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help