Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A 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()
H A Dthread_info.h85 #define TIF_SSBD 5 /* Speculative store bypass disable */ macro
108 #define _TIF_SSBD (1 << TIF_SSBD)
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/arch/arm64/include/asm/
H A Dthread_info.h79 #define TIF_SSBD 25 /* Wants SSB mitigation */ macro
/openbmc/linux/arch/arm64/kernel/
H A Dproton-pack.c674 ssbs = !test_tsk_thread_flag(tsk, TIF_SSBD); in spectre_v4_enable_task_mitigation()
690 set_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_enable_mitigation()
697 clear_tsk_thread_flag(task, TIF_SSBD); in ssbd_prctl_disable_mitigation()
H A Dentry.S122 tbnz \tmp2, #TIF_SSBD, .L__asm_ssbd_skip\@