Lines Matching refs:l1tf
207 static int vmx_setup_l1d_flush(enum vmx_l1d_flush_state l1tf) in vmx_setup_l1d_flush() argument
233 if (l1tf == VMENTER_L1D_FLUSH_AUTO) { in vmx_setup_l1d_flush()
236 l1tf = VMENTER_L1D_FLUSH_NEVER; in vmx_setup_l1d_flush()
241 l1tf = VMENTER_L1D_FLUSH_COND; in vmx_setup_l1d_flush()
245 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
249 l1tf = VMENTER_L1D_FLUSH_ALWAYS; in vmx_setup_l1d_flush()
252 if (l1tf != VMENTER_L1D_FLUSH_NEVER && !vmx_l1d_flush_pages && in vmx_setup_l1d_flush()
274 l1tf_vmx_mitigation = l1tf; in vmx_setup_l1d_flush()
276 if (l1tf != VMENTER_L1D_FLUSH_NEVER) in vmx_setup_l1d_flush()
281 if (l1tf == VMENTER_L1D_FLUSH_COND) in vmx_setup_l1d_flush()
304 int l1tf, ret; in vmentry_l1d_flush_set() local
306 l1tf = vmentry_l1d_flush_parse(s); in vmentry_l1d_flush_set()
307 if (l1tf < 0) in vmentry_l1d_flush_set()
308 return l1tf; in vmentry_l1d_flush_set()
320 vmentry_l1d_flush_param = l1tf; in vmentry_l1d_flush_set()
325 ret = vmx_setup_l1d_flush(l1tf); in vmentry_l1d_flush_set()