Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Dbugs.c185 u64 msrval, guestval = guest_spec_ctrl, hostval = spec_ctrl_current(); in x86_virt_spec_ctrl() local
189 if (hostval != guestval) { in x86_virt_spec_ctrl()
190 msrval = setguest ? guestval : hostval; in x86_virt_spec_ctrl()
209 hostval = SPEC_CTRL_SSBD; in x86_virt_spec_ctrl()
211 hostval = ssbd_tif_to_spec_ctrl(ti->flags); in x86_virt_spec_ctrl()
216 if (hostval != guestval) { in x86_virt_spec_ctrl()
220 ssbd_spec_ctrl_to_tif(hostval); in x86_virt_spec_ctrl()
/arch/x86/kvm/vmx/
Dvmx.c6710 u64 hostval = this_cpu_read(x86_spec_ctrl_current); in vmx_spec_ctrl_restore_host() local
6726 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
6727 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()