[RFC]: do_xor_speed Broken on UML do to jiffies

2011-10-10 Thread Boaz Harrosh
Remember that hang I reported a while back on UML. Well I'm at it again, and it still hangs and I found why. I have dprinted jiffies and it never advances during the loop at do_xor_speed. Therefor it is stuck in an endless loop. I have also dprinted current_kernel_time() and it returns the same c

[PATCH] crypto: testmgr: add twofish tests

2011-10-10 Thread Jussi Kivilinna
Add tests for parallel twofish-x86_64-3way code paths. Signed-off-by: Jussi Kivilinna --- crypto/tcrypt.c |1 crypto/testmgr.c | 15 crypto/testmgr.h | 226 +- 3 files changed, 238 insertions(+), 4 deletions(-) diff --git a/crypt

[PATCH] crypto: testmgr: add blowfish test-vectors

2011-10-10 Thread Jussi Kivilinna
Add tests for parallel blowfish-x86_64 code paths. Signed-off-by: Jussi Kivilinna --- crypto/tcrypt.c |1 crypto/testmgr.c | 15 + crypto/testmgr.h | 172 +- 3 files changed, 184 insertions(+), 4 deletions(-) diff --git a/crypto/t

[PATCH] crypto: Make hifn_795x build depend on !ARCH_DMA_ADDR_T_64BIT

2011-10-10 Thread Richard Weinberger
hifn_795x works only on 32 bit, remove the detection while loading the module and catch non-32 bit systems at build time. Signed-off-by: Richard Weinberger --- drivers/crypto/Kconfig |1 + drivers/crypto/hifn_795x.c |6 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --

[PATCH] crypto: twofish-x86_64-3way: fix ctr blocksize to 1

2011-10-10 Thread Jussi Kivilinna
Signed-off-by: Jussi Kivilinna --- arch/x86/crypto/twofish_glue_3way.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/crypto/twofish_glue_3way.c b/arch/x86/crypto/twofish_glue_3way.c index 0cbf9fa..5ede9c4 100644 --- a/arch/x86/crypto/twofish_glue_3way.c +++ b

[PATCH] crypto: blowfish-x86_64: fix ctr blocksize to 1

2011-10-10 Thread Jussi Kivilinna
Signed-off-by: Jussi Kivilinna --- arch/x86/crypto/blowfish_glue.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index 40911ab..dd3964a 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/crypto/