On Thu, Oct 23, 2025 at 3:32 AM Mike Rapoport rppt@kernel.org wrote:
On Tue, Oct 21, 2025 at 08:57:19PM -0400, Pasha Tatashin wrote:
Now, that LUO and KHO both live under kernel/liveupdate, it makes sense to also move the kho debugfs files to liveupdate/
But we don't have LUO yet :/
Yes, I need to update the comment :-)
The old names: /sys/kernel/debug/kho/out/ /sys/kernel/debug/kho/in/
The new names: /sys/kernel/debug/liveupdate/kho_out/ /sys/kernel/debug/liveupdate/kho_in/
Also, export the liveupdate_debufs_root, so future LUO selftests could use it as well.
Let's postpone this change until then. TBH, I don't see anything wrong with KHO and LUO selftest debugfs files living at the top level, i.e
It is not only about selftests, we are planning to add kexec telemetry that is going to be using KHO, and that should also be placed in the same directory. Let's keep them neatly in the same root directory, so we can use them for LUO/KHO/Telemetry and perhaps for other reasons.
I also think, this patch is small, so it would be beneficial to land it now, and make it easier for LUO, and soon to be sent out the Telemetry series.
Pasha