crypto: hisilicon/qm - re-enable communicate interrupt before notifying PF
authorWeili Qian <qianweili@huawei.com>
Sat, 24 Sep 2022 11:04:31 +0000 (19:04 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2022 11:05:23 +0000 (19:05 +0800)
commitee1537fe3dd89860d0336563891f6cac707d0cb5
treeeaf8a1d88d82f612824ec6c8f2737362acedb853
parent94adb03fd58bbe355e3d7a9d0f701889313e4a51
crypto: hisilicon/qm - re-enable communicate interrupt before notifying PF

After the device is reset, the VF needs to re-enable communication
interrupt before the VF sends restart complete message to the PF.
If the interrupt is re-enabled after the VF notifies the PF, the PF
may fail to send messages to the VF after receiving VF's restart
complete message.

Fixes: 760fe22cf5e9 ("crypto: hisilicon/qm - update reset flow")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c