Re: [PATCH] crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer

2021-01-22 Thread Sven Auhagen
On Fri, Jan 22, 2021 at 09:40:27PM +1100, Herbert Xu wrote: > On Fri, Jan 22, 2021 at 11:02:03AM +0100, Sven Auhagen wrote: > > > > Hi Herbert, > > > > sorry, no luck on my armfh system with this patch: > > > > [16.310405] INFO: task cryptomgr_test:7698 blocked for more than 120 > > seconds.

Re: [PATCH] crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer

2021-01-22 Thread Herbert Xu
On Fri, Jan 22, 2021 at 11:02:03AM +0100, Sven Auhagen wrote: > > Hi Herbert, > > sorry, no luck on my armfh system with this patch: > > [16.310405] INFO: task cryptomgr_test:7698 blocked for more than 120 > seconds. > [16.317669] Tainted: G OE 5.10.0-1-vtair-armmp #1

Re: [PATCH] crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer

2021-01-22 Thread Sven Auhagen
On Thu, Jan 21, 2021 at 04:16:46PM +1100, Herbert Xu wrote: > The cesa driver mixes use of iomem pointers and normal kernel > pointers. Sometimes it uses memcpy_toio/memcpy_fromio on both > while other times it would use straight memcpy on both, through > the sg_pcopy_* helpers. > > This patch fi

[PATCH] crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer

2021-01-20 Thread Herbert Xu
The cesa driver mixes use of iomem pointers and normal kernel pointers. Sometimes it uses memcpy_toio/memcpy_fromio on both while other times it would use straight memcpy on both, through the sg_pcopy_* helpers. This patch fixes this by adding a new field sram_pool to the engine for the normal po