disabled-features.h (15e67227c49a57837108acfe1c80570e1bd9f962) | disabled-features.h (a149180fbcf336e97ce4eb2cdc13672727feb94d) |
---|---|
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 --- 41 unchanged lines hidden (view full) --- 50# define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31)) 51#endif 52 53#ifdef CONFIG_RETPOLINE 54# define DISABLE_RETPOLINE 0 55#else 56# define DISABLE_RETPOLINE ((1 << (X86_FEATURE_RETPOLINE & 31)) | \ 57 (1 << (X86_FEATURE_RETPOLINE_LFENCE & 31)) | \ | 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 --- 41 unchanged lines hidden (view full) --- 50# define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31)) 51#endif 52 53#ifdef CONFIG_RETPOLINE 54# define DISABLE_RETPOLINE 0 55#else 56# define DISABLE_RETPOLINE ((1 << (X86_FEATURE_RETPOLINE & 31)) | \ 57 (1 << (X86_FEATURE_RETPOLINE_LFENCE & 31)) | \ |
58 (1 << (X86_FEATURE_RETHUNK & 31))) | 58 (1 << (X86_FEATURE_RETHUNK & 31)) | \ 59 (1 << (X86_FEATURE_UNRET & 31))) |
59#endif 60 61#ifdef CONFIG_INTEL_IOMMU_SVM 62# define DISABLE_ENQCMD 0 63#else 64# define DISABLE_ENQCMD (1 << (X86_FEATURE_ENQCMD & 31)) 65#endif 66 --- 39 unchanged lines hidden --- | 60#endif 61 62#ifdef CONFIG_INTEL_IOMMU_SVM 63# define DISABLE_ENQCMD 0 64#else 65# define DISABLE_ENQCMD (1 << (X86_FEATURE_ENQCMD & 31)) 66#endif 67 --- 39 unchanged lines hidden --- |