Lines Matching refs:l1tf
213 static int vmx_setup_l1d_flush(enum vmx_l1d_flush_state l1tf) in vmx_setup_l1d_flush() argument
234 if (l1tf == VMENTER_L1D_FLUSH_AUTO) { in vmx_setup_l1d_flush()
237 l1tf = VMENTER_L1D_FLUSH_NEVER; in vmx_setup_l1d_flush()
242 l1tf = VMENTER_L1D_FLUSH_COND; in vmx_setup_l1d_flush()
246 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
250 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
253 if (l1tf != VMENTER_L1D_FLUSH_NEVER && !vmx_l1d_flush_pages && in vmx_setup_l1d_flush()
271 l1tf_vmx_mitigation = l1tf; in vmx_setup_l1d_flush()
273 if (l1tf != VMENTER_L1D_FLUSH_NEVER) in vmx_setup_l1d_flush()
278 if (l1tf == VMENTER_L1D_FLUSH_COND) in vmx_setup_l1d_flush()
301 int l1tf, ret; in vmentry_l1d_flush_set() local
303 l1tf = vmentry_l1d_flush_parse(s); in vmentry_l1d_flush_set()
304 if (l1tf < 0) in vmentry_l1d_flush_set()
305 return l1tf; in vmentry_l1d_flush_set()
317 vmentry_l1d_flush_param = l1tf; in vmentry_l1d_flush_set()
322 ret = vmx_setup_l1d_flush(l1tf); in vmentry_l1d_flush_set()