[GIT PULL] liveupdate: updates for 7.3-rc1

Mike Rapoport <[email protected]>
Newsgroups org.infradead.lists.kexec,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>
Hi Linus,

The following changes since commit 797fe91e50d6927f90f0c3b4444277c2c7c8b42b:

  kho: align kho_scratch to MAX_ORDER_NR_PAGES pages (2026-07-25 15:26:30 +0300)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux.git tags/liveupdate-v7.3-rc1

for you to fetch changes up to bcf2a0b55e322a663c9602c9e773770b87d3e629:

  Merge branch 'selftests-lib' into next (2026-08-04 10:52:22 +0300)

----------------------------------------------------------------
liveupdate: updates for v7.3-rc1

KHO:
* Fix size calculation in kho_preserved_memory_reserve() for preservations
  larger than 2 GiB

LUO:
  * move liveupdate selftest utilities into a library so that selftests of
    subsystems participating in liveupdate, e.g. PCI and VFIO, can use them and
    drop direct ioctl calls from the tests
  * add end to end liveupdate test infrastructure that allows running the
    tests across a kexec in QEMU
  * remove redundant INIT_LIST_HEAD in luo_session_alloc()
  * remember the error status of an FLB retrieve() and return it on subsequent
    attempts rather than retrying retrieve() with an FLB in an unexpected
    state
  * reference count the outgoing FLB so that it cannot be freed while a caller
    is using it, the same way it's done for the incoming FLB
  * reject nonzero reserved field in LIVEUPDATE_SESSION_FINISH so that it can
    be reused by a future extension

----------------------------------------------------------------
David Matlack (2):
      liveupdate: Reference count outgoing FLB data
      liveupdate: Remember FLB retrieve() status

Hongfu Li (1):
      liveupdate: Remove redundant INIT_LIST_HEAD in luo_session_alloc

Jackie Liu (1):
      liveupdate: reject nonzero reserved value for SESSION_FINISH

Mike Rapoport (Microsoft) (4):
      Merge patch series "Make liveupdate selftests library"
      Merge branch 'fixes' into next
      Merge branch 'misc' into next
      Merge branch 'selftests-lib' into next

Pasha Tatashin (1):
      selftests/liveupdate: add end to end test infrastructure and scripts

Pratyush Yadav (Google) (1):
      kho: fix size calculation in kho_preserved_memory_reserve()

Vipin Sharma (2):
      selftests/liveupdate: Use luo_test_utils.c for liveupdate ioctl APIs
      selftests/liveupdate: Move luo_test_utils.* into a reusable library

 include/linux/liveupdate.h                         |  11 +-
 kernel/liveupdate/kexec_handover.c                 |   2 +-
 kernel/liveupdate/luo_flb.c                        |  20 +-
 kernel/liveupdate/luo_session.c                    |   7 +-
 tools/testing/selftests/liveupdate/.gitignore      |   2 +
 tools/testing/selftests/liveupdate/Makefile        |  14 +-
 tools/testing/selftests/liveupdate/config          |   1 +
 tools/testing/selftests/liveupdate/config.aarch64  |   2 +
 tools/testing/selftests/liveupdate/config.x86_64   |   2 +
 tools/testing/selftests/liveupdate/init.c          | 179 ++++++++++++++
 .../include/libliveupdate.h}                       |  11 +-
 .../selftests/liveupdate/lib/libliveupdate.mk      |  20 ++
 .../{luo_test_utils.c => lib/lu_utils.c}           |  78 ++++--
 tools/testing/selftests/liveupdate/liveupdate.c    | 106 +++------
 .../selftests/liveupdate/luo_kexec_simple.c        |   2 +-
 .../selftests/liveupdate/luo_multi_session.c       |   2 +-
 .../selftests/liveupdate/luo_stress_files.c        |   3 +-
 .../selftests/liveupdate/luo_stress_sessions.c     |   3 +-
 tools/testing/selftests/liveupdate/run-vmtests.sh  |  97 ++++++++
 tools/testing/selftests/liveupdate/vmtest.sh       | 263 +++++++++++++++++++++
 20 files changed, 700 insertions(+), 125 deletions(-)
 create mode 100644 tools/testing/selftests/liveupdate/config.aarch64
 create mode 100644 tools/testing/selftests/liveupdate/config.x86_64
 create mode 100644 tools/testing/selftests/liveupdate/init.c
 rename tools/testing/selftests/liveupdate/{luo_test_utils.h => lib/include/libliveupdate.h} (77%)
 create mode 100644 tools/testing/selftests/liveupdate/lib/libliveupdate.mk
 rename tools/testing/selftests/liveupdate/{luo_test_utils.c => lib/lu_utils.c} (80%)
 create mode 100755 tools/testing/selftests/liveupdate/run-vmtests.sh
 create mode 100755 tools/testing/selftests/liveupdate/vmtest.sh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.