[GIT PULL] kexec: updates for 7.3-rc1

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

The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

  Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9d50f7c5ad5b4b031c9b85f9a43c626d8268ab51:

  Merge branch 'crashkernel-cma' into kexec-next (2026-08-04 10:48:21 +0300)

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

* Deduplicate crash memory allocation and the exclusion of reserved crash
  kernel regions from architecture specific code into a generic
  crash_prepare_headers() and enable crashkernel CMA reservation on arm64 and
  riscv reservation on arm64 and riscv.
* Skip purgatory checksum verification when the kexec segments cannot be
  corrupted by DMA, which saves about 250ms on kexec.
* Replace __ASSEMBLY__ with the compiler provided __ASSEMBLER__ in
  include/linux/kexec.h.
* Fix a keyring refcount imbalance in the kdump kernel's dm-crypt key restore
  path, which over-dropped the user keyring reference when more than one key
  was restored.

----------------------------------------------------------------
Guangshuo Li (1):
      crash_dump: release keyring reference at the correct time

Jinjie Ruan (9):
      riscv: kexec_file: Fix crashk_low_res not exclude bug
      crash: Add crash_prepare_headers() to exclude crash kernel memory
      arm64: kexec_file: Use crash_prepare_headers() helper to simplify code
      x86/crash: Use crash_prepare_headers() helper to simplify code
      riscv: kexec_file: Use crash_prepare_headers() helper to simplify code
      LoongArch: kexec_file: Use crash_prepare_headers() helper to simplify code
      powerpc/kexec_file: Use crash_exclude_core_ranges() helper
      arm64: kexec_file: Add support for crashkernel CMA reservation
      riscv: kexec_file: Add support for crashkernel CMA reservation

Michal Clapinski (1):
      kexec_file: skip checksum verification when safe

Mike Rapoport (Microsoft) (4):
      Merge patch series "arm64/riscv: Add support for crashkernel CMA reservation"
      Merge branch 'kexec-fixes' into kexec-next
      Merge branch 'kexec-misc' into kexec-next
      Merge branch 'crashkernel-cma' into kexec-next

Sourabh Jain (1):
      powerpc/crash: sort crash memory ranges before preparing elfcorehdr

Thomas Huth (1):
      kexec: Replace __ASSEMBLY__ with __ASSEMBLER__ in header file

 Documentation/admin-guide/kernel-parameters.txt |  16 ++--
 arch/arm64/kernel/machine_kexec_file.c          |  40 +++-------
 arch/arm64/mm/init.c                            |   5 +-
 arch/loongarch/kernel/machine_kexec_file.c      |  40 +++-------
 arch/powerpc/include/asm/kexec_ranges.h         |   1 -
 arch/powerpc/kexec/crash.c                      |   5 +-
 arch/powerpc/kexec/ranges.c                     | 101 +-----------------------
 arch/riscv/kernel/machine_kexec_file.c          |  39 +++------
 arch/riscv/mm/init.c                            |   5 +-
 arch/x86/kernel/crash.c                         |  89 +++------------------
 drivers/of/fdt.c                                |   9 ++-
 drivers/of/kexec.c                              |   9 +++
 include/linux/crash_core.h                      |   9 +++
 include/linux/crash_reserve.h                   |   4 +-
 include/linux/kexec.h                           |   2 +-
 kernel/crash_core.c                             |  89 ++++++++++++++++++++-
 kernel/crash_dump_dm_crypt.c                    |  15 ++--
 kernel/kexec_file.c                             |  27 +++++++
 18 files changed, 218 insertions(+), 287 deletions(-)
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.