Home
last modified time | relevance | path

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

/Linux-v5.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
115 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
/Linux-v5.10/arch/x86/kernel/
Dprocess.c570 set_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
572 clear_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
/Linux-v5.10/arch/x86/mm/
Dtlb.c322 unsigned long ibpb = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_IBPB; in mm_mangle_tif_spec_ib()