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

2016-06-24 Thread Herbert Xu
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

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

2016-06-22 Thread Tero Kristo
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.