disabled-features.h (5fa31af31e726c7f5a8f84800153054ca499338a) | disabled-features.h (ea4654e0885348f0faa47f6d7b44a08d75ad16e9) |
---|---|
1#ifndef _ASM_X86_DISABLED_FEATURES_H 2#define _ASM_X86_DISABLED_FEATURES_H 3 4/* These features, although they might be available in a CPU 5 * will not be used because the compile options to support 6 * them are not present. 7 * 8 * This code allows them to be checked and disabled at --- 30 unchanged lines hidden (view full) --- 39#endif /* CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS */ 40 41#ifdef CONFIG_X86_5LEVEL 42# define DISABLE_LA57 0 43#else 44# define DISABLE_LA57 (1<<(X86_FEATURE_LA57 & 31)) 45#endif 46 | 1#ifndef _ASM_X86_DISABLED_FEATURES_H 2#define _ASM_X86_DISABLED_FEATURES_H 3 4/* These features, although they might be available in a CPU 5 * will not be used because the compile options to support 6 * them are not present. 7 * 8 * This code allows them to be checked and disabled at --- 30 unchanged lines hidden (view full) --- 39#endif /* CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS */ 40 41#ifdef CONFIG_X86_5LEVEL 42# define DISABLE_LA57 0 43#else 44# define DISABLE_LA57 (1<<(X86_FEATURE_LA57 & 31)) 45#endif 46 |
47#ifdef CONFIG_PAGE_TABLE_ISOLATION | 47#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION |
48# define DISABLE_PTI 0 49#else 50# define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31)) 51#endif 52 53#ifdef CONFIG_RETPOLINE 54# define DISABLE_RETPOLINE 0 55#else --- 93 unchanged lines hidden --- | 48# define DISABLE_PTI 0 49#else 50# define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31)) 51#endif 52 53#ifdef CONFIG_RETPOLINE 54# define DISABLE_RETPOLINE 0 55#else --- 93 unchanged lines hidden --- |