linux/kernel/liveupdate
Pratyush Yadav (Google) 4513fea02a kho: initialize kho_scratch pointer earlier in boot
In a future patch, mm init will use kho_scratch_overlap() for deciding
the migrate type of pageblocks it initializes. The earliest user
currently is free_area_init(). kho_scratch_overlap()
relies on kho_scratch pointer being initialized. Introduce
kho_memory_init_early() to do this.

kho_populate() would normally be a good place to do this, but
unfortunately, phys_to_virt() does not work at that point on ARM64. So
we need yet another initialization function.

Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Link: https://patch.msgid.link/20260801084833.1897543-15-pratyush@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
2026-08-04 09:23:27 +03:00
..
Kconfig kho: make preserved pages compatible with deferred struct page init 2026-06-01 02:31:37 +03:00
kexec_handover_debugfs.c kho: fix kho_in_debugfs_init() to handle non-FDT blobs 2026-04-18 00:10:48 -07:00
kexec_handover_internal.h kho: expose kho_scratch_overlap() to kexec_handover.h 2026-08-04 09:23:05 +03:00
kexec_handover.c kho: initialize kho_scratch pointer earlier in boot 2026-08-04 09:23:27 +03:00
kho_block.c kho: add support for linked-block serialization 2026-06-03 21:15:46 +03:00
luo_core.c liveupdate: defer session block allocation and physical address setting 2026-06-03 21:15:46 +03:00
luo_file.c liveupdate: Remove limit on the number of files per session 2026-06-03 21:15:46 +03:00
luo_flb.c liveupdate: centralize state management into struct luo_ser 2026-06-03 21:15:45 +03:00
luo_internal.h liveupdate: Remove limit on the number of files per session 2026-06-03 21:15:46 +03:00
luo_session.c liveupdate: fix GET_NAME ioctl argument validation 2026-07-16 09:25:30 +03:00
Makefile kho: expose kho_scratch_overlap() to kexec_handover.h 2026-08-04 09:23:05 +03:00