diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-10-06 12:31:33 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-08 21:36:49 +0800 |
commit | 92b279070dd6c94265db32748bbeb5b583588de9 (patch) | |
tree | e860cc87ce78453c7fe0a124b84fb105cc3df725 /include | |
parent | a66d7f724a96d6fd279bfbd2ee488def6b081bea (diff) | |
download | linux-92b279070dd6c94265db32748bbeb5b583588de9.tar.bz2 |
crypto: camellia_aesni_avx - Fix CPU feature checks
We need to explicitly check the AVX and AES CPU features, as we can't
infer them from the related XSAVE feature flags. For example, the
Core i3 2310M passes the XSAVE feature test but does not implement
AES-NI.
Reported-and-tested-by: Stéphane Glondu <glondu@debian.org>
References: https://bugs.debian.org/800934
Fixes: ce4f5f9b65ae ("x86/fpu, crypto x86/camellia_aesni_avx: Simplify...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org> # 4.2
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions