Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
116 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess.c588 set_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
590 clear_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
/kernel/linux/linux-5.10/arch/x86/mm/
Dtlb.c322 unsigned long ibpb = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_IBPB; in mm_mangle_tif_spec_ib()