]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:29 +0000 (13:32 +0100)
commit8a9db7913497bdb96bcf324cfb535bf9aae9c9fe
tree488c89adae74e12416917294cd56f3f4ec6caa2b
parent9a6fab168cbce7350f32548e4b9616985070d09d
crypto: hisilicon/qm - re-enable communicate interrupt before notifying PF

[ Upstream commit ee1537fe3dd89860d0336563891f6cac707d0cb5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/qm.c