All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] luo: migrate serialized_data to type-safe KHO pointers
@ 2026-06-16 13:23 Tarun Sahu
  2026-06-16 13:23 ` [PATCH v2 1/2] kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy Tarun Sahu
  2026-06-16 13:23 ` [PATCH v2 2/2] luo: Update serialized data to KHOSER_PTR Tarun Sahu
  0 siblings, 2 replies; 3+ messages in thread
From: Tarun Sahu @ 2026-06-16 13:23 UTC (permalink / raw)
  To: Alexander Graf, Pratyush Yadav, Mike Rapoport, Andrew Morton,
	Pasha Tatashin
  Cc: linux-kernel, linux-mm, kexec, Tarun Sahu

Covvert raw serialized_data to KHO serializeable pointer (KHOSER_PTR).
This series also takes care of resolving the bug with memfd of using
phys_to_virt before checking the args->serialized_data value.

Tarun Sahu (2):
  kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy
  luo: Update serialized data to serializeable pointer

 include/linux/kho/abi/kexec_handover.h | 12 ++++++++++++
 include/linux/kho/abi/luo.h            |  6 ++++--
 include/linux/liveupdate.h             |  4 ++--
 kernel/liveupdate/luo_file.c           | 24 ++++++++++++------------
 mm/memfd_luo.c                         | 18 +++++++++---------
 5 files changed, 39 insertions(+), 25 deletions(-)


base-commit: 0e0611827f3349d0a2ac121c023a6d3260dcecdb
-- 
2.54.0.1136.gdb2ca164c4-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-16 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 13:23 [PATCH v2 0/2] luo: migrate serialized_data to type-safe KHO pointers Tarun Sahu
2026-06-16 13:23 ` [PATCH v2 1/2] kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy Tarun Sahu
2026-06-16 13:23 ` [PATCH v2 2/2] luo: Update serialized data to KHOSER_PTR Tarun Sahu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.