diff options
author | Song Liu <song@kernel.org> | 2025-06-30 10:45:02 -0700 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2025-07-01 15:18:53 +0100 |
commit | fd1e0fd71f6552238573efa92fd3e6c324986ee3 (patch) | |
tree | 30d1f9e5681ee1d796e673999fd55ab5bebdf088 /scripts/lib/kdoc/kdoc_files.py | |
parent | 805f13e403cd43bb88790642feef507108af6fc7 (diff) |
arm64: Implement HAVE_LIVEPATCH
Allocate a task flag used to represent the patch pending state for the
task. When a livepatch is being loaded or unloaded, the livepatch code
uses this flag to select the proper version of a being patched kernel
functions to use for current task.
In arch/arm64/Kconfig, select HAVE_LIVEPATCH and include proper Kconfig.
This is largely based on [1] by Suraj Jitindar Singh.
[1] https://lore.kernel.org/all/20210604235930.603-1-surajjs@amazon.com/
Cc: Suraj Jitindar Singh <surajjs@amazon.com>
Cc: Torsten Duwe <duwe@suse.de>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Tested-by: Breno Leitao <leitao@debian.org>
Tested-by: Andrea della Porta <andrea.porta@suse.com>
Signed-off-by: Song Liu <song@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20250630174502.842486-1-song@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions