diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 29 | 
1 files changed, 4 insertions, 25 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 0340aad3f2fc..09705ccc393c 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -25,6 +25,7 @@ struct vm86;  #include <asm/special_insns.h>  #include <asm/fpu/types.h>  #include <asm/unwind_hints.h> +#include <asm/vmxfeatures.h>  #include <linux/personality.h>  #include <linux/cache.h> @@ -85,6 +86,9 @@ struct cpuinfo_x86 {  	/* Number of 4K pages in DTLB/ITLB combined(in pages): */  	int			x86_tlbsize;  #endif +#ifdef CONFIG_X86_VMX_FEATURE_NAMES +	__u32			vmx_capability[NVMXINTS]; +#endif  	__u8			x86_virt_bits;  	__u8			x86_phys_bits;  	/* CPUID returned core id bits: */ @@ -943,24 +947,6 @@ extern int set_tsc_mode(unsigned int val);  DECLARE_PER_CPU(u64, msr_misc_features_shadow); -/* Register/unregister a process' MPX related resource */ -#define MPX_ENABLE_MANAGEMENT()	mpx_enable_management() -#define MPX_DISABLE_MANAGEMENT()	mpx_disable_management() - -#ifdef CONFIG_X86_INTEL_MPX -extern int mpx_enable_management(void); -extern int mpx_disable_management(void); -#else -static inline int mpx_enable_management(void) -{ -	return -EINVAL; -} -static inline int mpx_disable_management(void) -{ -	return -EINVAL; -} -#endif /* CONFIG_X86_INTEL_MPX */ -  #ifdef CONFIG_CPU_SUP_AMD  extern u16 amd_get_nb_id(int cpu);  extern u32 amd_get_nodes_per_socket(void); @@ -1015,11 +1001,4 @@ enum mds_mitigations {  	MDS_MITIGATION_VMWERV,  }; -enum taa_mitigations { -	TAA_MITIGATION_OFF, -	TAA_MITIGATION_UCODE_NEEDED, -	TAA_MITIGATION_VERW, -	TAA_MITIGATION_TSX_DISABLED, -}; -  #endif /* _ASM_X86_PROCESSOR_H */  |