]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - init/Kconfig
x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
[mirror_ubuntu-jammy-kernel.git] / init / Kconfig
index 8cb97f141b709accb77e1bc34cceddf5af89b31b..c6b8051c8d3718f0b7333eff24dc66f7cb2807a2 100644 (file)
@@ -86,6 +86,10 @@ config CC_HAS_ASM_INLINE
 config CC_HAS_NO_PROFILE_FN_ATTR
        def_bool $(success,echo '__attribute__((no_profile_instrument_function)) int x();' | $(CC) -x c - -c -o /dev/null -Werror)
 
+config PAHOLE_VERSION
+       int
+       default $(shell,$(srctree)/scripts/pahole-version.sh $(PAHOLE))
+
 config CONSTRUCTORS
        bool
 
@@ -139,7 +143,7 @@ config COMPILE_TEST
 
 config WERROR
        bool "Compile the kernel with warnings as errors"
-       default y
+       default COMPILE_TEST
        help
          A kernel build should not cause any compiler warnings, and this
          enables the '-Werror' flag to enforce that rule by default.
@@ -355,6 +359,15 @@ config DEFAULT_HOSTNAME
 config ARCH_NO_SWAP
        bool
 
+config VERSION_SIGNATURE
+       string "Arbitrary version signature"
+       help
+         This string will be created in a file, /proc/version_signature. It
+         is useful in determining arbitrary data about your kernel. For instance,
+         if you have several kernels of the same version, but need to keep track
+         of a revision of the same kernel, but not affect it's ability to load
+         compatible modules, this is the easiest way to do that.
+
 config SWAP
        bool "Support for paging of anonymous memory (swap)"
        depends on MMU && BLOCK && !ARCH_NO_SWAP