linux_dsm_epyc7002/drivers/crypto/inside-secure
Antoine Tenart e1d24c0bb7 crypto: inside-secure - do not overwrite the threshold value
This patch fixes the Inside Secure SafeXcel driver not to overwrite the
interrupt threshold value. In certain cases the value of this register,
which controls when to fire an interrupt, was overwritten. This lead to
packet not being processed or acked as the driver never was aware of
their completion.

This patch fixes this behaviour by not setting the threshold when
requests are being processed by the engine.

Fixes: dc7e28a328 ("crypto: inside-secure - dequeue all requests at once")
Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-02-22 22:16:23 +08:00
..
Makefile crypto: inside-secure - add SafeXcel EIP197 crypto engine driver 2017-06-10 12:04:21 +08:00
safexcel_cipher.c crypto: inside-secure - EIP97 support 2017-12-22 20:03:36 +11:00
safexcel_hash.c crypto: inside-secure - fix hash when length is a multiple of a block 2018-01-05 18:43:06 +11:00
safexcel_ring.c crypto: inside-secure - use the base_end pointer in ring rollback 2017-06-20 11:21:48 +08:00
safexcel.c crypto: inside-secure - do not overwrite the threshold value 2018-02-22 22:16:23 +08:00
safexcel.h crypto: inside-secure - EIP97 support 2017-12-22 20:03:36 +11:00