Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Pratyush Yadav" <pratyush@kernel.org>,
	"Mike Rapoport" <rppt@kernel.org>,
	"Pasha Tatashin" <pasha.tatashin@soleen.com>,
	"Alexander Graf" <graf@amazon.com>,
	"Jonathan Corbet" <corbet@lwn.net>,
	"Shuah Khan" <skhan@linuxfoundation.org>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"David Matlack" <dmatlack@google.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>
Cc: kexec@lists.infradead.org, linux-mm@kvack.org, linux-pci@vger.kernel.org
Subject: Re: [PATCH 6/6] kho: don't reference subtree blobs as FDTs
Date: Sat, 28 Nov 2026 12:26:36 +0000	[thread overview]
Message-ID: <sashiko-outbox-238690@kernel.org> (raw)
In-Reply-To: <20261127122536.3708770-7-pratyush@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] kho: stale sub_fdts debugfs path in kho_add_subtree() kernel-doc
  and kho.rst
--

commit 4fb09c13a16f68cfb66608af6d8973645ca988e6
Author: Pratyush Yadav (Google) <pratyush@kernel.org>

kho: don't reference subtree blobs as FDTs

This commit renames KHO debugfs subtree tracking structures, fields, and
the debugfs directory from "sub_fdts" / "fdt" to "sub_blobs" / "blob".

> diff --git a/kernel/liveupdate/kho_debugfs.c b/kernel/liveupdate/kho_debugfs.c
> index 8d04368c19789..1580e1a27566e 100644
> --- a/kernel/liveupdate/kho_debugfs.c
> +++ b/kernel/liveupdate/kho_debugfs.c

[ ... ]

> @@ -131,16 +131,16 @@ __init void kho_in_debugfs_init(struct kho_debugfs *dbg, const void *fdt)
>  
>  __init int kho_out_debugfs_init(struct kho_debugfs *dbg)
>  {
> -	struct dentry *dir, *f, *sub_fdt_dir;
> +	struct dentry *dir, *f, *sub_blob_dir;
>  
> -	INIT_LIST_HEAD(&dbg->fdt_list);
> +	INIT_LIST_HEAD(&dbg->blob_list);
>  
>  	dir = debugfs_create_dir("out", debugfs_root);
>  	if (IS_ERR(dir))
>  		return -ENOMEM;
>  
> -	sub_fdt_dir = debugfs_create_dir("sub_fdts", dir);
> -	if (IS_ERR(sub_fdt_dir))
> +	sub_blob_dir = debugfs_create_dir("sub_blobs", dir);
> +	if (IS_ERR(sub_blob_dir))
>  		goto err_rmdir;

[Severity: Low]
Should the kernel-doc comment for kho_add_subtree() in
kernel/liveupdate/kho_core.c and the debugfs path in
Documentation/admin-guide/mm/kho.rst also be updated from
/sys/kernel/debug/kho/out/sub_fdts/ to
/sys/kernel/debug/kho/out/sub_blobs/?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127122536.3708770-1-pratyush@kernel.org?part=6


  parent reply	other threads:[~2026-11-28 12:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 12:25 [PATCH 0/6] kho: housekeeping Pratyush Yadav
2026-11-27 12:25 ` [PATCH 1/6] kho: build KHO objects into a single kho.o Pratyush Yadav
2026-11-27 12:25 ` [PATCH 2/6] kho: use acronym for KHO .c files Pratyush Yadav
2026-11-27 12:25 ` [PATCH 3/6] kho: move kho_{block,radix_tree}.h into include/linux/kho/ Pratyush Yadav
2026-11-27 12:25 ` [PATCH 4/6] kho: use unsigned long for kho_preserve_pages() and co when KHO=n Pratyush Yadav
2026-11-27 12:25 ` [PATCH 5/6] kho: fix kernel-doc return for kho_alloc_preserve() Pratyush Yadav
2026-11-27 12:25 ` [PATCH 6/6] kho: don't reference subtree blobs as FDTs Pratyush Yadav
2026-11-28  0:59   ` Chris Down
2026-11-28 12:26   ` sashiko-bot [this message]
2026-11-28 12:26 ` [PATCH 0/6] kho: housekeeping sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-238690@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=corbet@lwn.net \
    --cc=dmatlack@google.com \
    --cc=graf@amazon.com \
    --cc=kexec@lists.infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=pasha.tatashin@soleen.com \
    --cc=pratyush@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=rppt@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox