aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorDaniel Sneddon <[email protected]>2024-03-13 16:47:57 +0000
committerThomas Gleixner <[email protected]>2024-04-08 17:27:05 +0000
commit0f4a837615ff925ba62648d280a861adf1582df7 (patch)
tree0dfeef27c4dbffd6e2b9afa52a5809cd92a244ae /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentx86/bhi: Add support for clearing branch history at syscall entry (diff)
downloadkernel-0f4a837615ff925ba62648d280a861adf1582df7.tar.gz
kernel-0f4a837615ff925ba62648d280a861adf1582df7.zip
x86/bhi: Define SPEC_CTRL_BHI_DIS_S
Newer processors supports a hardware control BHI_DIS_S to mitigate Branch History Injection (BHI). Setting BHI_DIS_S protects the kernel from userspace BHI attacks without having to manually overwrite the branch history. Define MSR_SPEC_CTRL bit BHI_DIS_S and its enumeration CPUID.BHI_CTRL. Mitigation is enabled later. Signed-off-by: Daniel Sneddon <[email protected]> Signed-off-by: Pawan Gupta <[email protected]> Signed-off-by: Daniel Sneddon <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Alexandre Chartre <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions