crypto: hisilicon/qm - get error type from hardware registers
authorWeili Qian <qianweili@huawei.com>
Fri, 9 Sep 2022 09:46:58 +0000 (17:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Sep 2022 10:29:45 +0000 (18:29 +0800)
commitd90fab0deb8e580aa001f6876e4436c21e944f27
tree86b4464f6e152de3347d03f63363122226e9f2c5
parentc832da79cbf9448e7ece097c3a93996b4c74a83e
crypto: hisilicon/qm - get error type from hardware registers

Hardware V3 and later versions support get error type from
registers. To be compatible with later hardware versions,
get error type from registers instead of fixed marco.

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