diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2019-04-25 17:52:22 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-03 14:03:29 +0800 |
commit | 5965dc745287bebf7a2eba91a66f017537fa4c54 (patch) | |
tree | a1b9b5c9f7507f5118470113106d2a25254f87d6 /drivers/firmware/psci/psci.c | |
parent | 07586d3ddf284dd7a1a6579579d8efa7296fe60f (diff) |
crypto: caam/qi2 - fix DMA mapping of stack memory
Commits c19650d6ea99 ("crypto: caam - fix DMA mapping of stack memory")
and 65055e210884 ("crypto: caam - fix hash context DMA unmap size")
fixed the ahash implementation in caam/jr driver such that req->result
is not DMA-mapped (since it's not guaranteed to be DMA-able).
Apply a similar fix for ahash implementation in caam/qi2 driver.
Cc: <stable@vger.kernel.org> # v4.20+
Fixes: 3f16f6c9d632 ("crypto: caam/qi2 - add support for ahash algorithms")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions