[PATCH] kho: debugfs: Fix finalize interface documentation

longwei (I) posted 1 patch 3 months, 3 weeks ago
Documentation/admin-guide/mm/kho.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kho: debugfs: Fix finalize interface documentation
Posted by longwei (I) 3 months, 3 weeks ago
From 91c2b24855d55fef0e8919b2d39216d5c9aad558 Mon Sep 17 00:00:00 2001
From: Long Wei <longwei27@huawei.com>
Date: Wed, 15 Oct 2025 19:58:39 +0800
Subject: [PATCH]kho: debugfs: Fix finalize interface documentation

Correct the error in the KHO documentation: 
when removing the KHO finalization phase, it is necessary 
to execute echo 0 > /sys/kernel/debug/kho/out/finalize
instead of echo 0 > /sys/kernel/debug/kho/out/active.
Fix it.

Signed-off-by: Long Wei <longwei27@huawei.com>
---
 Documentation/admin-guide/mm/kho.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/mm/kho.rst b/Documentation/admin-guide/mm/kho.rst
index 6dc18ed4b..2eda33865 100644
--- a/Documentation/admin-guide/mm/kho.rst
+++ b/Documentation/admin-guide/mm/kho.rst
@@ -57,7 +57,7 @@ Abort a KHO exec
 
 You can move the system out of KHO finalization phase again by calling ::
 
-  $ echo 0 > /sys/kernel/debug/kho/out/active
+  $ echo 0 > /sys/kernel/debug/kho/out/finalize
 
 After this command, the KHO FDT is no longer available in
 ``/sys/kernel/debug/kho/out/fdt``.
-- 
2.43.0
Re: [PATCH] kho: debugfs: Fix finalize interface documentation
Posted by Pratyush Yadav 3 months, 2 weeks ago
On Fri, Oct 17 2025, longwei (I) wrote:

> From 91c2b24855d55fef0e8919b2d39216d5c9aad558 Mon Sep 17 00:00:00 2001
> From: Long Wei <longwei27@huawei.com>
> Date: Wed, 15 Oct 2025 19:58:39 +0800
> Subject: [PATCH]kho: debugfs: Fix finalize interface documentation
>
> Correct the error in the KHO documentation: 
> when removing the KHO finalization phase, it is necessary 
> to execute echo 0 > /sys/kernel/debug/kho/out/finalize
> instead of echo 0 > /sys/kernel/debug/kho/out/active.
> Fix it.
>
> Signed-off-by: Long Wei <longwei27@huawei.com>

Reviewed-by: Pratyush Yadav <pratyush@kernel.org>

[...]

-- 
Regards,
Pratyush Yadav
Re: [PATCH] kho: debugfs: Fix finalize interface documentation
Posted by Mike Rapoport 3 months, 2 weeks ago
On Fri, Oct 17, 2025 at 06:21:49PM +0800, longwei (I) wrote:
> From 91c2b24855d55fef0e8919b2d39216d5c9aad558 Mon Sep 17 00:00:00 2001
> From: Long Wei <longwei27@huawei.com>
> Date: Wed, 15 Oct 2025 19:58:39 +0800
> Subject: [PATCH]kho: debugfs: Fix finalize interface documentation
> 
> Correct the error in the KHO documentation: 
> when removing the KHO finalization phase, it is necessary 
> to execute echo 0 > /sys/kernel/debug/kho/out/finalize
> instead of echo 0 > /sys/kernel/debug/kho/out/active.
> Fix it.
> 
> Signed-off-by: Long Wei <longwei27@huawei.com>

Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

> ---
>  Documentation/admin-guide/mm/kho.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/admin-guide/mm/kho.rst b/Documentation/admin-guide/mm/kho.rst
> index 6dc18ed4b..2eda33865 100644
> --- a/Documentation/admin-guide/mm/kho.rst
> +++ b/Documentation/admin-guide/mm/kho.rst
> @@ -57,7 +57,7 @@ Abort a KHO exec
>  
>  You can move the system out of KHO finalization phase again by calling ::
>  
> -  $ echo 0 > /sys/kernel/debug/kho/out/active
> +  $ echo 0 > /sys/kernel/debug/kho/out/finalize
>  
>  After this command, the KHO FDT is no longer available in
>  ``/sys/kernel/debug/kho/out/fdt``.
> -- 
> 2.43.0
> 
> 
> 

-- 
Sincerely yours,
Mike.