Home
last modified time | relevance | path

Searched refs:TIF_SPEC_IB (Results 1 – 4 of 4) sorted by relevance

/arch/x86/include/asm/
Dspec-ctrl.h58 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()
59 return (tifn & _TIF_SPEC_IB) >> (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()
70 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
71 return (spec_ctrl & SPEC_CTRL_STIBP) << (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
Dthread_info.h83 #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ macro
107 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
/arch/x86/kernel/
Dprocess.c599 set_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
601 clear_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
/arch/x86/mm/
Dtlb.c365 unsigned long spec_bits = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_SPEC_MASK; in mm_mangle_tif_spec_bits()
371 BUILD_BUG_ON(TIF_SPEC_L1D_FLUSH != TIF_SPEC_IB + 1); in mm_mangle_tif_spec_bits()