Searched refs:spec_ctrl (Results 1 – 11 of 11) sorted by relevance
62 static inline unsigned long ssbd_spec_ctrl_to_tif(u64 spec_ctrl) in ssbd_spec_ctrl_to_tif() argument65 return (spec_ctrl & SPEC_CTRL_SSBD) << (TIF_SSBD - SPEC_CTRL_SSBD_SHIFT); in ssbd_spec_ctrl_to_tif()68 static inline unsigned long stibp_spec_ctrl_to_tif(u64 spec_ctrl) in stibp_spec_ctrl_to_tif() argument71 return (spec_ctrl & SPEC_CTRL_STIBP) << (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
281 u32 spec_ctrl; /* Guest version of SPEC_CTRL at 0x2E0 */ member
21 static DEFINE_PER_CPU(u64, spec_ctrl);44 wrmsrl(MSR_IA32_SPEC_CTRL, this_cpu_read(spec_ctrl)); in xen_vcpu_notify_restore()61 this_cpu_write(spec_ctrl, tmp); in xen_vcpu_notify_suspend()
23 spec_ctrl
25 Please see document: :ref:`Documentation/userspace-api/spec_ctrl.rst
486 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).668 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).675 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
1310 svm->spec_ctrl = 0; in svm_vcpu_reset()2725 msr_info->data = svm->vmcb->save.spec_ctrl; in svm_get_msr()2727 msr_info->data = svm->spec_ctrl; in svm_get_msr()2827 svm->vmcb->save.spec_ctrl = data; in svm_set_msr()2829 svm->spec_ctrl = data; in svm_set_msr()3816 x86_spec_ctrl_set_guest(svm->spec_ctrl, svm->virt_spec_ctrl); in svm_vcpu_run()3837 svm->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in svm_vcpu_run()3843 x86_spec_ctrl_restore_host(svm->spec_ctrl, svm->virt_spec_ctrl); in svm_vcpu_run()
142 u64 spec_ctrl; member
577 to_vmcb->save.spec_ctrl = from_vmcb->save.spec_ctrl; in nested_svm_copy_common_state()
259 u64 spec_ctrl; member
1798 msr_info->data = to_vmx(vcpu)->spec_ctrl; in vmx_get_msr()2037 vmx->spec_ctrl = data; in vmx_set_msr()4444 vmx->spec_ctrl = 0; in vmx_vcpu_reset()6703 x86_spec_ctrl_set_guest(vmx->spec_ctrl, 0); in vmx_vcpu_run()6724 vmx->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in vmx_vcpu_run()6726 x86_spec_ctrl_restore_host(vmx->spec_ctrl, 0); in vmx_vcpu_run()