Home
last modified time | relevance | path

Searched refs:vmx_misc (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/include/asm/
A Dvmx.h137 static inline int vmx_misc_preemption_timer_rate(u64 vmx_misc) in vmx_misc_preemption_timer_rate() argument
139 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() argument
144 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() argument
149 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() argument
154 return (vmx_misc & GENMASK_ULL(63, 32)) >> 32; in vmx_misc_mseg_revid()
/linux/arch/x86/kvm/vmx/
A Dnested.c892 u64 vmx_misc = vmx_control_msr(vmx->nested.msrs.misc_low, in nested_vmx_max_atomic_switch_msrs() local
895 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() local
1281 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