Re: [PATCH v4 3/3] crypto: s5p: add AES support for Exynos5433

2019-03-05 Thread Krzysztof Kozlowski
On Tue, 5 Mar 2019 at 18:13, Guenter Roeck wrote: > > On Fri, Feb 22, 2019 at 01:21:44PM +0100, Kamil Konieczny wrote: > > Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. > > > > Reviewed-by: Krzysztof Kozlowski > > Signed-off-by: Kamil Konieczny > > --- > > drivers/

Re: [PATCH v3] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Horia Geanta
On 3/5/2019 8:03 PM, Vakul Garg wrote: > Instead of reading job ring's occupancy registers for every req/rsp > enqueued/dequeued respectively, we read these registers once and store > them in memory. After completing a job enqueue/dequeue, we decrement > these values. When these values become zero,

[PATCH v3] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Vakul Garg
Instead of reading job ring's occupancy registers for every req/rsp enqueued/dequeued respectively, we read these registers once and store them in memory. After completing a job enqueue/dequeue, we decrement these values. When these values become zero, we refresh the snapshot of job ring's occupanc

Re: [PATCH] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Horia Geanta
On 3/5/2019 7:35 PM, Vakul Garg wrote: > The performance of kernel ipsec improved by about 6% on ls1028. > The information should be part of the commit message. Thanks, Horia

[PATCH v2] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Vakul Garg
Instead of reading job ring's occupancy registers for every req/rsp enqueued/dequeued respectively, we read these registers once and store them in memory. After completing a job enqueue/dequeue, we decrement these values. When these values become zero, we refresh the snapshot of job ring's occupanc

Re: [GIT] Crypto Update for 5.1

2019-03-05 Thread pr-tracker-bot
The pull request you sent on Tue, 5 Mar 2019 16:11:55 +0800: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/63bdf4284c38a48af21745ceb148a087b190cd21 Thank you! -- Deet-doot-dot, I am a bot.

RE: [PATCH] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Vakul Garg
> -Original Message- > From: Horia Geanta > Sent: Tuesday, March 5, 2019 10:14 PM > To: Vakul Garg ; linux-crypto@vger.kernel.org > Cc: Aymen Sghaier ; > herb...@gondor.apana.org.au; da...@davemloft.net > Subject: Re: [PATCH] crypto: caam/jr - optimize job ring enqueue and > dequeue oper

Re: [PATCH v4 3/3] crypto: s5p: add AES support for Exynos5433

2019-03-05 Thread Guenter Roeck
On Fri, Feb 22, 2019 at 01:21:44PM +0100, Kamil Konieczny wrote: > Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. > > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Kamil Konieczny > --- > drivers/crypto/s5p-sss.c | 50 >

Re: [PATCH] crypto: caam/jr - optimize job ring enqueue and dequeue operations

2019-03-05 Thread Horia Geanta
On 3/5/2019 9:00 AM, Vakul Garg wrote: > Instead of reading job ring's occupancy registers for every req/rsp > enqueued/dequeued respectively, we read these registers once and store > them in memory. After completing a job enqueue/dequeue, we decrement > these values. When these values become zero,

Re: [RFC 4/4] crypto: caam - use job ring for RNG instantiation instead of DECO

2019-03-05 Thread Chris Spencer
Hi Horia, On Mon, 4 Mar 2019 at 18:13, Horia Geanta wrote: > > I don't have the i.MX8 security reference manual so there's only so > RM should be available from here: > https://www.nxp.com/webapp/sps/download/mod_download.jsp?colCode=IMX8MDQLQSRM&location=null&appType=moderated Unfortunately thi

[GIT] Crypto Update for 5.1

2019-03-05 Thread Herbert Xu
Hi Linus: Here is the crypto update for 5.1: Please note that there is a merge of the Freescale SoC tree in order to pull in changes required by patches to the caam/qi2 driver. API: - Add helper for simple skcipher modes. - Add helper to register multiple templates. - Set CRYPTO_TFM_NEED_KEY w