From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E12FC2F39D1 for ; Fri, 14 Nov 2025 23:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763162752; cv=none; b=ONi0qeaKNB8IDz0Mxi/36pA6tBqXmV62GE1lhJ/HbyCt7gjhdI7KjkPWyhPfqpqHZoRDsHg0LQvlBKX+6AbF431E3i2SHEjKR/xorqHrcHZsUtg+/aaR+B6DmQVsfoG50kPZdAR3p/gtiMouroMm9P5IU5iyqzjKmvUtHGrhGi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763162752; c=relaxed/simple; bh=Ck5IkKtCvWM+M1Kp2duA/OeRrzLgopnF8GA+ov+y++s=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=gMgNKNyNutF3cLa+4aa39WmeIL764dqi61z2NXpdIziQ+OKwoNzwBowTBDBy6BN5YswY1NxWyx95CGHErVJ/OhyEUsX9ngRsxVbm/P2d/kq+46+TMP1FMu4cEDMLevFEDJy893srIjPCLq+jv75Qsh1/ciCF2SGxXxUubZcA/2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=1/R9MxMJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="1/R9MxMJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E886C116D0; Fri, 14 Nov 2025 23:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1763162751; bh=Ck5IkKtCvWM+M1Kp2duA/OeRrzLgopnF8GA+ov+y++s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=1/R9MxMJfU+i9uYcVVt5kq9wz3T2Nm4N9M3jU5sMGuvNfeB4RE8Bn7K4W8Yw4k+aj O9E4t2TkpXz3+fNH8/hVvX22UdJO7v2ev7K2CJ0VvcTJxWqIcXj/wuQoVqyXFTTy4W 8IvMlRI+ccVcHeuqm2Yx961xfOqZ9llp6m3vPFY4= Date: Fri, 14 Nov 2025 15:25:50 -0800 From: Andrew Morton To: Sourabh Jain Cc: linux-kernel@vger.kernel.org, Aditya Gupta , Baoquan he , Dave Young , Hari Bathini , Jiri Bohac , Madhavan Srinivasan , Mahesh J Salgaonkar , Pingfan Liu , "Ritesh Harjani (IBM)" , Shivang Upadhyay , Sourabh Jain , Vivek Goyal , linuxppc-dev@lists.ozlabs.org, kexec@lists.infradea Subject: Re: [PATCH v4 0/5] kexec: reorganize sysfs interface and add new kexec sysfs Message-Id: <20251114152550.ac2dd5e23542f09c62defec7@linux-foundation.org> In-Reply-To: <20251114051504.614937-1-sourabhjain@linux.ibm.com> References: <20251114051504.614937-1-sourabhjain@linux.ibm.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Fri, 14 Nov 2025 10:44:59 +0530 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 [02/05]. > > While doing this cleanup, missing ABI documentation for the old sysfs > interfaces is added, and those entries are marked as deprecated > [01/05 and 03/05]. New ABI documentation is also added for the > reorganized interfaces. [04/05] > > Along with this reorganization, a new sysfs file, > /sys/kernel/kexec/crash_cma_ranges, is introduced to export crashkernel > CMA reservation details to user space [05/05]. This helps tools > determine the total crashkernel reserved memory and warn users that > capturing user pages while CMA is reserved may cause incomplete or > unreliable dumps. Patchset does three unrelated things in remarkably random order. 1: Document existing stuff Great, thanks, in it goes. 2: export crashkernel CMA reservation to userspace Well, OK, probably reasonable, didn't look closely. 3: Alter longstanding userspace ABI with deprecation plan Whoa, tricky, needs careful consideration. So can we please prepare and consider this material in three separate patchsets? In the above order, I suggest.