commit | 4fdd0bca6152aa201898454e63cbb255a18ae6e9 | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Sat Oct 19 16:03:56 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 21 09:22:10 2019 -0700 |
tree | 99c7ce25485421e8e85c8da441f6b782d446c8f2 | |
parent | 7fda3a930d15a993389018e31532f3a1e34974ab [diff] |
net: hns3: log and clear hardware error after reset complete When device is resetting, the CMDQ service may be stopped until reset completed. If a new RAS error occurs at this moment, it will no be able to clear the RAS source. This patch fixes it by clear the RAS source after reset complete. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>