Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v3 0/2] luo: convert serialized ptr to KHOSER_PTR
@ 2026-06-22 11:12 Tarun Sahu
  2026-06-22 11:12 ` [RESEND PATCH v3 1/2] kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy Tarun Sahu
  2026-06-22 11:12 ` [REESND PATCH v3 2/2] luo: Update serialized data to use KHOSER_PTR Tarun Sahu
  0 siblings, 2 replies; 3+ messages in thread
From: Tarun Sahu @ 2026-06-22 11:12 UTC (permalink / raw)
  To: Andrew Morton, Pasha Tatashin, Alexander Graf, Pratyush Yadav,
	Mike Rapoport
  Cc: linux-kernel, kexec, linux-mm, Tarun Sahu

Convert 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.

RESEND V3:
	Sent incorrect thread format earlier, this one is with correct
	one.
v3 <- v2
	Rebased on top of liveupdate/next
v2 <- v1
	Use KHOSER_PTR across liveupdate files instead of only memfd_luo
Tarun Sahu (2):
  kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy
  luo: Update serialized data to use KHOSER_PTR

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


base-commit: e98a9c61721c14bcd29f11f4802e52e908701f7a
-- 
2.55.0.rc0.738.g0c8ab3ebcc-goog



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

end of thread, other threads:[~2026-06-22 11:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 11:12 [RESEND PATCH v3 0/2] luo: convert serialized ptr to KHOSER_PTR Tarun Sahu
2026-06-22 11:12 ` [RESEND PATCH v3 1/2] kho: add KHOSER_COPY_TYPE(UN)SAFE for phys copy Tarun Sahu
2026-06-22 11:12 ` [REESND PATCH v3 2/2] luo: Update serialized data to use KHOSER_PTR Tarun Sahu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox