Re: [PATCH 6/6] kho: don't reference subtree blobs as FDTs

From: Mike Rapoport

Date: Sun Nov 29 2026 - 05:05:19 EST


On Fri, Nov 27, 2026 at 12:25:32PM +0000, Pratyush Yadav wrote:
> From: "Pratyush Yadav (Google)" <pratyush@xxxxxxxxxx>
>
> KHO started out with using FDT for all subtrees. This is why debugfs
> used "sub_fdts" as the directory name and in the code. Since then, KHO
> subtrees started also using raw C structs for serialization. Commit
> 4916ae386760 ("kho: rename fdt parameter to blob in
> kho_add/remove_subtree()") updated some of the code to match this
> reality.
>
> Still, references to sub FDTs were left around. The data structure to
> track the blobs is still called fdt_debugfs, the list of blobs is called
> "fdt_list", and most importantly, the subdirectory holding them in
> debugfs is called "sub_fdts".
>
> Update all this to use blob in the naming.
>
> The only functional change is the rename of the debugfs subdirectory
> from "sub_fdts" to "sub_blobs". Everything else is a pure rename.

Without FDT 'sub' does not really have a meaning. And I feel like 'blob' is
to vague.

Maybe 'payloads'?

> Signed-off-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>
> ---
> kernel/liveupdate/kho_debugfs.c | 50 ++++++++++++++++----------------
> kernel/liveupdate/kho_internal.h | 4 +--
> 2 files changed, 27 insertions(+), 27 deletions(-)

--
Sincerely yours,
Mike.