1
0
Fork 0
alistair23-linux/drivers/net/ethernet/hisilicon/hns3/hns3pf
Huazhong Tan 74e78d6bae net: hns3: fix a wrong reset interrupt status mask
According to hardware user manual, bits5~7 in register
HCLGE_MISC_VECTOR_INT_STS means reset interrupts status,
but HCLGE_RESET_INT_M is defined as bits0~2 now. So it
will make hclge_reset_err_handle() read the wrong reset
interrupt status.

This patch fixes this wrong bit mask.

Fixes: 2336f19d78 ("net: hns3: check reset interrupt status when reset fails")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-19 19:09:53 -08:00
..
Makefile net: hns3: fix compile error 2019-03-27 22:47:58 -07:00
hclge_cmd.c net: hns3: fix some reset handshake issue 2019-08-01 13:32:13 -04:00
hclge_cmd.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_dcb.c net: hns3: fix ETS bandwidth validation bug 2019-11-14 18:06:34 -08:00
hclge_dcb.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_debugfs.c net: hns3: add some DFX info for reset issue 2019-09-11 09:08:46 +01:00
hclge_debugfs.h net: hns3: use macro instead of magic number 2019-08-29 16:57:43 -07:00
hclge_err.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
hclge_err.h net: hns3: implement .process_hw_error for hns3 client 2019-08-29 16:57:43 -07:00
hclge_main.c net: hns3: add compatible handling for MAC VLAN switch parameter configuration 2019-11-14 18:06:34 -08:00
hclge_main.h net: hns3: fix a wrong reset interrupt status mask 2019-11-19 19:09:53 -08:00
hclge_mbx.c net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hclge_mdio.c net: hns3: add phy_attached_info() to the hns3 driver 2019-08-18 12:59:13 -07:00
hclge_mdio.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_tm.c net: hns3: fix mis-counting IRQ vector numbers issue 2019-10-19 11:40:55 -07:00
hclge_tm.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00