From patchwork Tue Dec 17 01:08:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jijie Shao X-Patchwork-Id: 13910851 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AF7AC8F0; Tue, 17 Dec 2024 01:15:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734398154; cv=none; b=GUtj3HLgXe9hAEM+EcQbSYMWgvPYfVYzNbW/JPYEi7yNNF/itMJ59h+nTseuXcfzaWTIV8nQAYw6RYqs9N35/oMC5RvtTD6zX6ZKtX0fAC2R3gWk/Euh1F3vx8oPiDDqOqQOOBOA/eCwSDlTcCfWPH+T+6D4/VJsj0Hdqx2FXyE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734398154; c=relaxed/simple; bh=16Ogom4eVN/0T6nI/wgTDM73ymOaiTKBF2is15TUC4k=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=TtVo6IghkcFm0wcFPg9JAXCksXjydHHjJxlPN4HEKtRKT0fmBXZ34IyPBfCOQs9f8nmWkb+UN37w4p0Ktek/WCDrMO6kTQVJTaaHj9uhAqhx4qcEeTTpQBl5KjfiOoL3QjTaVovTnYsREVHgXd72Z+koNrPRLRGKU7CtALnQxKo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4YBzLr4Q7Cz11MjK; Tue, 17 Dec 2024 09:12:36 +0800 (CST) Received: from kwepemk100013.china.huawei.com (unknown [7.202.194.61]) by mail.maildlp.com (Postfix) with ESMTPS id BED911800CB; Tue, 17 Dec 2024 09:15:49 +0800 (CST) Received: from localhost.localdomain (10.90.30.45) by kwepemk100013.china.huawei.com (7.202.194.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 17 Dec 2024 09:15:48 +0800 From: Jijie Shao To: , , , , , CC: , , , , , , , , , Subject: [PATCH RESEND V2 net 0/7] There are some bugfix for the HNS3 ethernet driver Date: Tue, 17 Dec 2024 09:08:32 +0800 Message-ID: <20241217010839.1742227-1-shaojijie@huawei.com> X-Mailer: git-send-email 2.30.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemk100013.china.huawei.com (7.202.194.61) X-Patchwork-Delegate: kuba@kernel.org 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 -> 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 | 40 ++++++-- .../hisilicon/hns3/hns3vf/hclgevf_regs.c | 9 +- 8 files changed, 113 insertions(+), 93 deletions(-)