summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2018-02-26 19:40:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-09 17:45:35 +0300
commitad4cd51fb8375109edb377712b5f9c0c31ece33e (patch)
tree1c696834c36396f02d2dd1b61ff682204a16aa40 /tools/perf/scripts/python/syscall-counts.py
parentcf03868711f701f83ca3c28aa086c7eacf6c010e (diff)
downloadlinux-ad4cd51fb8375109edb377712b5f9c0c31ece33e.tar.xz
crypto: talitos - don't persistently map req_ctx->hw_context and req_ctx->buf
Commit 49f9783b0cea ("crypto: talitos - do hw_context DMA mapping outside the requests") introduced a persistent dma mapping of req_ctx->hw_context Commit 37b5e8897eb5 ("crypto: talitos - chain in buffered data for ahash on SEC1") introduced a persistent dma mapping of req_ctx->buf As there is no destructor for req_ctx (the request context), the associated dma handlers where set in ctx (the tfm context). This is wrong as several hash operations can run with the same ctx. This patch removes this persistent mapping. Reported-by: Horia Geanta <horia.geanta@nxp.com> Cc: <stable@vger.kernel.org> Fixes: 49f9783b0cea ("crypto: talitos - do hw_context DMA mapping outside the requests") Fixes: 37b5e8897eb5 ("crypto: talitos - chain in buffered data for ahash on SEC1") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Tested-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions