Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/
H A Dbugs.c187 u64 guestval, hostval; in x86_virt_spec_ctrl() local
204 hostval = SPEC_CTRL_SSBD; in x86_virt_spec_ctrl()
206 hostval = ssbd_tif_to_spec_ctrl(ti->flags); in x86_virt_spec_ctrl()
211 if (hostval != guestval) { in x86_virt_spec_ctrl()
215 ssbd_spec_ctrl_to_tif(hostval); in x86_virt_spec_ctrl()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c7204 u64 hostval = this_cpu_read(x86_spec_ctrl_current); in vmx_spec_ctrl_restore_host() local
7220 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
7221 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()