[PATCH] Documentation: Add description to stack_order interface

Wardenjohn posted 1 patch 2 months ago
[PATCH] Documentation: Add description to stack_order interface
Posted by Wardenjohn 2 months ago
Update description of klp_patch stack_order sysfs interface to
livepatch ABI documentation.

Signed-off-by: Wardenjohn <zhangwarden@gmail.com>

diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch b/Documentation/ABI/testing/sysfs-kernel-livepatch
index a5df9b4910dc..9cad725a69c7 100644
--- a/Documentation/ABI/testing/sysfs-kernel-livepatch
+++ b/Documentation/ABI/testing/sysfs-kernel-livepatch
@@ -47,6 +47,14 @@ Description:
 		disabled when the feature is used. See
 		Documentation/livepatch/livepatch.rst for more information.
 
+What:           /sys/kernel/livepatch/<patch>/stack_order
+Date:           Sep 2024
+KernelVersion:  6.12.0
+Contact:        live-patching@vger.kernel.org
+Description:
+		This attribute record the stack order of this livepatch module
+		applied to the running system.
+
 What:		/sys/kernel/livepatch/<patch>/<object>
 Date:		Nov 2014
 KernelVersion:	3.19.0
-- 
2.18.2
Re: [PATCH] Documentation: Add description to stack_order interface
Posted by Miroslav Benes 2 months ago
On Wed, 25 Sep 2024, Wardenjohn wrote:

> Update description of klp_patch stack_order sysfs interface to
> livepatch ABI documentation.
> 
> Signed-off-by: Wardenjohn <zhangwarden@gmail.com>
> 
> diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch b/Documentation/ABI/testing/sysfs-kernel-livepatch
> index a5df9b4910dc..9cad725a69c7 100644
> --- a/Documentation/ABI/testing/sysfs-kernel-livepatch
> +++ b/Documentation/ABI/testing/sysfs-kernel-livepatch
> @@ -47,6 +47,14 @@ Description:
>  		disabled when the feature is used. See
>  		Documentation/livepatch/livepatch.rst for more information.
>  
> +What:           /sys/kernel/livepatch/<patch>/stack_order
> +Date:           Sep 2024
> +KernelVersion:  6.12.0
> +Contact:        live-patching@vger.kernel.org
> +Description:
> +		This attribute record the stack order of this livepatch module
> +		applied to the running system.

"The attribute holds the stack order of a live patch module applied to the 
running system." ?

Please also squash the patch into the previous one. It belongs there.

Thank you,
Miroslav