From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 0279C36D503 for ; Fri, 21 Nov 2025 03:23:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763695405; cv=none; b=Qx8Sst+sVDZxxRfish3J+FnqFp4y697U/L/rxpSIshLphebREzaAmGKOEHoMF1lqm9ReOEBImCrnifVH9aFb2y6ow2DNaWFZyVuhi78JzHYuZwhEB2Y31YuM5XBQJ9IL8I4JyvqLxyCwBOUQc4d840YnAf6qNpz5I1Yv/kiL26I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763695405; c=relaxed/simple; bh=dGpQzw3w9E/mrHD2dH6C5Ve4dwZJiFnOYvCEjWijXLQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FfAdN7R54UXv9CIM/3hCmCz19oHTlfu8mx5dNd4XgD3HTb8W4a4VKl66EDAbkB7hb1wLwjcgWgsB0quRpCe6dc7L0rxR8aX9BKYqBULsbJitBRaPmB/7E+N6o5H1fksq78fX/5Gosg7KUL1UMTLsqZj2eZ/bdj2EqBXvPxWPO7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=cX5Eu5Jh; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cX5Eu5Jh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763695401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V6+6N9+a6Rle5k9y2X7Rh5H8fLanRq0TwohIxyV0JFM=; b=cX5Eu5JhpFyvR/0YPqsWxHdNE7cXFBBBrxRC2L51nBGu7BKHPg8G1MweGrBjl/TPXJ0SFK Y0s8Vk3H2ENZpdvFXWH6oaGmTbG33Znhh+uPrCv2+bgtYNMT6tqSC5JJ7FWcnqJJ1u+KKD m7EifkE89NoABNaMmx4nDWuo7a4EIX8= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-21-Ux9GdJjnMkqHNIR-ISlWWg-1; Thu, 20 Nov 2025 22:23:18 -0500 X-MC-Unique: Ux9GdJjnMkqHNIR-ISlWWg-1 X-Mimecast-MFC-AGG-ID: Ux9GdJjnMkqHNIR-ISlWWg_1763695396 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 61774195423A; Fri, 21 Nov 2025 03:23:15 +0000 (UTC) Received: from localhost (unknown [10.72.112.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 19D0E1800451; Fri, 21 Nov 2025 03:23:11 +0000 (UTC) Date: Fri, 21 Nov 2025 11:23:07 +0800 From: Baoquan he To: Sourabh Jain Cc: linux-kernel@vger.kernel.org, Aditya Gupta , Andrew Morton , Dave Young , Hari Bathini , Jiri Bohac , Madhavan Srinivasan , Mahesh J Salgaonkar , Pingfan Liu , "Ritesh Harjani (IBM)" , Shivang Upadhyay , Vivek Goyal , linuxppc-dev@lists.ozlabs.org, kexec@lists.infradead.org Subject: Re: [PATCH v6 0/3] kexec: reorganize kexec and kdump sysfs Message-ID: References: <20251118114507.1769455-1-sourabhjain@linux.ibm.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: <20251118114507.1769455-1-sourabhjain@linux.ibm.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 On 11/18/25 at 05:15pm, Sourabh Jain wrote: > All existing kexec and kdump sysfs entries are moved to a new location, > /sys/kernel/kexec, to keep /sys/kernel/ clean and better organized. > Symlinks are created at the old locations for backward compatibility and > can be removed in the future [01/03]. > > While doing this cleanup, the old kexec and kdump sysfs entries are > marked as deprecated in the existing ABI documentation [02/03]. This > makes it clear that these older interfaces should no longer be used. > New ABI documentation is added to describe the reorganized interfaces > [03/03], so users and tools can rely on the updated sysfs interfaces > going forward. > > Changlog: > --------- > > v4 -> v5: > https://lore.kernel.org/all/20251114152550.ac2dd5e23542f09c62defec7@linux-foundation.org/ > - Splitted patch series from the above patch series > > v5 -> v6: > - Move /sys/kernel/kexec_crash_cma_ranges also to new /sys/kernel/kexec node > - Update commit messages > > Note: > This patch series is dependent on the patches: > https://lore.kernel.org/all/20251117035153.1199665-1-sourabhjain@linux.ibm.com/ > https://lore.kernel.org/all/20251118071023.1673329-1-sourabhjain@linux.ibm.com/ To the series, Acked-by: Baoquan He > > Cc: Aditya Gupta > Cc: Andrew Morton > Cc: Baoquan he > Cc: Dave Young > Cc: Hari Bathini > Cc: Jiri Bohac > Cc: Madhavan Srinivasan > Cc: Mahesh J Salgaonkar > Cc: Pingfan Liu > Cc: Ritesh Harjani (IBM) > Cc: Shivang Upadhyay > Cc: Sourabh Jain > Cc: Vivek Goyal > Cc: linuxppc-dev@lists.ozlabs.org > Cc: kexec@lists.infradead.org > > Sourabh Jain (3): > kexec: move sysfs entries to /sys/kernel/kexec > Documentation/ABI: mark old kexec sysfs deprecated > Documentation/ABI: new kexec and kdump sysfs interface > > .../ABI/obsolete/sysfs-kernel-kexec-kdump | 71 +++++++++ > .../ABI/testing/sysfs-kernel-kexec-kdump | 26 ++-- > kernel/kexec_core.c | 141 ++++++++++++++++++ > kernel/ksysfs.c | 89 +---------- > 4 files changed, 230 insertions(+), 97 deletions(-) > create mode 100644 Documentation/ABI/obsolete/sysfs-kernel-kexec-kdump > > -- > 2.51.1 >