Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kernel/cpu/
Dbugs.c186 u64 guestval, hostval; in x86_virt_spec_ctrl() local
203 hostval = SPEC_CTRL_SSBD; in x86_virt_spec_ctrl()
205 hostval = ssbd_tif_to_spec_ctrl(ti->flags); in x86_virt_spec_ctrl()
210 if (hostval != guestval) { in x86_virt_spec_ctrl()
214 ssbd_spec_ctrl_to_tif(hostval); in x86_virt_spec_ctrl()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c7188 u64 hostval = this_cpu_read(x86_spec_ctrl_current); in vmx_spec_ctrl_restore_host() local
7204 vmx->spec_ctrl != hostval) in vmx_spec_ctrl_restore_host()
7205 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()