Home
last modified time | relevance | path

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

/Linux-v6.6/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.h86 #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ macro
109 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
/Linux-v6.6/arch/x86/kernel/
Dprocess.c655 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()
/Linux-v6.6/arch/x86/mm/
Dtlb.c372 unsigned long spec_bits = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_SPEC_MASK; in mm_mangle_tif_spec_bits()
378 BUILD_BUG_ON(TIF_SPEC_L1D_FLUSH != TIF_SPEC_IB + 1); in mm_mangle_tif_spec_bits()