Lines Matching refs:l1tf
250 static int vmx_setup_l1d_flush(enum vmx_l1d_flush_state l1tf) in vmx_setup_l1d_flush() argument
271 if (l1tf == VMENTER_L1D_FLUSH_AUTO) { in vmx_setup_l1d_flush()
274 l1tf = VMENTER_L1D_FLUSH_NEVER; in vmx_setup_l1d_flush()
279 l1tf = VMENTER_L1D_FLUSH_COND; in vmx_setup_l1d_flush()
283 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
287 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
290 if (l1tf != VMENTER_L1D_FLUSH_NEVER && !vmx_l1d_flush_pages && in vmx_setup_l1d_flush()
312 l1tf_vmx_mitigation = l1tf; in vmx_setup_l1d_flush()
314 if (l1tf != VMENTER_L1D_FLUSH_NEVER) in vmx_setup_l1d_flush()
319 if (l1tf == VMENTER_L1D_FLUSH_COND) in vmx_setup_l1d_flush()
342 int l1tf, ret; in vmentry_l1d_flush_set() local
344 l1tf = vmentry_l1d_flush_parse(s); in vmentry_l1d_flush_set()
345 if (l1tf < 0) in vmentry_l1d_flush_set()
346 return l1tf; in vmentry_l1d_flush_set()
358 vmentry_l1d_flush_param = l1tf; in vmentry_l1d_flush_set()
363 ret = vmx_setup_l1d_flush(l1tf); in vmentry_l1d_flush_set()