Re: [PATCH 2/7] crypto: marvell: Check engine is not already running when enabling a req

2016-06-16 Thread Romain Perier
Hello, Le 15/06/2016 21:37, Boris Brezillon a écrit : " Add a BUG_ON() call when the driver tries to launch a crypto request while the engine is still processing the previous one. This replaces a silent system hang by a verbose kernel panic with the associated backtrace to let the user know tha

Re: [PATCH 2/7] crypto: marvell: Check engine is not already running when enabling a req

2016-06-15 Thread Boris Brezillon
On Wed, 15 Jun 2016 21:15:29 +0200 Romain Perier wrote: > Adding BUG_ON() macro to be sure that the step operation is not about > to activate a request on the engine if the corresponding engine is > already processing a crypto request. This is helpful when the support > for chaining crypto reques

[PATCH 2/7] crypto: marvell: Check engine is not already running when enabling a req

2016-06-15 Thread Romain Perier
Adding BUG_ON() macro to be sure that the step operation is not about to activate a request on the engine if the corresponding engine is already processing a crypto request. This is helpful when the support for chaining crypto requests will be added. Instead of hanging the system when the engine is