linux-stable/arch/x86/crypto
Ingo Molnar d5d34d98d2 x86/fpu, crypto x86/cast5_avx: Simplify the cast5_init() xfeature checks
Use the new 'cpu_has_xfeatures()' function to query AVX CPU support.

This has the following advantages to the driver:

 - Decouples the driver from FPU internals: it's now only using <asm/fpu/api.h>.

 - Removes detection complexity from the driver, no more raw XGETBV instruction

 - Shrinks the code a bit.

 - Standardizes feature name error message printouts across drivers

There are also advantages to the x86 FPU code: once all drivers
are decoupled from internals we can move them out of common
headers and we'll also be able to remove xcr.h.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-05-19 15:47:58 +02:00
..
sha-mb
aes-i586-asm_32.S
aes-x86_64-asm_64.S
aes_ctrby8_avx-x86_64.S
aes_glue.c
aesni-intel_asm.S
aesni-intel_avx-x86_64.S
aesni-intel_glue.c
blowfish-x86_64-asm_64.S
blowfish_glue.c
camellia-aesni-avx-asm_64.S
camellia-aesni-avx2-asm_64.S
camellia-x86_64-asm_64.S
camellia_aesni_avx2_glue.c
camellia_aesni_avx_glue.c
camellia_glue.c
cast5-avx-x86_64-asm_64.S
cast5_avx_glue.c x86/fpu, crypto x86/cast5_avx: Simplify the cast5_init() xfeature checks 2015-05-19 15:47:58 +02:00
cast6-avx-x86_64-asm_64.S
cast6_avx_glue.c
crc32-pclmul_asm.S
crc32-pclmul_glue.c
crc32c-intel_glue.c
crc32c-pcl-intel-asm_64.S
crct10dif-pcl-asm_64.S
crct10dif-pclmul_glue.c
des3_ede-asm_64.S
des3_ede_glue.c
fpu.c
ghash-clmulni-intel_asm.S
ghash-clmulni-intel_glue.c
glue_helper-asm-avx.S
glue_helper-asm-avx2.S
glue_helper.c
Makefile
salsa20-i586-asm_32.S
salsa20-x86_64-asm_64.S
salsa20_glue.c
serpent-avx-x86_64-asm_64.S
serpent-avx2-asm_64.S
serpent-sse2-i586-asm_32.S
serpent-sse2-x86_64-asm_64.S
serpent_avx2_glue.c
serpent_avx_glue.c x86/fpu, crypto x86/serpent_avx: Simplify the serpent_init() xfeature checks 2015-05-19 15:47:57 +02:00
serpent_sse2_glue.c
sha1_avx2_x86_64_asm.S
sha1_ssse3_asm.S
sha1_ssse3_glue.c
sha256-avx-asm.S
sha256-avx2-asm.S
sha256-ssse3-asm.S
sha256_ssse3_glue.c
sha512-avx-asm.S
sha512-avx2-asm.S
sha512-ssse3-asm.S
sha512_ssse3_glue.c
twofish-avx-x86_64-asm_64.S
twofish-i586-asm_32.S
twofish-x86_64-asm_64-3way.S
twofish-x86_64-asm_64.S
twofish_avx_glue.c
twofish_glue.c
twofish_glue_3way.c