summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/hpre/hpre_main.c
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2021-02-05 11:12:57 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 07:56:01 +0100
commit1db0016e0d223b644d2c77a4569e8939f5c55a7c (patch)
tree972cb4fcca9fa88e8673c4a41ca4f9a078cd4d7f /drivers/crypto/hisilicon/hpre/hpre_main.c
parentcrypto: hisilicon/qm - update irqflag (diff)
downloadlinux-1db0016e0d223b644d2c77a4569e8939f5c55a7c.tar.xz
linux-1db0016e0d223b644d2c77a4569e8939f5c55a7c.zip
crypto: hisilicon/qm - do not reset hardware when CE happens
There is no need to reset hardware when Corrected Error(CE) happens. Signed-off-by: Weili Qian <qianweili@huawei.com> Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre/hpre_main.c')
-rw-r--r--drivers/crypto/hisilicon/hpre/hpre_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre_main.c b/drivers/crypto/hisilicon/hpre/hpre_main.c
index 5c56ec4e2174..e7a2c70eb9cf 100644
--- a/drivers/crypto/hisilicon/hpre/hpre_main.c
+++ b/drivers/crypto/hisilicon/hpre/hpre_main.c
@@ -881,6 +881,7 @@ static const struct hisi_qm_err_ini hpre_err_ini = {
.fe = 0,
.ecc_2bits_mask = HPRE_CORE_ECC_2BIT_ERR |
HPRE_OOO_ECC_2BIT_ERR,
+ .dev_ce_mask = HPRE_HAC_RAS_CE_ENABLE,
.msi_wr_port = HPRE_WR_MSI_PORT,
.acpi_rst = "HRST",
}