1
0
Fork 0
alistair23-linux/drivers/net/ethernet/hisilicon/hns3
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
..
hns3pf net: hns3: fix a wrong reset interrupt status mask 2019-11-19 19:09:53 -08:00
hns3vf net: hns3: fix mis-counting IRQ vector numbers issue 2019-10-19 11:40:55 -07:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00
hclge_mbx.h net: hns3: add handler for NCSI error mailbox 2019-08-01 13:32:12 -04:00
hnae3.c net: hns3: add client node validity judgment 2019-09-06 15:20:34 +02:00
hnae3.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: modify some logs format 2019-09-11 09:08:45 +01:00
hns3_enet.c net: hns3: check NULL pointer before use 2019-09-11 09:08:46 +01:00
hns3_enet.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hns3_ethtool.c net: hns3: cleanup of stray struct hns3_link_mode_mapping 2019-11-16 13:04:44 -08:00