[PATCH V3 net 0/7] There are some bugfix for the HNS3 ethernet driver

Jijie Shao
2025-01-06T14:44:14Z

There's a series of bugfix that's been accepted:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=d80a3091308491455b6501b1c4b68698c4a7cd24

However, The series is making the driver poke into IOMMU internals instead of
implementing appropriate IOMMU workarounds. After discussion, the series was reverted:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=249cfa318fb1b77eb726c2ff4f74c9685f04e568

But only two patches are related to the IOMMU.
Other patches involve only the modification of the driver.
This series resends other patches.

---
ChangeLog:
v2 RESEND -> v3:
- Add one comment, suggested by Michal Swiatkowski.
v2 RESEND: https://lore.kernel.org/all/20241217010839.1742227-1-shaojijie@huawei.com/
v2 -> v2 RESEND:
- Send to net instead of net-next.
v2: https://lore.kernel.org/all/20241216132346.1197079-1-shaojijie@huawei.com/
v1 -> v2:
- Fix a data inconsistency issue caused by simultaneous access of multiple readers,
suggested by Jakub.
v1: https://lore.kernel.org/all/20241107133023.3813095-1-shaojijie@huawei.com/
---
Hao Lan (4):
net: hns3: fixed reset failure issues caused by the incorrect reset
type
net: hns3: fix missing features due to dev->features configuration too
early
net: hns3: Resolved the issue that the debugfs query result is
inconsistent.
net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds
issue

Jian Shen (2):
net: hns3: don't auto enable misc vector
net: hns3: initialize reset_timer before hclgevf_misc_irq_init()

Jie Wang (1):
net: hns3: fix kernel crash when 1588 is sent on HIP08 devices

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 -
.../ethernet/hisilicon/hns3/hns3_debugfs.c | 96 ++++++-------------
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 1 -
.../hisilicon/hns3/hns3pf/hclge_main.c | 45 +++++++--
.../hisilicon/hns3/hns3pf/hclge_ptp.c | 3 +
.../hisilicon/hns3/hns3pf/hclge_regs.c | 9 +-
.../hisilicon/hns3/hns3vf/hclgevf_main.c | 41 ++++++--
.../hisilicon/hns3/hns3vf/hclgevf_regs.c | 9 +-
8 files changed, 114 insertions(+), 93 deletions(-)

--
2.33.0