Re: [PATCH v3] crypto: caam - do not reset pointer size from MCFGR register
From: Herbert Xu
Date: Wed Dec 11 2019 - 04:38:26 EST
On Wed, Nov 27, 2019 at 12:54:26AM +0200, Iuliana Prodan wrote:
> In commit 'a1cf573ee95 ("crypto: caam - select DMA address size at runtime")'
> CAAM pointer size (caam_ptr_size) is changed from
> sizeof(dma_addr_t) to runtime value computed from MCFGR register.
> Therefore, do not reset MCFGR[PS].
>
> Fixes: a1cf573ee95 ("crypto: caam - select DMA address size at runtime")
> Signed-off-by: Iuliana Prodan <iuliana.prodan@xxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Cc: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> Cc: Alison Wang <alison.wang@xxxxxxx>
> Reviewed-by: Horia GeantÄ <horia.geanta@xxxxxxx>
> ---
> Changes since v2:
> - update description so the referred commit is not split on 2 lines;
> - added Reviewed-by.
>
> drivers/crypto/caam/ctrl.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 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