summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2023-09-18 10:48:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-10 22:44:56 +0300
commit57fb8b599ec66c3dfa5467473994e663036db82a (patch)
tree5bcb5d4cea2ab2c20c25574e6d80381fa35cb2be /include
parent76a3e6009929776c2e0bb96f87b391d321c5fc08 (diff)
downloadlinux-57fb8b599ec66c3dfa5467473994e663036db82a.tar.xz
net: hns3: add 5ms delay before clear firmware reset irq source
[ Upstream commit 0770063096d5da4a8e467b6e73c1646a75589628 ] Currently the reset process in hns3 and firmware watchdog init process is asynchronous. we think firmware watchdog initialization is completed before hns3 clear the firmware interrupt source. However, firmware initialization may not complete early. so we add delay before hns3 clear firmware interrupt source and 5 ms delay is enough to avoid second firmware reset interrupt. Fixes: c1a81619d73a ("net: hns3: Add mailbox interrupt handling to PF driver") Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions