From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D132480DE0 for ; Thu, 13 Aug 2026 14:41:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786632069; cv=none; b=hSTbEfQBQ8vlZydyO7YtnbAyPEoCa6nEDmAMx8WnARzjSkon7KWgfogUHaJau0NPXo6QlJwwjtQySXdumetdIuu5Mb2Cmu93IYsp+mmIi9cA53ZRUiHyIYR12Sn7HqqBdD/9LJQk9xo9NwiXHuM/G7b9hq+uXyNA8+/bcy8jhjc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786632069; c=relaxed/simple; bh=EtxmNm8vFCrBIkDwkOud1SWz71Jk30UCcr/d3R4pqe8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gQrjR4p/qlAgMlpvmZp8WBIq5FNm876lUQw+qyFs5MqfglA+rTqsoDVnWtJCKo7TNpd4oqYKOvOlBzmDkXJ6TrYXXnjMDDrAkLB7XP7g9zjlrLLQEXMWsecUSWfq6+kHa3EdsmI0DM/u4EHGsRq5HopMfVyJNijKNdsbjy6uqa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=OdPyQS3P; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="OdPyQS3P" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4CB621BA8; Thu, 13 Aug 2026 07:41:02 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7034E3F632; Thu, 13 Aug 2026 07:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786632066; bh=EtxmNm8vFCrBIkDwkOud1SWz71Jk30UCcr/d3R4pqe8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OdPyQS3P/Xz/KroKir1M6zntDEwENUP9KsIvs+g6aaNE12xL47VCX5XnepuxSgCCJ HQHH9SFNApnVXMyFqbIq7PQm/agOMIdWAEqSMRIowCGQMm4djMbrfR0gc+uVgvo+4b TYuDfLGz9vqK0l2bHZwzwcFvuSj8z52ppxhySXVg= Date: Thu, 13 Aug 2026 15:40:59 +0100 From: Catalin Marinas To: Jinjie Ruan Cc: will@kernel.org, akpm@linux-foundation.org, baoquan.he@linux.dev, rppt@kernel.org, pasha.tatashin@soleen.com, pratyush@kernel.org, thuth@redhat.com, mark.rutland@arm.com, jic23@kernel.org, james.morse@arm.com, ardb@kernel.org, leitao@debian.org, yeoreum.yun@arm.com, sourabhjain@linux.ibm.com, robh@kernel.org, kees@kernel.org, coxu@redhat.com, makb@juniper.net, piliu@redhat.com, graf@amazon.com, ebiggers@kernel.org, jbouron@amazon.com, bgwin@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org Subject: Re: [PATCH v2 0/5] arm64: crash: Add crash hotplug support Message-ID: References: <20260729031235.2840255-1-ruanjinjie@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260729031235.2840255-1-ruanjinjie@huawei.com> 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/20260601094805.2928614-1-ruanjinjie@huawei.com/ Is there any dependency for the first 3 patches on the above branch? Patches 2/3 look like fixes and they depend on patch 1. Not sure about cc stable, maybe patch 2. [...] > 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 -- Catalin