linux/drivers/crypto/marvell
Romain Perier f62830886f crypto: marvell - Check engine is not already running when enabling a req
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 that something went wrong in the CESA
driver.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-06-23 18:14:00 +08:00
..
cesa.c crypto: marvell - Add a macro constant for the size of the crypto queue 2016-06-23 18:13:59 +08:00
cesa.h crypto: marvell/cesa - fix memory leak 2016-03-17 19:09:04 +08:00
cipher.c crypto: marvell - Check engine is not already running when enabling a req 2016-06-23 18:14:00 +08:00
hash.c crypto: marvell - Check engine is not already running when enabling a req 2016-06-23 18:14:00 +08:00
Makefile crypto: marvell/cesa - add TDMA support 2015-06-19 22:18:03 +08:00
tdma.c crypto: marvell - Check engine is not already running when enabling a req 2016-06-23 18:14:00 +08:00