]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/zip - support new error report
authorWeili Qian <qianweili@huawei.com>
Fri, 15 Nov 2024 11:26:51 +0000 (19:26 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 10 Dec 2024 05:44:20 +0000 (13:44 +0800)
commit771ba5c982a28ede1d33de9702c0f3501f1f9e1c
tree771645bfc1813f33c797696179c69606ceb14037
parent09463346b6c23672cdd451f500d2a23b792bd6f0
crypto: hisilicon/zip - support new error report

The error detection of the data aggregation feature is separated from
the compression/decompression feature. This patch enables the error
detection and reporting of the data aggregation feature. When an
unrecoverable error occurs in the algorithm core, the device reports
the error to the driver, and the driver will reset the device.

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
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/dae_main.c
drivers/crypto/hisilicon/zip/zip.h
drivers/crypto/hisilicon/zip/zip_main.c
include/linux/hisi_acc_qm.h