From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 989B245E41 for ; Sat, 7 Dec 2024 09:04:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CEFF40281; Sat, 7 Dec 2024 09:04:24 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2061.outbound.protection.outlook.com [40.107.92.61]) by mails.dpdk.org (Postfix) with ESMTP id 3156A40DD7 for ; Sat, 7 Dec 2024 09:04:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qSYcMmOIQgAHu9gfoxxjyAWAIqeQfYvzVK4x78q5l+VGqnusq/szYNBIQrqT5P/TNliuunTGnlNFliVrltT7i3o1bjRma5YUda4XA5b7rtOhllOWOJe5e5uyJNmYJgCjz8vEGklElw+iojldRcGGUNWkigpG2F9CCSn/3WlYxuyeeBP13d3/uw6+mIqoQfiNP4jOZQ2h4uaXChm9LqgLLCW/opMaleVxlKQtCANEEDggXGMnNFLswn6hX+HF2C1jEEzmi+AWNHL2y3LMEKOh+3qjac3cMmzSC66tRgPw0Mskcq9nNSrKe0V1ZHSWno1aave7vVN9ytNipomdfid+ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2EREcnkr7g/puk+faobH5BmLfjll6HEBv3vISapz+4c=; b=JYQQuWIRM3IphqUdjWQ5b0RDKr9ZtJVKxs12qd6rPexRi5yWTrJEvaAITvGfJXX3SETXDZSCqZyPzJi6KHDWjWUP6D2cve5ne11bWtH5r0yK55tUaWobnxhEJIgaHKhpzJPVwiH5mrOKMJxr5gMYdxUaoFwdrb66DIyNE1oZcTnDu/UIpy9AughLfvm+JSner5qjtqiVQwcP1CTd/hmtA4UvP4Y8zsLyjC6SuB7vtOX6gwb7U4CoNn+hQpQRnLkst49KSEBFLYzBcnRE6cF/WbmSVedrximb49tigP2DzmM3BIYNuHxSqM+OtP3JZRDLaPalor0bglFJBQhNYm3gIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=trustnetic.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2EREcnkr7g/puk+faobH5BmLfjll6HEBv3vISapz+4c=; b=e5s8h/97mRI5LQbtIWVVWpwwFjX4XdSk3nOs+L7X9k3rpmf3B2CcDf9Jfoo0R/vtEoDgCmVtCaj/Ipi3D6Z1VMTMLOzemDal8VomU7ocxJJFcJ7GMIA78zmeBmV5Wkxs0cP4p9ZYNl5vjiTF0IAmsf82jfZkZMC6i+afbxlpSaXCuQKyybI3uCAUgcF8nN6WOcmd+R1mh3nEIffhUCSHkjRMKFJgKOq4N1L7cyNgG48gQH2UuqN/CzVCNPoLftRanszhtCrs1Fxm3CnrTV7NOjMaSLCRcc/aI4ViDkE1xFEO4lOu1QPBF5KIV9G6wENBZAdpvCcCjHPwGkjVzCI1xQ== Received: from PH8PR20CA0010.namprd20.prod.outlook.com (2603:10b6:510:23c::7) by PH0PR12MB5607.namprd12.prod.outlook.com (2603:10b6:510:142::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.11; Sat, 7 Dec 2024 08:04:15 +0000 Received: from CY4PEPF0000E9DA.namprd05.prod.outlook.com (2603:10b6:510:23c:cafe::81) by PH8PR20CA0010.outlook.office365.com (2603:10b6:510:23c::7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.12 via Frontend Transport; Sat, 7 Dec 2024 08:04:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000E9DA.mail.protection.outlook.com (10.167.241.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:04:14 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:04:03 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:04:02 -0800 From: Xueming Li To: Jiawen Wu CC: Xueming Li , dpdk stable Subject: patch 'net/txgbe: fix SWFW mbox' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 15:59:49 +0800 Message-ID: <20241207080055.488538-32-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9DA:EE_|PH0PR12MB5607:EE_ X-MS-Office365-Filtering-Correlation-Id: 388c35ea-47e9-4a8c-7d7b-08dd1695bda9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|36860700013|1800799024|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?jhackEn6KJPfnsuNWgFIWz6VdnKbYs215yjoPEjfD4AHm1MGFrwulPTCRy7s?= =?us-ascii?Q?26SRsMd3r0vES//DSUQNAn1kJ10EmcjmKp2rokeJf40aNm2UXpkG3XpKNoxY?= =?us-ascii?Q?90ZRgvM0HxgPEdFFQQmaooRKtxTxfMJ0Jvhq/dxSkkvXsUz/1fyGWdC3z/MT?= =?us-ascii?Q?CXnCxghQNlfAiA7CeQEEBuC4v3jN6L15Uu+wMuH/u3vmXikmgQPt5wNgyIX/?= =?us-ascii?Q?6Wc0izUZ60qfIPKl4neHZxqa6nK6FiAKgKRrU/0mWXV4VpTGCQOSG+QliRNM?= =?us-ascii?Q?c0i3WTK8uedRUTuNcoOEnSumJVlBLMQXf7w0cdyCWwitX6fiadV0kM+goxoz?= =?us-ascii?Q?J1gncCKL4WCTih4UfuAjgRuHmYMErFHYe85rsMkCyhyKrd0+GJhvx2wjHbX/?= =?us-ascii?Q?0xXbcOhAxcpVNN/Ewli2XzhQTh5vQL7Y9kzA3XyrvkoAAQE62dqESdFYyqKc?= =?us-ascii?Q?z1i+8O/WosHjiOVdgwqq7qUVC09jmvcS7V2cxJkVnyaS3FkRwpnzghePPW5+?= =?us-ascii?Q?WN0IqghY/sliWCrQM01lYTya2jdnlC9nMXtgyECVbdLz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IJQ09BF2KDleIRrFAV4VgxKBQisU?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(376014)(82310400026)(36860700013)(1800799024)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:04:14.3793 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 388c35ea-47e9-4a8c-7d7b-08dd1695bda9 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9DA.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5607 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=fae1711aba35b0cb6f3a724a2e1446118322fc0a Thanks. Xueming Li --- >From fae1711aba35b0cb6f3a724a2e1446118322fc0a Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Mon, 4 Nov 2024 10:29:55 +0800 Subject: [PATCH] net/txgbe: fix SWFW mbox Cc: Xueming Li [ upstream commit e389504ed46d84c6a5a6a32b09d6750a182f8725 ] There is a unknown bug that the register TXGBE_MNGMBX cannot be written in the loop, when DPDK is built with GCC high version. Access any register before write TXGBE_MNGMBX can fix it. Bugzilla ID: 1531 Fixes: 35c90ecccfd4 ("net/txgbe: add EEPROM functions") Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_mng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/txgbe/base/txgbe_mng.c b/drivers/net/txgbe/base/txgbe_mng.c index 029a0a1fe1..9770c88bc8 100644 --- a/drivers/net/txgbe/base/txgbe_mng.c +++ b/drivers/net/txgbe/base/txgbe_mng.c @@ -58,6 +58,7 @@ txgbe_hic_unlocked(struct txgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) dword_len = length >> 2; + txgbe_flush(hw); /* The device driver writes the relevant command block * into the ram area. */ -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:45.152355814 +0800 +++ 0031-net-txgbe-fix-SWFW-mbox.patch 2024-12-06 23:26:43.913044828 +0800 @@ -1 +1 @@ -From e389504ed46d84c6a5a6a32b09d6750a182f8725 Mon Sep 17 00:00:00 2001 +From fae1711aba35b0cb6f3a724a2e1446118322fc0a Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e389504ed46d84c6a5a6a32b09d6750a182f8725 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 20db982891..7dc8f21183 100644 +index 029a0a1fe1..9770c88bc8 100644