]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: crypto4xx - fix stalls under heavy load
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 3 Oct 2017 23:00:13 +0000 (01:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:17 +0000 (22:55 +0800)
commit4062bcd5ce9d7a8a0fcd0d4edea966417e8fab08
treea036b55dc30ae334ff97ba7c26634428ce422e00
parentba41234b66bfe819cae460bb26921a1a21113e72
crypto: crypto4xx - fix stalls under heavy load

If the crypto4xx device is continuously loaded by dm-crypt
and ipsec work, it will start to work intermittent after a
few (between 20-30) seconds, hurting throughput and latency.

This patch contains various stability improvements in order
to fix this issue. So far, the hardware has survived more
than a day without suffering any stalls under the continuous
load.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_reg_def.h