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

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

2013-05-29 Thread Kevin Hilman
Joel A Fernandes joelag...@ti.com 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

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

[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

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

2013-05-17 Thread Mark A. Greer
On Mon, May 13, 2013 at 10:07:47PM -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

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

2013-05-14 Thread Kevin Hilman
Joel A Fernandes joelag...@ti.com 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

[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