]> 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)
commit03a3ff7c2f73aa5eb781fd5088d4e4cc22a264dc
tree2f4c6e03f46852a89e1ba3bbf5513684022fe797
parent290fed34b2f13ac5ea2421b92438ecd4eaa545cb
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: 0e531f71ac2f("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