diff options
author | David Woodhouse <[email protected]> | 2018-01-25 16:14:14 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-26 15:53:18 +0100 |
commit | a5b2966364538a0e68c9fa29bc0a3a1651799035 (patch) | |
tree | 51f6cd7a1ac23eac0ed0be45ee4a29b3975ee3b7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | fec9434a12f38d3aeafeb75711b71d8a1fdef621 (diff) |
x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
This doesn't refuse to load the affected microcodes; it just refuses to
use the Spectre v2 mitigation features if they're detected, by clearing
the appropriate feature bits.
The AMD CPUID bits are handled here too, because hypervisors *may* have
been exposing those bits even on Intel chips, for fine-grained control
of what's available.
It is non-trivial to use x86_match_cpu() for this table because that
doesn't handle steppings. And the approach taken in commit bd9240a18
almost made me lose my lunch.
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions