[GIT PULL] liveupdate: fixes for 7.4-rc6

From: Mike Rapoport

Date: Sat Dec 05 2026 - 04:05:39 EST


Hi Linus,

The following changes since commit b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f:

Linux 7.4-rc4 (2026-11-22 14:57:40 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux.git tags/fixes-2026-12-05

for you to fetch changes up to 5b8a3f8fc1e81bf5ae4c77e8b644a5e6883466a0:

kho: don't fail kho_init() when debugfs is disabled (2026-11-29 21:33:47 +0200)

----------------------------------------------------------------
liveupdate: fixes for 7.4-rc6

* A failed kho_init() on a KHO boot frees kho-bootmem memory that is still in
use and panics.
Free the kho-bootmem areas in error paths of kho_init() only on a cold boot

* kho_init() treats debugfs initaliation errors as fatal and because of this
KHO can't be used with debugfs disabled.
Don't fail kho_init() when it can't create debugfs entries.

----------------------------------------------------------------
Chris Down (2):
kho: don't release incoming bootmem areas when kho_init() fails
kho: don't fail kho_init() when debugfs is disabled

kernel/liveupdate/kexec_handover.c | 19 ++++++++-----------
kernel/liveupdate/kexec_handover_debugfs.c | 19 +++++++++++--------
kernel/liveupdate/kexec_handover_internal.h | 8 ++++----
3 files changed, 23 insertions(+), 23 deletions(-)