diff options
| author | Wardenjohn <[email protected]> | 2024-10-08 01:48:56 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-12-09 10:44:03 +0000 |
| commit | 3dae09de406167123449d9ece1f51855d5bac01a (patch) | |
| tree | fe9eadf2c4ad95c825912d015c9a3ae35cb04651 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | Merge tag 'livepatching-for-6.13' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-3dae09de406167123449d9ece1f51855d5bac01a.tar.gz kernel-3dae09de406167123449d9ece1f51855d5bac01a.zip | |
livepatch: Add stack_order sysfs attribute
Add "stack_order" sysfs attribute which holds the order in which a live
patch module was loaded into the system. A user can then determine an
active live patched version of a function.
cat /sys/kernel/livepatch/livepatch_1/stack_order -> 1
means that livepatch_1 is the first live patch applied
cat /sys/kernel/livepatch/livepatch_module/stack_order -> N
means that livepatch_module is the Nth live patch applied
Suggested-by: Petr Mladek <[email protected]>
Suggested-by: Miroslav Benes <[email protected]>
Suggested-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Wardenjohn <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Tested-by: Petr Mladek <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Updated kernel version and date in the ABI documentation.]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
