diff options
| author | Ingo Molnar <[email protected]> | 2015-05-22 10:58:45 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-05-22 10:58:45 +0200 |
| commit | b54b4bbbf5e9313acc681129ab332e33a397cd13 (patch) | |
| tree | bc104fa7e0e21fb03b76953ee2b4aaab593f02cc /tools/perf/scripts/python | |
| parent | 6f56a8d024757e2f3bda8bf3bdf6aa1a21e6810b (diff) | |
x86/fpu, crypto: Fix AVX2 feature tests
For some CPU models I broke the AVX2 feature detection in:
7bc371faa9cd ("x86/fpu, crypto x86/camellia_aesni_avx2: Simplify the camellia_aesni_init() xfeature checks")
534ff06e3929 ("x86/fpu, crypto x86/serpent_avx2: Simplify the init() xfeature checks")
... because I did not realize that it's possible for a CPU to support
the xstate necessary for AVX2 execution (XSTATE_YMM), but not have
the AVX2 instructions themselves.
Restore the necessary CPUID checks as well.
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions