]> asedeno.scripts.mit.edu Git - linux.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)
commit4b5b79998af61db8b0506fba6c0f33b57ea457bd
treea036b55dc30ae334ff97ba7c26634428ce422e00
parent64e1062b2371cb8d6126d4e970832365a1a84562
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