xref: /openbmc/linux/kernel/livepatch/Kconfig (revision 5720acf4)
112cf89b5SJosh Poimboeufconfig HAVE_LIVEPATCH
283ac237aSChristoph Jaeger	bool
3b700e7f0SSeth Jennings	help
4b700e7f0SSeth Jennings	  Arch supports kernel live patching
5b700e7f0SSeth Jennings
612cf89b5SJosh Poimboeufconfig LIVEPATCH
783ac237aSChristoph Jaeger	bool "Kernel Live Patching"
8b700e7f0SSeth Jennings	depends on DYNAMIC_FTRACE_WITH_REGS
9b700e7f0SSeth Jennings	depends on MODULES
10b700e7f0SSeth Jennings	depends on SYSFS
11b700e7f0SSeth Jennings	depends on KALLSYMS_ALL
1212cf89b5SJosh Poimboeuf	depends on HAVE_LIVEPATCH
135720acf4SMiroslav Benes	depends on !TRIM_UNUSED_KSYMS
14b700e7f0SSeth Jennings	help
15b700e7f0SSeth Jennings	  Say Y here if you want to support kernel live patching.
16b700e7f0SSeth Jennings	  This option has no runtime impact until a kernel "patch"
17b700e7f0SSeth Jennings	  module uses the interface provided by this option to register
18b700e7f0SSeth Jennings	  a patch, causing calls to patched functions to be redirected
19b700e7f0SSeth Jennings	  to new function code contained in the patch module.
20