Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/
H A Dindex.rst22 spec_ctrl
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-ls102xa/
H A Dimmap_ls102xa.h386 u32 spec_ctrl; /* Speculation Control */ member
/OK3568_Linux_fs/kernel/arch/x86/kvm/vmx/
H A Dvmx.h232 u64 spec_ctrl; member
H A Dvmx.c1920 msr_info->data = to_vmx(vcpu)->spec_ctrl; in vmx_get_msr()
2126 vmx->spec_ctrl = data; in vmx_set_msr()
4489 vmx->spec_ctrl = 0; in vmx_vcpu_reset()
6715 vmx->spec_ctrl = __rdmsr(MSR_IA32_SPEC_CTRL); in vmx_spec_ctrl_restore_host()
6725 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
6878 x86_spec_ctrl_set_guest(vmx->spec_ctrl, 0); in vmx_vcpu_run()
/OK3568_Linux_fs/kernel/arch/x86/kvm/svm/
H A Dsvm.h126 u64 spec_ctrl; member
H A Dsvm.c1269 svm->spec_ctrl = 0; in svm_vcpu_reset()
2556 msr_info->data = svm->spec_ctrl; in svm_get_msr()
2643 svm->spec_ctrl = data; in svm_set_msr()
3596 x86_spec_ctrl_set_guest(svm->spec_ctrl, svm->virt_spec_ctrl); in svm_vcpu_run()
3616 svm->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in svm_vcpu_run()
3620 x86_spec_ctrl_restore_host(svm->spec_ctrl, svm->virt_spec_ctrl); in svm_vcpu_run()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
H A Dimmap_lsch2.h556 u32 spec_ctrl; /* Speculation Control */ member
/OK3568_Linux_fs/kernel/drivers/idle/
H A Dintel_idle.c147 u64 spec_ctrl = spec_ctrl_current(); in intel_idle_ibrs() local
156 wrmsrl(MSR_IA32_SPEC_CTRL, spec_ctrl); in intel_idle_ibrs()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/hw-vuln/
H A Dspectre.rst509 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
692 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
699 (See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).