kernel_samsung_a53x/drivers/net/ethernet/hisilicon/hns3
Jijie Shao 224631ca98 net: hns3: fix VF reset fail issue
[ Upstream commit 65e98bb56fa3ce2edb400930c05238c9b380500e ]

Currently the reset process in hns3 and firmware watchdog init process is
asynchronous. We think firmware watchdog initialization is completed
before VF clear the interrupt source. However, firmware initialization
may not complete early. So VF will receive multiple reset interrupts
and fail to reset.

So we add delay before VF interrupt source and 5 ms delay
is enough to avoid second reset interrupt.

Fixes: 427900d27d86 ("net: hns3: fix the timing issue of VF clearing interrupt sources")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:19 +01:00
..
hns3pf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3vf net: hns3: fix VF reset fail issue 2024-11-18 11:43:19 +01:00
hclge_mbx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hnae3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hnae3.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_dcbnl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_enet.c net: hns3: fix variable may not initialized problem in hns3_init_mac_addr() 2024-11-18 11:43:19 +01:00
hns3_enet.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00