Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-06-05 Thread Herbert Xu
On Tue, May 28, 2013 at 07:02:55PM -0500, Joel A Fernandes wrote: > Calling runtime PM API for every block causes serious perf 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 d

Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-29 Thread Kevin Hilman
Joel A Fernandes writes: > Calling runtime PM API for every block causes serious perf 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

[PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-28 Thread Joel A Fernandes
Calling runtime PM API for every block causes serious perf 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. We ca

Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-28 Thread Herbert Xu
On Tue, May 14, 2013 at 03:07:47AM +, Joel A Fernandes wrote: > Calling runtime PM API for every block causes serious perf 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 d

Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-14 Thread Kevin Hilman
Joel A Fernandes writes: > Calling runtime PM API for every block causes serious perf 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

[PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-13 Thread Joel A Fernandes
Calling runtime PM API for every block causes serious perf 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. We ca