]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: hisilicon/hpre - mask cluster timeout error
authorWeili Qian <qianweili@huawei.com>
Sat, 31 Aug 2024 11:48:30 +0000 (19:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Sep 2024 06:50:46 +0000 (14:50 +0800)
commit145013f723947c83b1a5f76a0cf6e7237d59e973
tree0a2a1867e17f8256641ffe6719e4406761d32761
parent5d2d1ee0874c26b8010ddf7f57e2f246e848af38
crypto: hisilicon/hpre - mask cluster timeout error

The timeout threshold of the hpre cluster is 16ms. When the CPU
and device share virtual address, page fault processing time may
exceed the threshold.

In the current test, there is a high probability that the
cluster times out. However, the cluster is waiting for the
completion of memory access, which is not an error, the device
does not need to be reset. If an error occurs in the cluster,
qm also reports the error. Therefore, the cluster timeout
error of hpre can be masked.

Fixes: d90fab0deb8e ("crypto: hisilicon/qm - get error type from hardware registers")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c