Lines Matching refs:l1tf
232 static int vmx_setup_l1d_flush(enum vmx_l1d_flush_state l1tf) in vmx_setup_l1d_flush() argument
258 if (l1tf == VMENTER_L1D_FLUSH_AUTO) { in vmx_setup_l1d_flush()
261 l1tf = VMENTER_L1D_FLUSH_NEVER; in vmx_setup_l1d_flush()
266 l1tf = VMENTER_L1D_FLUSH_COND; in vmx_setup_l1d_flush()
270 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
274 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
277 if (l1tf != VMENTER_L1D_FLUSH_NEVER && !vmx_l1d_flush_pages && in vmx_setup_l1d_flush()
299 l1tf_vmx_mitigation = l1tf; in vmx_setup_l1d_flush()
301 if (l1tf != VMENTER_L1D_FLUSH_NEVER) in vmx_setup_l1d_flush()
306 if (l1tf == VMENTER_L1D_FLUSH_COND) in vmx_setup_l1d_flush()
329 int l1tf, ret; in vmentry_l1d_flush_set() local
331 l1tf = vmentry_l1d_flush_parse(s); in vmentry_l1d_flush_set()
332 if (l1tf < 0) in vmentry_l1d_flush_set()
333 return l1tf; in vmentry_l1d_flush_set()
345 vmentry_l1d_flush_param = l1tf; in vmentry_l1d_flush_set()
350 ret = vmx_setup_l1d_flush(l1tf); in vmentry_l1d_flush_set()