Re: [PATCH][RESEND] crypto: caam - Moved macro DESC_JOB_IO_LEN to desc_constr.h

2013-07-09 Thread Herbert Xu
On Wed, Jul 10, 2013 at 06:27:21AM +, Vakul Garg wrote: > DESC_JOB_IO_LEN is a generic macro which indicates the space required in > the descriptor for placing SEQIN/OUT commands, job descriptor header, > shared descriptor pointer. Moving it to descriptor construction file > which can be suppos

Re: [PATCH][RESEND] crypto: caam - Fixed the memory out of bound overwrite issue

2013-07-09 Thread Herbert Xu
On Wed, Jul 10, 2013 at 06:26:13AM +, Vakul Garg wrote: > When kernel is compiled with CONFIG_SLUB_DEBUG=y and > CRYPTO_MANAGER_DISABLE_TESTS=n, during kernel bootup, the kernel > reports error given below. The root cause is that in function > hash_digest_key(), for allocating descriptor, insuf

[PATCH][RESEND] crypto: caam - Moved macro DESC_JOB_IO_LEN to desc_constr.h

2013-07-09 Thread Vakul Garg
DESC_JOB_IO_LEN is a generic macro which indicates the space required in the descriptor for placing SEQIN/OUT commands, job descriptor header, shared descriptor pointer. Moving it to descriptor construction file which can be supposedly included by different algo offload files. Change-Id: Ic8900990

[PATCH][RESEND] crypto: caam - Fixed the memory out of bound overwrite issue

2013-07-09 Thread Vakul Garg
When kernel is compiled with CONFIG_SLUB_DEBUG=y and CRYPTO_MANAGER_DISABLE_TESTS=n, during kernel bootup, the kernel reports error given below. The root cause is that in function hash_digest_key(), for allocating descriptor, insufficient memory was being allocated. The required number of descripto

Re: unable to finish booting when "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" applied

2013-07-09 Thread Herbert Xu
On Tue, Jul 09, 2013 at 02:34:14PM -0700, Tim Chen wrote: > > > I'm not sure what the root disk is doing, just using Debian's mk-kpkg > > kernel_package to build a kernel with an initial ramdisk. > > > > On one of the failed boot-up attempts I saw an error like: > > > > sd_mod - unknown symbol c

Re: unable to finish booting when "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" applied

2013-07-09 Thread Tim Chen
On Wed, 2013-07-10 at 03:43 +0930, Arthur Marsh wrote: > Tim Chen wrote, on 10/07/13 01:30: > > On Sun, 2013-07-07 at 01:43 +0930, Arthur Marsh wrote: > >> Hi, when I have tried to boot recent kernels with the "crypto: crct10dif > >> - Wrap crc_t10dif function all to use crypto transform framework"

Re: unable to finish booting when "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" applied

2013-07-09 Thread Arthur Marsh
Tim Chen wrote, on 10/07/13 01:30: On Sun, 2013-07-07 at 01:43 +0930, Arthur Marsh wrote: Hi, when I have tried to boot recent kernels with the "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" patch applied, I get a time-out waiting for the UUID of the root d

Re: unable to finish booting when "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" applied

2013-07-09 Thread Tim Chen
On Sun, 2013-07-07 at 01:43 +0930, Arthur Marsh wrote: > Hi, when I have tried to boot recent kernels with the "crypto: crct10dif > - Wrap crc_t10dif function all to use crypto transform framework" patch > applied, I get a time-out waiting for the UUID of the root disk to appear. > > git-bisect