Home
last modified time | relevance | path

Searched refs:TIF_SSBD (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/x86/include/asm/
Dspec-ctrl.h52 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_tif_to_spec_ctrl()
53 return (tifn & _TIF_SSBD) >> (TIF_SSBD - SPEC_CTRL_SSBD_SHIFT); in ssbd_tif_to_spec_ctrl()
64 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_spec_ctrl_to_tif()
65 return (spec_ctrl & SPEC_CTRL_SSBD) << (TIF_SSBD - SPEC_CTRL_SSBD_SHIFT); in ssbd_spec_ctrl_to_tif()
Dthread_info.h82 #define TIF_SSBD 5 /* Speculative store bypass disable */ macro
111 #define _TIF_SSBD (1 << TIF_SSBD)
/Linux-v5.10/arch/x86/kernel/
Dprocess.c318 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec()
320 clear_thread_flag(TIF_SSBD); in arch_setup_new_exec()
565 set_tsk_thread_flag(tsk, TIF_SSBD); in speculation_ctrl_update_tif()
567 clear_tsk_thread_flag(tsk, TIF_SSBD); in speculation_ctrl_update_tif()
/Linux-v5.10/arch/arm64/kernel/
Dproton-pack.c648 ssbs = !test_tsk_thread_flag(tsk, TIF_SSBD); in spectre_v4_enable_task_mitigation()
664 set_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_enable_mitigation()
671 clear_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_disable_mitigation()
Dentry.S141 tbnz \tmp2, #TIF_SSBD, .L__asm_ssbd_skip\@
/Linux-v5.10/arch/arm64/include/asm/
Dthread_info.h83 #define TIF_SSBD 25 /* Wants SSB mitigation */ macro