Searched refs:TIF_SPEC_IB (Results 1 – 4 of 4) sorted by relevance
59 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()60 return (tifn & _TIF_SPEC_IB) >> (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()71 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()72 return (spec_ctrl & SPEC_CTRL_STIBP) << (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
92 #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ macro115 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
655 set_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()657 clear_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
369 unsigned long spec_bits = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_SPEC_MASK; in mm_mangle_tif_spec_bits() 375 BUILD_BUG_ON(TIF_SPEC_L1D_FLUSH != TIF_SPEC_IB + 1); in mm_mangle_tif_spec_bits() 409 * which has TIF_SPEC_IB set to a user space task in cond_mitigation() 410 * (potential victim) which has TIF_SPEC_IB not set. in cond_mitigation() 413 * which has TIF_SPEC_IB not set to a user space task in cond_mitigation() 414 * (potential victim) which has TIF_SPEC_IB set. in cond_mitigation() 417 * a task which has TIF_SPEC_IB set is either scheduled in in cond_mitigation() 431 * above cases. Mangle the TIF_SPEC_IB bit into the mm in cond_mitigation()