Searched refs:vmx_misc (Results 1 – 2 of 2) sorted by relevance
135 static inline int vmx_misc_preemption_timer_rate(u64 vmx_misc) in vmx_misc_preemption_timer_rate() argument137 return vmx_misc & VMX_MISC_PREEMPTION_TIMER_RATE_MASK; in vmx_misc_preemption_timer_rate()140 static inline int vmx_misc_cr3_count(u64 vmx_misc) in vmx_misc_cr3_count() argument142 return (vmx_misc & GENMASK_ULL(24, 16)) >> 16; in vmx_misc_cr3_count()145 static inline int vmx_misc_max_msr(u64 vmx_misc) in vmx_misc_max_msr() argument147 return (vmx_misc & GENMASK_ULL(27, 25)) >> 25; in vmx_misc_max_msr()150 static inline int vmx_misc_mseg_revid(u64 vmx_misc) in vmx_misc_mseg_revid() argument152 return (vmx_misc & GENMASK_ULL(63, 32)) >> 32; in vmx_misc_mseg_revid()
882 u64 vmx_misc = vmx_control_msr(vmx->nested.msrs.misc_low, in nested_vmx_max_atomic_switch_msrs() local885 return (vmx_misc_max_msr(vmx_misc) + 1) * VMX_MISC_MSR_LIST_MULTIPLIER; in nested_vmx_max_atomic_switch_msrs()1332 u64 vmx_misc = vmx_control_msr(vmcs_config.nested.misc_low, in vmx_restore_vmx_misc() local1335 if (!is_bitwise_subset(vmx_misc, data, feature_and_reserved_bits)) in vmx_restore_vmx_misc()1341 vmx_misc_preemption_timer_rate(vmx_misc)) in vmx_restore_vmx_misc()1344 if (vmx_misc_cr3_count(data) > vmx_misc_cr3_count(vmx_misc)) in vmx_restore_vmx_misc()1347 if (vmx_misc_max_msr(data) > vmx_misc_max_msr(vmx_misc)) in vmx_restore_vmx_misc()1350 if (vmx_misc_mseg_revid(data) != vmx_misc_mseg_revid(vmx_misc)) in vmx_restore_vmx_misc()