diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2d870e08af60..2c681628d2bd 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2263,6 +2263,7 @@ config RANDOMIZE_MEMORY_PHYSICAL_PADDING config ADDRESS_MASKING bool "Linear Address Masking support" depends on X86_64 + depends on COMPILE_TEST || !CPU_MITIGATIONS # wait for LASS help Linear Address Masking (LAM) modifies the checking that is applied to 64-bit linear addresses, allowing software to use of the