crypto: hisilicon/qm - add controller reset interface
authorShukun Tan <tanshukun1@huawei.com>
Fri, 3 Apr 2020 08:16:38 +0000 (16:16 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Apr 2020 06:49:21 +0000 (16:49 +1000)
commit6c6dd5802c2d6769fa589c0e8de54299def199a7
tree6b5a0210168985fd6f164a324960bef7030f3421
parent35ee280fb1fb97ffa32a19953457becb4f45579b
crypto: hisilicon/qm - add controller reset interface

Add the main implementation of the controller reset interface, which is
roughly divided into three parts, stop, reset, and reinitialization.

Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm.h