Home
last modified time | relevance | path

Searched refs:spec_ctrl (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/arch/x86/include/asm/
Dspec-ctrl.h62 static inline unsigned long ssbd_spec_ctrl_to_tif(u64 spec_ctrl) in ssbd_spec_ctrl_to_tif() argument
65 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() argument
71 return (spec_ctrl & SPEC_CTRL_STIBP) << (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
Dsvm.h350 u64 spec_ctrl; /* Guest version of SPEC_CTRL at 0x2E0 */ member
/linux-6.6.21/arch/x86/xen/
Dsuspend.c21 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()
/linux-6.6.21/arch/x86/kvm/
Dkvm-asm-offsets.c19 OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl); in common()
27 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); in common()
/linux-6.6.21/Documentation/translations/zh_CN/userspace-api/
Dindex.rst38 * spec_ctrl
/linux-6.6.21/Documentation/userspace-api/
Dindex.rst23 spec_ctrl
/linux-6.6.21/Documentation/admin-guide/hw-vuln/
Dl1d_flush.rst25 Please see document: :ref:`Documentation/userspace-api/spec_ctrl.rst
Dspectre.rst523 :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
659 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
666 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.h281 u64 spec_ctrl; member
Dvmx.c2026 msr_info->data = to_vmx(vcpu)->spec_ctrl; in vmx_get_msr()
2289 vmx->spec_ctrl = data; in vmx_set_msr()
4866 vmx->spec_ctrl = 0; in vmx_vcpu_reset()
7203 vmx->spec_ctrl = __rdmsr(MSR_IA32_SPEC_CTRL); in vmx_spec_ctrl_restore_host()
7213 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.h222 u64 spec_ctrl; member
Dsvm.c1415 svm->spec_ctrl = 0; in svm_vcpu_reset()
2915 msr_info->data = svm->vmcb->save.spec_ctrl; in svm_get_msr()
2917 msr_info->data = svm->spec_ctrl; in svm_get_msr()
3047 svm->vmcb->save.spec_ctrl = data; in svm_set_msr()
3049 svm->spec_ctrl = data; in svm_set_msr()
Dnested.c780 to_vmcb->save.spec_ctrl = from_vmcb->save.spec_ctrl; in nested_svm_copy_common_state()
/linux-6.6.21/drivers/idle/
Dintel_idle.c176 u64 spec_ctrl = spec_ctrl_current(); in intel_idle_ibrs() local
185 native_wrmsrl(MSR_IA32_SPEC_CTRL, spec_ctrl); in intel_idle_ibrs()