x86: CPUID and CR3/CR4 flags for Linear Address Masking
[sfrench/cifs-2.6.git] / arch / x86 / Kconfig
index a825bf031f4957396c8201ff375abeafaceceab2..aa9f73f5d6705995ac8093c20d4a7378b99c5b1c 100644 (file)
@@ -2290,6 +2290,17 @@ config RANDOMIZE_MEMORY_PHYSICAL_PADDING
 
          If unsure, leave at the default value.
 
+config ADDRESS_MASKING
+       bool "Linear Address Masking support"
+       depends on X86_64
+       help
+         Linear Address Masking (LAM) modifies the checking that is applied
+         to 64-bit linear addresses, allowing software to use of the
+         untranslated address bits for metadata.
+
+         The capability can be used for efficient address sanitizers (ASAN)
+         implementation and for optimizations in JITs.
+
 config HOTPLUG_CPU
        def_bool y
        depends on SMP