xref: /openbmc/linux/kernel/livepatch/Kconfig (revision b700e7f0)
1b700e7f0SSeth Jenningsconfig ARCH_HAVE_LIVE_PATCHING
2b700e7f0SSeth Jennings	boolean
3b700e7f0SSeth Jennings	help
4b700e7f0SSeth Jennings	  Arch supports kernel live patching
5b700e7f0SSeth Jennings
6b700e7f0SSeth Jenningsconfig LIVE_PATCHING
7b700e7f0SSeth Jennings	boolean "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
12b700e7f0SSeth Jennings	depends on ARCH_HAVE_LIVE_PATCHING
13b700e7f0SSeth Jennings	help
14b700e7f0SSeth Jennings	  Say Y here if you want to support kernel live patching.
15b700e7f0SSeth Jennings	  This option has no runtime impact until a kernel "patch"
16b700e7f0SSeth Jennings	  module uses the interface provided by this option to register
17b700e7f0SSeth Jennings	  a patch, causing calls to patched functions to be redirected
18b700e7f0SSeth Jennings	  to new function code contained in the patch module.
19