Home
last modified time | relevance | path

Searched refs:hostval (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
H A Dbugs.c173 u64 msrval, guestval = guest_spec_ctrl, hostval = spec_ctrl_current(); in x86_virt_spec_ctrl() local
177 if (hostval != guestval) { in x86_virt_spec_ctrl()
178 msrval = setguest ? guestval : hostval; in x86_virt_spec_ctrl()
197 hostval = SPEC_CTRL_SSBD; in x86_virt_spec_ctrl()
199 hostval = ssbd_tif_to_spec_ctrl(ti->flags); in x86_virt_spec_ctrl()
204 if (hostval != guestval) { in x86_virt_spec_ctrl()
208 ssbd_spec_ctrl_to_tif(hostval); in x86_virt_spec_ctrl()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dbugs.c183 u64 guestval, hostval; in x86_virt_spec_ctrl() local
200 hostval = SPEC_CTRL_SSBD; in x86_virt_spec_ctrl()
202 hostval = ssbd_tif_to_spec_ctrl(ti->flags); in x86_virt_spec_ctrl()
207 if (hostval != guestval) { in x86_virt_spec_ctrl()
211 ssbd_spec_ctrl_to_tif(hostval); in x86_virt_spec_ctrl()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dvmx.c6737 u64 hostval = this_cpu_read(x86_spec_ctrl_current); in vmx_spec_ctrl_restore_host() local
6753 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
6754 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dvmx.c7197 u64 hostval = this_cpu_read(x86_spec_ctrl_current); in vmx_spec_ctrl_restore_host() local
7213 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
7214 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()

Completed in 25 milliseconds