Thread (16 messages) flat view 16 messages, 3 authors, 2016-06-23

[PATCH v3 02/10] crypto: marvell: Check engine is not already running when enabling a req

From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2016-06-22 10:33:24
Also in: linux-crypto

Romain Perier [off-list ref] wrote:
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.
Hmm, so how can this happen? If it is triggerable then we better
try to recover from it more gracefully.  If it is not triggerable
then why bother?

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help