crypto: hisilicon/qm - reset function if event queue overflows
authorWeili Qian <qianweili@huawei.com>
Sat, 11 Dec 2021 11:25:18 +0000 (19:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Dec 2021 05:59:49 +0000 (16:59 +1100)
commit95f0b6d536374ea1796bd0d9024faaca9c4f3380
tree11a61870ffad909e16f28dd3aef78b71813cb565
parenta0a9486bebc43679ec9ded50ac6b93330c4b930f
crypto: hisilicon/qm - reset function if event queue overflows

If the hardware reports the event queue overflow by the abnormal interrupt,
the driver needs to reset the function and re-enable the event queue
interrupt and abnormal interrupt.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c