aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAntoine Ténart <[email protected]>2017-12-26 17:21:16 +0100
committerHerbert Xu <[email protected]>2018-01-05 18:43:05 +1100
commitc957f8b3e2e54b29f53ef69decc87bbc858c9b58 (patch)
treedd21c039ce87dad8711b670fe456b27dd7daa224 /tools/perf/scripts/python
parent0b5a7f71b4c557b15ec54a1b49023bc1b21044cc (diff)
crypto: inside-secure - avoid unmapping DMA memory that was not mapped
This patch adds a parameter in the SafeXcel ahash request structure to keep track of the number of SG entries mapped. This allows not to call dma_unmap_sg() when dma_map_sg() wasn't called in the first place. This also removes a warning when the debugging of the DMA-API is enabled in the kernel configuration: "DMA-API: device driver tries to free DMA memory it has not allocated". Cc: [email protected] Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver") Signed-off-by: Antoine Tenart <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions