Home
last modified time | relevance | path

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

/Linux-v6.6/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.h85 #define TIF_SSBD 5 /* Speculative store bypass disable */ macro
108 #define _TIF_SSBD (1 << TIF_SSBD)
/Linux-v6.6/arch/x86/kernel/
Dprocess.c401 if (test_thread_flag(TIF_SSBD) && in arch_setup_new_exec()
403 clear_thread_flag(TIF_SSBD); in arch_setup_new_exec()
650 set_tsk_thread_flag(tsk, TIF_SSBD); in speculation_ctrl_update_tif()
652 clear_tsk_thread_flag(tsk, TIF_SSBD); in speculation_ctrl_update_tif()
/Linux-v6.6/arch/arm64/include/asm/
Dthread_info.h79 #define TIF_SSBD 25 /* Wants SSB mitigation */ macro
/Linux-v6.6/arch/arm64/kernel/
Dproton-pack.c662 ssbs = !test_tsk_thread_flag(tsk, TIF_SSBD); in spectre_v4_enable_task_mitigation()
678 set_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_enable_mitigation()
685 clear_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_disable_mitigation()
Dentry.S122 tbnz \tmp2, #TIF_SSBD, .L__asm_ssbd_skip\@