1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 212cf89b5SJosh Poimboeufconfig HAVE_LIVEPATCH 383ac237aSChristoph Jaeger bool 4b700e7f0SSeth Jennings help 5b700e7f0SSeth Jennings Arch supports kernel live patching 6b700e7f0SSeth Jennings 712cf89b5SJosh Poimboeufconfig LIVEPATCH 883ac237aSChristoph Jaeger bool "Kernel Live Patching" 9*2860cd8aSSteven Rostedt (VMware) depends on DYNAMIC_FTRACE_WITH_REGS || DYNAMIC_FTRACE_WITH_ARGS 10b700e7f0SSeth Jennings depends on MODULES 11b700e7f0SSeth Jennings depends on SYSFS 12b700e7f0SSeth Jennings depends on KALLSYMS_ALL 1312cf89b5SJosh Poimboeuf depends on HAVE_LIVEPATCH 145720acf4SMiroslav Benes depends on !TRIM_UNUSED_KSYMS 15b700e7f0SSeth Jennings help 16b700e7f0SSeth Jennings Say Y here if you want to support kernel live patching. 17b700e7f0SSeth Jennings This option has no runtime impact until a kernel "patch" 18b700e7f0SSeth Jennings module uses the interface provided by this option to register 19b700e7f0SSeth Jennings a patch, causing calls to patched functions to be redirected 20b700e7f0SSeth Jennings to new function code contained in the patch module. 21