Re: [RFC PATCH 1/1] crypto: caam - fix in-place RSA payload DMA mapping

From: Herbert Xu

Date: Wed Nov 11 2026 - 05:57:40 EST


On Tue, Oct 20, 2026 at 03:25:11PM -0400, Jeff Barnes wrote:
> CAAM can receive RSA requests whose effective source and destination
> scatterlists are identical. The driver currently maps the source with
> DMA_TO_DEVICE and then maps the destination with DMA_FROM_DEVICE.

Sashiko has some comments on this patch:

https://sashiko.dev/#/patchset/20261020192511.3389133-1-jeffbarnes%40linux.microsoft.com

Please also explain how your patch interacts with the other
patches on caam:

https://patchwork.kernel.org/project/linux-crypto/list/?series=1189382

In any case, as I said in reply to the other patches, unless
the caam maintainers step up I think this should just be removed.

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