ublk_drv: return flag of UBLK_F_URING_CMD_COMP_IN_TASK in case of module
[linux-block.git] / arch / Kconfig
index 5dbf11a5ba4e8ea2879b780f23d543d78ac31ebc..266862428a84c8c30e7e98cd75dd354acee6598b 100644 (file)
@@ -355,6 +355,12 @@ config HAVE_RSEQ
          This symbol should be selected by an architecture if it
          supports an implementation of restartable sequences.
 
+config HAVE_RUST
+       bool
+       help
+         This symbol should be selected by an architecture if it
+         supports Rust.
+
 config HAVE_FUNCTION_ARG_ACCESS_API
        bool
        help
@@ -738,11 +744,13 @@ config ARCH_SUPPORTS_CFI_CLANG
          An architecture should select this option if it can support Clang's
          Control-Flow Integrity (CFI) checking.
 
+config ARCH_USES_CFI_TRAPS
+       bool
+
 config CFI_CLANG
        bool "Use Clang's Control Flow Integrity (CFI)"
-       depends on LTO_CLANG && ARCH_SUPPORTS_CFI_CLANG
-       depends on CLANG_VERSION >= 140000
-       select KALLSYMS
+       depends on ARCH_SUPPORTS_CFI_CLANG
+       depends on $(cc-option,-fsanitize=kcfi)
        help
          This option enables Clang’s forward-edge Control Flow Integrity
          (CFI) checking, where the compiler injects a runtime check to each
@@ -754,16 +762,6 @@ config CFI_CLANG
 
            https://clang.llvm.org/docs/ControlFlowIntegrity.html
 
-config CFI_CLANG_SHADOW
-       bool "Use CFI shadow to speed up cross-module checks"
-       default y
-       depends on CFI_CLANG && MODULES
-       help
-         If you select this option, the kernel builds a fast look-up table of
-         CFI check functions in loaded modules to reduce performance overhead.
-
-         If unsure, say Y.
-
 config CFI_PERMISSIVE
        bool "Use CFI in permissive mode"
        depends on CFI_CLANG
@@ -923,6 +921,9 @@ config HAVE_SOFTIRQ_ON_OWN_STACK
          Architecture provides a function to run __do_softirq() on a
          separate stack.
 
+config SOFTIRQ_ON_OWN_STACK
+       def_bool HAVE_SOFTIRQ_ON_OWN_STACK && !PREEMPT_RT
+
 config ALTERNATE_USER_ADDRESS_SPACE
        bool
        help