FROMLIST: psi: track changed states
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / arch / Kconfig
index e59db803807f2afddf0b8aacc4036766b1a1ae7e..0f236360419336a9c0a4e0f5555dfbc46b4034d3 100644 (file)
@@ -13,6 +13,9 @@ config KEXEC_CORE
 config HAVE_IMA_KEXEC
        bool
 
+config HOTPLUG_SMT
+       bool
+
 config OPROFILE
        tristate "OProfile system profiling"
        depends on PROFILING
@@ -333,6 +336,9 @@ config HAVE_ARCH_JUMP_LABEL
 config HAVE_RCU_TABLE_FREE
        bool
 
+config HAVE_RCU_TABLE_INVALIDATE
+       bool
+
 config ARCH_HAVE_NMI_SAFE_CMPXCHG
        bool
 
@@ -628,7 +634,8 @@ config LTO_NONE
 config LTO_CLANG
        bool "Use clang Link Time Optimization (LTO) (EXPERIMENTAL)"
        depends on ARCH_SUPPORTS_LTO_CLANG
-       depends on !FTRACE_MCOUNT_RECORD
+       depends on !FTRACE_MCOUNT_RECORD || HAVE_C_RECORDMCOUNT
+       depends on !KASAN
        select LTO
        select THIN_ARCHIVES
        select LD_DEAD_CODE_DATA_ELIMINATION
@@ -645,6 +652,34 @@ config LTO_CLANG
 
 endchoice
 
+config CFI
+       bool
+
+config CFI_PERMISSIVE
+       bool "Use CFI in permissive mode"
+       depends on CFI
+       help
+         When selected, Control Flow Integrity (CFI) violations result in a
+         warning instead of a kernel panic. This option is useful for finding
+         CFI violations in drivers during development.
+
+config CFI_CLANG
+       bool "Use clang Control Flow Integrity (CFI) (EXPERIMENTAL)"
+       depends on LTO_CLANG
+       depends on KALLSYMS
+       select CFI
+       help
+         This option enables clang Control Flow Integrity (CFI), which adds
+         runtime checking for indirect function calls.
+
+config CFI_CLANG_SHADOW
+       bool "Use CFI shadow to speed up cross-module checks"
+       default y
+       depends on CFI_CLANG
+       help
+         If you select this option, the kernel builds a fast look-up table of
+         CFI check functions in loaded modules to reduce overhead.
+
 config HAVE_ARCH_WITHIN_STACK_FRAMES
        bool
        help
@@ -999,4 +1034,12 @@ config REFCOUNT_FULL
          against various use-after-free conditions that can be used in
          security flaw exploits.
 
+config HAVE_ARCH_COMPILER_H
+       bool
+       help
+         An architecture can select this if it provides an
+         asm/compiler.h header that should be included after
+         linux/compiler-*.h in order to override macro definitions that those
+         headers generally provide.
+
 source "kernel/gcov/Kconfig"