crypto: hisilicon/qm - add MSI detection steps on Kunpeng930
authorWeili Qian <qianweili@huawei.com>
Sat, 22 May 2021 06:49:21 +0000 (14:49 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 May 2021 07:11:47 +0000 (15:11 +0800)
commit9b75e311acadb978001c81400a6ba64f48bf00e8
treed88ecad0ec1b1cb52c30f376bdc207dfb6004fd0
parent8e568fc2a71d097a5549043a39984a46262b6035
crypto: hisilicon/qm - add MSI detection steps on Kunpeng930

Compared with Kunpeng920, Kunpeng930 adds MSI configuration steps to wait
for the interrupt to be emptied. In order to be compatible with the
kunpeng920 driver, 'set_msi' callback is added in 'hisi_qm_hw_ops' to
configure hardware register. Call 'set_msi' to disable or enable MSI
during reset.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c