diff options
author | Dominik Brodowski <[email protected]> | 2018-05-22 11:05:39 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-05-23 10:55:52 +0200 |
commit | 8ecc4979b1bd9c94168e6fc92960033b7a951336 (patch) | |
tree | 61f642b529c1bc721adb23818d5c289924d9c5fb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0aa48468d00959c8a37cd3ac727284f4f7359151 (diff) |
x86/speculation: Simplify the CPU bug detection logic
Only CPUs which speculate can speculate. Therefore, it seems prudent
to test for cpu_no_speculation first and only then determine whether
a specific speculating CPU is susceptible to store bypass speculation.
This is underlined by all CPUs currently listed in cpu_no_speculation
were present in cpu_no_spec_store_bypass as well.
Signed-off-by: Dominik Brodowski <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions