crypto: hisilicon/qm - add last word dumping for ACC
authorKai Ye <yekai13@huawei.com>
Sat, 9 Apr 2022 08:03:25 +0000 (16:03 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:29 +0000 (16:34 +0800)
commita888ccd6c66683a49977ba6a2b91fe52fbec9367
tree0351e882a80955d4fa63a8c6e3844b1e396626f1
parent30169c5b550a71a47b0aecd9c254dc3a1d5bf4a7
crypto: hisilicon/qm - add last word dumping for ACC

Add last word dumping function during acc engines controller reset.
The last words are reported to the printed information during the
reset. The dmesg information included qm debugging registers and
engine debugging registers. It can help to improve debugging
capability.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
include/linux/hisi_acc_qm.h