aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2023-09-04 22:04:57 -0700
committerBorislav Petkov (AMD) <[email protected]>2023-10-20 12:26:59 +0200
commit55ca9010c4a988b48278f81ae4129deea52d2488 (patch)
tree8c626521727c9eaa4502fda56a9ce35e03396e60 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenteb54be26b0d25222809b16f335fe13756ff4a206 (diff)
x86/srso: Remove 'pred_cmd' label
SBPB is only enabled in two distinct cases: 1) when SRSO has been disabled with srso=off 2) when SRSO has been fixed (in future HW) Simplify the control flow by getting rid of the 'pred_cmd' label and moving the SBPB enablement check to the two corresponding code sites. This makes it more clear when exactly SBPB gets enabled. Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/bb20e8569cfa144def5e6f25e610804bc4974de2.1693889988.git.jpoimboe@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions