diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2017-07-12 06:40:28 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-14 16:46:19 +0200 |
commit | 21dfbbe8b187ea6a94f675f4b28e6f7106fd8c02 (patch) | |
tree | af5cc1a9ea7b8cb3401fa7a698fadf19cfa172ee /.gitignore | |
parent | ab909481ee5e9d46325abcdeefee1bd5a705a1da (diff) | |
download | barebox-21dfbbe8b187ea6a94f675f4b28e6f7106fd8c02.tar.gz barebox-21dfbbe8b187ea6a94f675f4b28e6f7106fd8c02.tar.xz |
crypto: caam: use dma_alloc_coherent instead of dma_alloc
dma_alloc return non-coherent memory, but the driver does no cache
maintenance on the buffer, causing memory corruption. Fix this by
requesting coherent memory for the DMA transfer.
Fixes: ef4144b4ab63 (crypto: caam - fix RNG buffer cache alignment)
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions