diff options
author | Shiju Jose <shiju.jose@huawei.com> | 2019-03-10 07:47:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-10 07:58:47 +0100 |
commit | 69b51bbb03f73e04c486f79d1556b2d9becf4dbc (patch) | |
tree | 837fdf6b389693a70b5ae5d0b6c5fe44d61d9388 /drivers/isdn/hardware/mISDN | |
parent | ip: fix ip_mc_may_pull() return value (diff) | |
download | linux-69b51bbb03f73e04c486f79d1556b2d9becf4dbc.tar.xz linux-69b51bbb03f73e04c486f79d1556b2d9becf4dbc.zip |
net: hns3: fix to stop multiple HNS reset due to the AER changes
The commit bfcb79fca19d
("PCI/ERR: Run error recovery callbacks for all affected devices")
affected the non-fatal error recovery logic for the HNS and RDMA devices.
This is because each HNS PF under PCIe bus receive callbacks
from the AER driver when an error is reported for one of the PF.
This causes unwanted PF resets because
the HNS decides which PF to reset based on the reset type set.
The HNS error handling code sets the reset type based on the hw error
type detected.
This patch provides fix for the above issue for the recovery of
the hw errors in the HNS and RDMA devices.
This patch needs backporting to the kernel v5.0+
Fixes: 332fbf576579 ("net: hns3: add handling of hw ras errors using new set of commands")
Reported-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/mISDN')
0 files changed, 0 insertions, 0 deletions