From: Jussi Kivilinna Date: Sun, 2 Jun 2013 16:51:52 +0000 (+0300) Subject: crypto: blowfish - disable AVX2 implementation X-Git-Tag: upstream/snapshot3+hdmi~4862^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edb7c7cdba90c3fb2339e51c15d21982bdf72fdc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git crypto: blowfish - disable AVX2 implementation It appears that the performance of 'vpgatherdd' is suboptimal for this kind of workload (tested on Core i5-4570) and causes blowfish-avx2 to be significantly slower than blowfish-amd64. So disable the AVX2 implementation to avoid performance regressions. Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- diff --git a/crypto/Kconfig b/crypto/Kconfig index 27720af..bf8148e 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -823,6 +823,7 @@ config CRYPTO_BLOWFISH_X86_64 config CRYPTO_BLOWFISH_AVX2_X86_64 tristate "Blowfish cipher algorithm (x86_64/AVX2)" depends on X86 && 64BIT + depends on BROKEN select CRYPTO_ALGAPI select CRYPTO_CRYPTD select CRYPTO_ABLK_HELPER_X86