Re: [PATCH v3] crypto: caam - refactor RNG initialization

From: Herbert Xu
Date: Fri May 12 2023 - 06:58:46 EST


On Mon, Apr 17, 2023 at 08:28:39PM +0200, meenakshi.aggarwal@xxxxxxx wrote:
> From: Horia GeantA <horia.geanta@xxxxxxx>
>
> RNG (re-)initialization will be needed on pm resume path,
> thus refactor the corresponding code out of the probe callback.
>
> Signed-off-by: Horia GeantA <horia.geanta@xxxxxxx>
> Signed-off-by: Leonard Crestez <leonard.crestez@xxxxxxx>
> Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx>
> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@xxxxxxx>
> ---
> changes in v2:
> Rebased on "page 0" patches
>
> changes in v3:
> Incorporated review comments
>
> drivers/crypto/caam/ctrl.c | 205 +++++++++++++++++++----------------
> drivers/crypto/caam/intern.h | 1 +
> 2 files changed, 115 insertions(+), 91 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt