]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - fix VF not available after PF FLR
authorShukun Tan <tanshukun1@huawei.com>
Sat, 15 Aug 2020 09:56:14 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:47:52 +0000 (14:47 +1000)
commit9f78255c5555052510cc6f9c423bab9f50dda489
tree2f4c6e03f46852a89e1ba3bbf5513684022fe797
parentaee478ec0d2b07ff1aa55261525c34ea3af60b8b
crypto: hisilicon/qm - fix VF not available after PF FLR

When PF FLR, the hardware will actively trigger the VF FLR. Configuration
space of VF needs to be saved and restored to ensure that it is available
after the PF FLR.

Fixes: 9f4240822320("crypto: hisilicon - add FLR support")
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c