From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout08.his.huawei.com (canpmsgout08.his.huawei.com [113.46.200.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D024285CBA for ; Fri, 14 Aug 2026 01:16:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786670175; cv=none; b=S4quqDItpWLzLAx1IvezzMQ5sAk1aQ63yC9jpoIOSu6vSZqIWB4RCayXuyW2y/sq7sOyKIh8RbW3qY0q1EBwq6uOnq/LpAKeMy1+ErG2fJ9ik01Ga3Y3ZHSN0rpqvdk2E6VPxxknAyqS4GJBsdWY6G6q+SeU2b9LjsefF2Ri0ME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786670175; c=relaxed/simple; bh=ARfsOL3oHZrPhc4tugF9QNlrIfmx5MMxJjHYL+fTuNk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=hkOfs7AJSsEUS+y8kn6CJ2jlKhX4qz9faw7ldiTX1DuFyV4Yl9Apo81JSbUkMIQ3O6LTQjqJNhrpw6IGtzK0+FFc81AaWbJs7D4aeLPmn1o1jEbo2TpcPKddgN2maTUBhM7gYaUeUD1O51hiNQoJwhvXDXm0AYsBJCWCb6OpVYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=mflgm/SJ; arc=none smtp.client-ip=113.46.200.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="mflgm/SJ" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=xaqTDDrnpKGWx+l1h+fUl97CPMUm+8Ht+uaiucS3/dQ=; b=mflgm/SJEFWTm7QId0SN+rFG7pHOZIJLNok3nfujlNgdELL/0SveikjSn6UBgeA+pZh1iDink hJsz2QDHHU5t2TTpUKNRiv/+Og+6MDIxx776LEp2/0ensfarZHXa+RwZfEQ34EBKU+Ax6jKEYi6 yY6hIS1GXAkEIT0eM6fuN44= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout08.his.huawei.com (SkyGuard) with ESMTPS id 4hLkYJ3flvzmVX8; Fri, 14 Aug 2026 09:05:24 +0800 (CST) Received: from dggpemf500011.china.huawei.com (unknown [7.185.36.131]) by mail.maildlp.com (Postfix) with ESMTPS id 983D14055B; Fri, 14 Aug 2026 09:16:02 +0800 (CST) Received: from [10.67.109.254] (10.67.109.254) by dggpemf500011.china.huawei.com (7.185.36.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 14 Aug 2026 09:15:59 +0800 Message-ID: <64f3a67a-51c6-4c01-a23b-301b619f2884@huawei.com> Date: Fri, 14 Aug 2026 09:15:58 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/5] arm64: crash: Add crash hotplug support To: Catalin Marinas CC: , , , , , , , , , , , , , , , , , , , , , , , , , References: <20260729031235.2840255-1-ruanjinjie@huawei.com> From: Jinjie Ruan In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: kwepems200001.china.huawei.com (7.221.188.67) To dggpemf500011.china.huawei.com (7.185.36.131) 在 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/20260601094805.2928614-1-ruanjinjie@huawei.com/ > > 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 >