summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYosry Ahmed <yosry.ahmed@linux.dev>2025-02-27 04:27:09 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-27 12:57:20 +0300
commitbd9a8542ceccce1b1d5d5fd5e47be57fe42f9bb9 (patch)
tree32abe3092c065e180b67c73ae43b3a0193365527 /tools/perf/scripts/python/stackcollapse.py
parenta48dc42614cad39fac1ef55d690847fd07f0e3c6 (diff)
downloadlinux-bd9a8542ceccce1b1d5d5fd5e47be57fe42f9bb9.tar.xz
x86/bugs: Remove the X86_FEATURE_USE_IBPB check in ib_prctl_set()
If X86_FEATURE_USE_IBPB is not set, then both spectre_v2_user_ibpb and spectre_v2_user_stibp are set to SPECTRE_V2_USER_NONE in spectre_v2_user_select_mitigation(). Since ib_prctl_set() already checks for this before performing the IBPB, the X86_FEATURE_USE_IBPB check is redundant. Remove it. Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Link: https://lore.kernel.org/r/20250227012712.3193063-4-yosry.ahmed@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions