diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2018-08-06 15:29:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-09 21:01:25 +0300 |
commit | ac617410962fcdd6b4675865a4469a8a54abb584 (patch) | |
tree | 56151c0bd7eb1ad001e351d884311e356c5b7ad7 /firmware | |
parent | 4a219e41a9dbf14a17d0056e7a1a148196117ba5 (diff) | |
download | linux-ac617410962fcdd6b4675865a4469a8a54abb584.tar.xz |
crypto: caam/jr - fix descriptor DMA unmapping
commit cc98963dbaaea93d17608641b8d6942a5327fc31 upstream.
Descriptor address needs to be swapped to CPU endianness before being
DMA unmapped.
Cc: <stable@vger.kernel.org> # 4.8+
Fixes: 261ea058f016 ("crypto: caam - handle core endianness != caam endianness")
Reported-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions