提交 585a50dd 编写于 作者: W Weili Qian 提交者: Zheng Zengkai

crypto: hisilicon/qm - modify 'QM_RESETTING' clearing error

mainline inclusion
from mainline-master
commit 3121f021
category: bugfix
bugzilla: 173981
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3121f021c00aeed599d6f5d1c737b1bc8e6a05d8

----------------------------------------------------------------------

Before device reset, the driver sets 'QM_RESETTING' flag, but after reset,
the wrong flag is cleared. This patch modifies the problem of inconsistent
flags.
Signed-off-by: NWeili Qian <qianweili@huawei.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NMingqiang Ling <lingmingqiang@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 14c98b05
......@@ -4122,7 +4122,7 @@ void hisi_qm_reset_done(struct pci_dev *pdev)
if (qm_flr_reset_complete(pdev))
pci_info(pdev, "FLR reset complete\n");
clear_bit(QM_RESETTING, &qm->misc_ctl);
clear_bit(QM_RESETTING, &pf_qm->misc_ctl);
}
EXPORT_SYMBOL_GPL(hisi_qm_reset_done);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册