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:50:50 +0200 |
commit | 2a88dd64887ab851158003363195b89d9e7f5c00 (patch) | |
tree | 54301281972ddc010ef75bf1ca817f9fc88ad97e /Makefile | |
parent | 59b57082ae61dca65e73dd433daabcdd0f40c094 (diff) | |
download | barebox-2a88dd64887ab851158003363195b89d9e7f5c00.tar.gz barebox-2a88dd64887ab851158003363195b89d9e7f5c00.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 'Makefile')
0 files changed, 0 insertions, 0 deletions