Re: [PATCH v2 0/5] arm64: crash: Add crash hotplug support

Jinjie Ruan <[email protected]>
Newsgroups org.infradead.lists.kexec,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

在 2026/8/13 22:40, Catalin Marinas 写道:
> On Wed, Jul 29, 2026 at 11:12:30AM +0800, Jinjie Ruan wrote:
>> When CPU or memory hotplug events occur, the elfcorehdr in the kdump
>> image becomes stale, potentially leading to incomplete crash dumps.
>>
>> Currently, userspace udev rules reload the entire kdump image upon such
>> events, which is inefficient and leaves kdump inactive for a long time.
>>
>> Commit 247262756121 ("crash: add generic infrastructure for crash hotplug
>> support") introduced a kernel mechanism to update only the elfcorehdr.
>> This patch set implements crash hotplug support for arm64.
>>
>> As Baoquan suggested, it also addresses and fixes several
>> pre-existing code issues and Sashiko AI review findings extracted
>> from the previous patch set.
>>
>> The major improvements and fixes included in this series are:
>> - Fix several memory leaks for arm64.
>> - Simplify arm64 load_other_segments().
>> - Implement infrastructure for arm64 crash memory hotplug support.
>>
>> This patch set is rebased on liveupdate/crashkernel-cma.
>>
>> Link: https://lore.kernel.org/all/[email protected]/
> 
> Is there any dependency for the first 3 patches on the above branch?

Hi Catalin,

The first three patches have no dependencies, only the last two patches
have dependencies

> Patches 2/3 look like fixes and they depend on patch 1. Not sure about
> cc stable, maybe patch 2.

Yes, you are right! The cc stable label has been added to patch 2 and
patch 3, I think both of them are needed.

> 
> [...]
> 
>> Jinjie Ruan (5):
>>   kexec: Extract kexec_free_segment_cma() from kimage_free_cma()
>>   arm64: kexec_file: Fix CMA page leaks in segment placement retry loops
>>   arm64: kexec_file: Fix image->elf_headers memory leak in retry loop
>>   arm64: kexec_file: Simplify load_other_segments()
>>   arm64: crash: Add crash hotplug support
>
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.