Thread (39 messages) 39 messages, 3 authors, 2016-07-04

Re: [PATCHv2 01/27] crypto: omap-sham: use runtime_pm autosuspend for clock handling

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-06-24 13:30:57
Also in: linux-arm-kernel, linux-omap

On Wed, Jun 22, 2016 at 04:23:34PM +0300, Tero Kristo wrote:
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 <redacted>
Patches 1-4 applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help