diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2017-11-27 13:19:12 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-12-12 07:32:43 (GMT) |
commit | cfb3407ef4c2b1f8950a7ed4aa440fb12c3fc721 (patch) | |
tree | 3c9b55804e716dacc1b7f2b17e735264155252c8 /mm/migrate.c | |
parent | e4bcc88c0286027ae9c506429b7e42cbd3bbfb89 (diff) | |
download | linux-cfb3407ef4c2b1f8950a7ed4aa440fb12c3fc721.tar.xz |
crypto: caam/qi2 - fix descriptors, keys DMA mapping direction
The replacement of MDHA split key generation with DKP has the side
effect of the crypto engine writing the authentication key, and thus
the DMA mapping direction for the buffer holding the key has to change
from DMA_TO_DEVICE to DMA_BIDIRECTIONAL.
There are two cases:
-key is inlined in descriptor - descriptor buffer mapping changes
-key is referenced - key buffer mapping changes
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions