Re: [PATCH] crypto: omap-des - make local functions static

2014-02-27 Thread Joel Fernandes
On 02/27/2014 05:34 AM, Jingoo Han wrote: > Make omap_des_copy_needed(), omap_des_copy_sgs(), because these > functions are used only in this file. > > Signed-off-by: Jingoo Han Ok with me, Acked-by: Joel Fernandes > --- > drivers/crypto/omap-des.c |4 ++-- > 1 file changed, 2 insertions(

[PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build - version2

2014-02-27 Thread chandramouli narayanan
This git patch adds the glue, build and configuration changes to include x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has been tested with 3.14.0-rc1 kernel. Changes from the initial version of this patch are in a) check for BMI2 in addition to AVX2 support since __sha1_

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build - resend with email correction

2014-02-27 Thread chandramouli narayanan
On Thu, 2014-02-27 at 21:21 +0200, Jussi Kivilinna wrote: > On 27.02.2014 19:42, chandramouli narayanan wrote: > > This git patch adds the glue, build and configuration changes > > to include x86_64 AVX2 optimization of SHA1 transform to > > crypto support. The patch has been tested with 3.14.0-rc1

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build - resend with email correction

2014-02-27 Thread Jussi Kivilinna
On 27.02.2014 19:42, chandramouli narayanan wrote: > This git patch adds the glue, build and configuration changes > to include x86_64 AVX2 optimization of SHA1 transform to > crypto support. The patch has been tested with 3.14.0-rc1 > kernel. > > On a Haswell desktop, with turbo disabled and all

[PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build - resend with email correction

2014-02-27 Thread chandramouli narayanan
This git patch adds the glue, build and configuration changes to include x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has been tested with 3.14.0-rc1 kernel. On a Haswell desktop, with turbo disabled and all cpus running at maximum frequency, tcrypt shows AVX2 performanc

[PATCH 1/2] SHA1 transform: x86_64 AVX2 optimization - assembly code

2014-02-27 Thread chandramouli narayanan
This git patch adds x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has been tested with 3.14.0-rc1 kernel. On a Haswell desktop, with turbo disabled and all cpus running at maximum frequency, tcrypt shows AVX2 performance improvement from 3% for 256 bytes update to 16% for

[PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build

2014-02-27 Thread chandramouli narayanan
This git patch adds the glue, build and configuration changes to include x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has been tested with 3.14.0-rc1 kernel. On a Haswell desktop, with turbo disabled and all cpus running at maximum frequency, tcrypt shows AVX2 performanc

Re: [PATCH 1/3] crypto: omap-aes - Use SIMPLE_DEV_PM_OPS macro

2014-02-27 Thread Nishanth Menon
On 02/27/2014 05:31 AM, Jingoo Han wrote: > Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. > > Signed-off-by: Jingoo Han > --- > drivers/crypto/omap-aes.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/om

[PATCH] crypto: omap-des - make local functions static

2014-02-27 Thread Jingoo Han
Make omap_des_copy_needed(), omap_des_copy_sgs(), because these functions are used only in this file. Signed-off-by: Jingoo Han --- drivers/crypto/omap-des.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c index 758

[PATCH 3/3] crypto: omap-sham - Use SIMPLE_DEV_PM_OPS macro

2014-02-27 Thread Jingoo Han
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han --- drivers/crypto/omap-sham.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index a727a6a..4e2067d 100644 --- a/drivers/cr

[PATCH 2/3] crypto: omap-des - Use SIMPLE_DEV_PM_OPS macro

2014-02-27 Thread Jingoo Han
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han --- drivers/crypto/omap-des.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c index 006d914..758919e 100644 --- a/drivers/crypt

[PATCH 1/3] crypto: omap-aes - Use SIMPLE_DEV_PM_OPS macro

2014-02-27 Thread Jingoo Han
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han --- drivers/crypto/omap-aes.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index dde41f1d..cb98fa5 100644 --- a/drivers/cryp