Re: [PATCH 0/6] Various ux500 crypto updates

2013-06-25 Thread Linus Walleij
On Tue, Jun 25, 2013 at 1:17 PM, Herbert Xu wrote: > On Tue, Jun 25, 2013 at 11:20:50AM +0200, Linus Walleij wrote: >> On Tue, Jun 25, 2013 at 10:54 AM, Fabio Baltieri >> wrote: >> >> > these are some fixes to issue pointed out by sparse and dmaengine API >> > udpates on the recently enabled ux50

Re: [PATCH 0/6] Various ux500 crypto updates

2013-06-25 Thread Herbert Xu
On Tue, Jun 25, 2013 at 11:20:50AM +0200, Linus Walleij wrote: > On Tue, Jun 25, 2013 at 10:54 AM, Fabio Baltieri > wrote: > > > these are some fixes to issue pointed out by sparse and dmaengine API > > udpates on the recently enabled ux500 hw crypto drivers. > > The series: > Acked-by: Linus Wa

Re: [PATCH 0/6] Various ux500 crypto updates

2013-06-25 Thread Linus Walleij
On Tue, Jun 25, 2013 at 10:54 AM, Fabio Baltieri wrote: > these are some fixes to issue pointed out by sparse and dmaengine API > udpates on the recently enabled ux500 hw crypto drivers. The series: Acked-by: Linus Walleij > These are based on recent linux-next, and can probably be applied on

[PATCH 1/6] crypto: ux500/hash: use readl on iomem addresses

2013-06-25 Thread Fabio Baltieri
Always use readl when reading memory mapped registers. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/hash/hash_core.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c

[PATCH 3/6] crypto: ux500/crypt: add missing __iomem qualifiers

2013-06-25 Thread Fabio Baltieri
Add missing __iomem to struct cryp_register pointers, this solve some "incorrect type in initializer (different address spaces)" sparse warnings. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cry

[PATCH 5/6] crypto: ux500: use dmaengine_prep_slave_sg API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_prep_slave_sg inline function instead of going through the structures manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 20 ++-- drivers/crypto/ux500/hash/hash_core.c | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) di

[PATCH 4/6] crypto: ux500: use dmaengine_device_control API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_device_control inline function instead of going through the structures manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 4 ++-- drivers/crypto/ux500/hash/hash_core.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cr

[PATCH 6/6] crypto: ux500: use dmaengine_submit API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_submit instead of calling desc->tx_submit manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 2 +- drivers/crypto/ux500/hash/hash_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/

[PATCH 2/6] crypto: ux500/hash: add missing static qualifiers

2013-06-25 Thread Fabio Baltieri
Add missing static qualifiers to hash_process_data and hash_hw_final. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/hash/hash_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c in

[PATCH 0/6] Various ux500 crypto updates

2013-06-25 Thread Fabio Baltieri
Hello Herbert, these are some fixes to issue pointed out by sparse and dmaengine API udpates on the recently enabled ux500 hw crypto drivers. These are based on recent linux-next, and can probably be applied on an architecture specific branch with your ack, or just skip to the next merge window.