summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-aes.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-06-22 16:23:34 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-24 21:24:57 +0800
commite93f767bec1c4b58ac24bd59143c0030b9555426 (patch)
tree14a837de9cbcd2d2665dfa34f21126bcfb4d7f6f /drivers/crypto/omap-aes.c
parent3c4b23901a0c766879dff680cd6bdab47bcdbbd2 (diff)
downloadlinux-stable-e93f767bec1c4b58ac24bd59143c0030b9555426.tar.gz
linux-stable-e93f767bec1c4b58ac24bd59143c0030b9555426.tar.bz2
linux-stable-e93f767bec1c4b58ac24bd59143c0030b9555426.zip
crypto: omap-sham - use runtime_pm autosuspend for clock handling
Calling runtime PM API for every block causes serious performance hit to crypto operations that are done on a long buffer. As crypto is performed on a page boundary, encrypting large buffers can cause a series of crypto operations divided by page. The runtime PM API is also called those many times. Convert the driver to use runtime_pm autosuspend instead, with a default timeout value of 1 second. This results in upto ~50% speedup. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-aes.c')
0 files changed, 0 insertions, 0 deletions