Searched refs:vmx_misc (Results 1 – 2 of 2) sorted by relevance
137 static inline int vmx_misc_preemption_timer_rate(u64 vmx_misc) in vmx_misc_preemption_timer_rate() argument139 return vmx_misc & VMX_MISC_PREEMPTION_TIMER_RATE_MASK; in vmx_misc_preemption_timer_rate()142 static inline int vmx_misc_cr3_count(u64 vmx_misc) in vmx_misc_cr3_count() argument144 return (vmx_misc & GENMASK_ULL(24, 16)) >> 16; in vmx_misc_cr3_count()147 static inline int vmx_misc_max_msr(u64 vmx_misc) in vmx_misc_max_msr() argument149 return (vmx_misc & GENMASK_ULL(27, 25)) >> 25; in vmx_misc_max_msr()152 static inline int vmx_misc_mseg_revid(u64 vmx_misc) in vmx_misc_mseg_revid() argument154 return (vmx_misc & GENMASK_ULL(63, 32)) >> 32; in vmx_misc_mseg_revid()
892 u64 vmx_misc = vmx_control_msr(vmx->nested.msrs.misc_low, in nested_vmx_max_atomic_switch_msrs() local895 return (vmx_misc_max_msr(vmx_misc) + 1) * VMX_MISC_MSR_LIST_MULTIPLIER; in nested_vmx_max_atomic_switch_msrs()1279 u64 vmx_misc; in vmx_restore_vmx_misc() local1281 vmx_misc = vmx_control_msr(vmx->nested.msrs.misc_low, in vmx_restore_vmx_misc()1284 if (!is_bitwise_subset(vmx_misc, data, feature_and_reserved_bits)) in vmx_restore_vmx_misc()1290 vmx_misc_preemption_timer_rate(vmx_misc)) in vmx_restore_vmx_misc()1293 if (vmx_misc_cr3_count(data) > vmx_misc_cr3_count(vmx_misc)) in vmx_restore_vmx_misc()1296 if (vmx_misc_max_msr(data) > vmx_misc_max_msr(vmx_misc)) in vmx_restore_vmx_misc()1299 if (vmx_misc_mseg_revid(data) != vmx_misc_mseg_revid(vmx_misc)) in vmx_restore_vmx_misc()
Completed in 16 milliseconds