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 6E1ED625 for ; Sat, 14 Mar 2026 22:46:38 +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=1773528398; cv=none; b=Nrxk8mZqZMKGbO3yOe3x5VKjSG/M+Uz9Ppg4qsLpe0Js73MepowYF4ymU5I5VFNqw4lq+EAvlUBi6EjzsA7qAX+norXL/AQGUxrwPuRF63Gk2xbPLgcYX5yUYlejtJRqw7xf/dGJ+DAT30jyiUM5liVl0sXcWkn4rUlcutMMVpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773528398; c=relaxed/simple; bh=U8F8sQEevlT1oJz8WbNbwwR/C+qf3FlDr6nbrGx0w3A=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=pHFiECW9e1ClgNKsnVn3N39Y7zlxk8n6e2t9yAf1TlrNJhRAUaGeS4uevRubUcLtZOI6Nj2rIpzxf3FqkUH5tddsIkTgdfv2+UUTyDjvwnyGU7NGtDC/YVHFJpRZ0ppq7PYpDCgfEpQLDrLCdlOE9BHUAattL4lFvwXuSjirTIg= 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=LcZxi5eO; 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="LcZxi5eO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABF3AC116C6; Sat, 14 Mar 2026 22:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1773528398; bh=U8F8sQEevlT1oJz8WbNbwwR/C+qf3FlDr6nbrGx0w3A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LcZxi5eOHVWNyxzP64a67mhdnXd2ndbCuQsiQFLKWSK3izXNaUJiwA0YVmbKJQ7xu Qvq0/8oC+gFn/D+cntBH0hJVxTn8siFA4Z0UQ0UO796b4wn9zqdKaAUV7IwgnmkseJ F24VInAMD6uTc8Ith935eV5kgs/HzGeR0JszYdqo= Date: Sat, 14 Mar 2026 15:46:37 -0700 From: Andrew Morton To: Pratyush Yadav Cc: ranxiaokai627@163.com, graf@amazon.com, rppt@kernel.org, pasha.tatashin@soleen.com, jasonmiu@google.com, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, ran.xiaokai@zte.com.cn, Breno Leitao Subject: Re: [PATCH] kho: fix child node parsing for debugfs in/sub_fdts Message-Id: <20260314154637.86a7d4f07800b59c00049814@linux-foundation.org> In-Reply-To: <2vxzpl58f3oh.fsf@kernel.org> References: <20260309033530.244508-1-ranxiaokai627@163.com> <2vxzpl58f3oh.fsf@kernel.org> 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, 13 Mar 2026 10:02:06 +0000 Pratyush Yadav wrote: > On Mon, Mar 09 2026, ranxiaokai627@163.com wrote: > > > From: Ran Xiaokai > > > > Commit e0c1731f5d57 ("kho: adopt radix tree for preserved memory tracking") > > changed KHO_FDT_SUB_TREE_PROP_NAME from "fdt" to "preserved-data". However, > > kho debugfs code still hard-coded the "fdt" string when parsing the > > device tree, causing the debugfs node /debugfs/kho/in/sub_fdts/ > > fail to parse child nodes correctly. > > > > Fix this by including the header file and using KHO_FDT_SUB_TREE_PROP_NAME > > instead of the hard-coded string. > > > > Fixes: e0c1731f5d57 ("kho: adopt radix tree for preserved memory tracking") > > Signed-off-by: Ran Xiaokai > > Breno's patch [0] also fixes this, but I'd rather have this go through > hotfixes and get backported to stable, and Breno's series to build on > top of this. > > [0] https://lore.kernel.org/linux-mm/20260309-kho-v8-4-c3abcf4ac750@debian.org/ Confused. This patch (kho: fix child node parsing for debugfs in/sub_fdts) fixes the mm-unstable patch "kho: adopt radix tree for preserved memory tracking". So what are you suggesting be added to -stable? (Please lay it all out very clearly, idenfifying patches by name!)