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 2425545CE3 for ; Mon, 11 Nov 2024 07:37:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 159364067A; Mon, 11 Nov 2024 07:37:39 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2079.outbound.protection.outlook.com [40.107.212.79]) by mails.dpdk.org (Postfix) with ESMTP id 4898F4067A for ; Mon, 11 Nov 2024 07:37:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rn/I0WOy39DB+kqHu7GwusvwrkT7Fdh46ZObI5OE2TNZmNBJdYmwSfvTYcvbIOBUawLa8p6vUY5z2yX+4jIwU++dkhlCwXFGFHCxyF5yqDXT4T+fzJhzUlKwDgnM8UrA/zeiA7LhClV3cQ1WGtrDaObFkXiMlQtlSZFkEeGoMHYtWR8gDQfzS6u0e+GQOvHWX/YA8zKBoscANv+TIpiiyJqV+uwMxi/pHq7973jRr5G2zryfYHex1y2iv0losMZXSzxcuAqMaFV9j+9ozTiT3nGdUWKlXlFwevajKe5F6QAM4wKI640GHUIlsNZCBPOjLBnjO4GcIzdttXjjipYHMg== 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=7OMEVWu57Z8B2JlIk+5lCI+Kq5OPhNbumLcuqp/z8kE=; b=PLJ13PGgzWlPo8UNiaiEXWRKbp70J+VYsyyi1xHB3jtaxsBz/TkVhX1nDBmj8NFo6nbL4znbTxpV+F7z5sQnVug37qLE79iF5xLbP9Gnw0X4YV4mjnKDjiD7pT7+c22yKSQ65OLMClzBBA16JEjrchRukHzFzuVp2QvAh+OvwmA/KqEDB+kocQ/p2R4ywDPrAZ49Qnyr/eVojYqD8Y1dRLLds1q2SckgKaShFb556qsKc/RRGg0AMLq7sM8axVYVyFqIb+itK5nLesNr4vCi5prH/bL70t8y8Hwd46BhwPwTdYaEtkjaSWPRKirKzwITSzStWCSeCIzyPrhROEif7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=huawei.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=7OMEVWu57Z8B2JlIk+5lCI+Kq5OPhNbumLcuqp/z8kE=; b=NMtoFlqXoEtl4+fGdhFd+FT49ex+ZVUlt6FzyI3qRN6IWfbbI33bAZ20n/oQ+nPOPjjd1QbCAdzCpfjHB8M9GkLCj1Dxlt2v0lDdCIjaNJcyAPxg5ZMwRYHl9KdfQIPfmSTsUIcAI2zu2HE+xLmFjoj73zvjGTnbMRoRwsfzGiqFYpldCygb8BEWHJW8JV6fUgp5PgA79pCiuBgnBIlR7B6G3RPql148uTitcsIqsXAs9eyPzinu7MtKL23zLOrWC2mv+xy8RJKvihKvnoSV7IrZUdt358H9PBPaN+UjD/+u74/nMABLK4AhMw1NKfSxTzh18F/Irf3R3tXJErbbvQ== Received: from BL0PR02CA0129.namprd02.prod.outlook.com (2603:10b6:208:35::34) by CH3PR12MB9429.namprd12.prod.outlook.com (2603:10b6:610:1c9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Mon, 11 Nov 2024 06:37:33 +0000 Received: from BN2PEPF000044A5.namprd04.prod.outlook.com (2603:10b6:208:35:cafe::f) by BL0PR02CA0129.outlook.office365.com (2603:10b6:208:35::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27 via Frontend Transport; Mon, 11 Nov 2024 06:37:33 +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 BN2PEPF000044A5.mail.protection.outlook.com (10.167.243.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.14 via Frontend Transport; Mon, 11 Nov 2024 06:37:31 +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; Sun, 10 Nov 2024 22:37:20 -0800 Received: from nvidia.com (10.126.230.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; Sun, 10 Nov 2024 22:37:18 -0800 From: Xueming Li To: Jie Hai CC: , Huisong Li , Chengwen Feng , dpdk stable Subject: patch 'net/hns3: remove some basic address dump' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:28:06 +0800 Message-ID: <20241111062847.216344-81-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044A5:EE_|CH3PR12MB9429:EE_ X-MS-Office365-Filtering-Correlation-Id: c1fe7927-6bcc-4618-ac79-08dd021b5213 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?CgxWcZDe6hi01PEweHxuDdfoLw+l+dmXtfTgRB9rky9Oph7Cs39nVzhOYpL6?= =?us-ascii?Q?522QwWSpjg++kDBdtYwEDFsL0lIi4mn7WqY9aLZA18A0H52U3oaTiKbcl4ei?= =?us-ascii?Q?lBsUSiy+fHiCxkgOiYUKMOv0wkNtnBXadDzrqUU0H9yk3yFeQWKhhyFn9bh4?= =?us-ascii?Q?K634kqb3Eqov2n7A6enDzws8D+Ka+jgY8JCJ2mHLS9f3rohmcdnVHUxNir2X?= =?us-ascii?Q?bMAa5UiR7UVyJvz89q+aR+2HOyegFaZT4JML88SCobFkyxuZcmd24YGOeCAw?= =?us-ascii?Q?kdrc86shypPLPkB76bxLBL3GRGK7ZzFGK9amaAULPFPo8LvhcLoTM4NwwkeW?= =?us-ascii?Q?6NEVdp9l6UT9FYxVFkpaj8ZwURjkmtwvcJE1OjXZ8jybgKyoonXujzDOnq/l?= =?us-ascii?Q?wJWc2nZWFpwwHGSK6+433LtWMm47PZlMYlHnE85IdloNIGHjigNtRgPfoJMg?= =?us-ascii?Q?dxp//156InRjiL25yT+aw0bqkEuQLpJU/UmH2BlHXTstsXNyKEBvu1Hb1v+k?= =?us-ascii?Q?6C3n4q4AQRHDTaaVsOAA1ak7D1K85OwTQiiswjEjwbWdTGh6ePmXC6aEAMaO?= =?us-ascii?Q?7DF/pRg+fasj/FZwUa3Ai4+vttDeCGUx4iFt9Ux46Y0pMV5skKAvwaQfbNgt?= =?us-ascii?Q?Uz78EEFQy7SyxYeCjXye5FgIzbBBvYOR7/veRlkDm+DBVSEIuFlkuqNnRyoA?= =?us-ascii?Q?5k73vPY78OWaJry2k4je5RiP/IZX3QRVBcE99EOsAcEviEnCDknPPL/cQqNu?= =?us-ascii?Q?Udo+2DKSj0IJ99rpsr9PJlUb6HE7OAAOcHze8sXNOUAA5Rw9znzH3bVInXJU?= =?us-ascii?Q?XAzW8+hloCJ5tN7XrKi8a1uYlSCw7BWnd1dBkkjKElxm9FLn4OnROKwR7uio?= =?us-ascii?Q?OPjn46g03btDSNupHp6HvIFJNoUt+ImEjkQWaesXMdpZh/M91pcme7mGr/zV?= =?us-ascii?Q?1YVnoyrXJ4Xee7m23oWEEVMZ8BSEUl9mF/vtYI5LW8vzG4Jj1zWgftGxpKF3?= =?us-ascii?Q?iiaEK4uEytSdFFjXIEuTTt5i8pT7Llj2Ue6N/vo2DZt2M9NpRa9CcMQH/1RO?= =?us-ascii?Q?PKIZCuoXo6gQ1ehngl2/SZEfYMZSwdjJFIIB3jIpVjUKvWcHxB//qJy4i9rK?= =?us-ascii?Q?KLsU667j/2xb5ev+iMjFMiqCu6BIcbJQYQEueJx11ClF1Y0xCBNlJ1BpVXuw?= =?us-ascii?Q?Qb7z/BJzo6aixircIperNcAA2nRgPiKAvWV9PD7f9JkeF8nji7ulzTyeV4pa?= =?us-ascii?Q?6xLE3Lrb2UL6sGadTEQ+26Dxtr7boBcz5f7Pl0usOfh4C6jPiYvlL1BRUxzu?= =?us-ascii?Q?hO0cYieLXecW0vf8RYLNzJYxhlfacF9lx97UGpWK1Yp+g5br/3NqJoGEqfng?= =?us-ascii?Q?hZSIhWyEO/5WFgwJKcKUb0SGe+2xuvJnqxr/vsYH6LlhsROtQQ=3D=3D?= 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)(1800799024)(376014)(82310400026)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:37:31.8840 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c1fe7927-6bcc-4618-ac79-08dd021b5213 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: BN2PEPF000044A5.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9429 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 11/30/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=c8c9ae34ea6ded0a1b2b1ad43b98f567996352a8 Thanks. Xueming Li --- >From c8c9ae34ea6ded0a1b2b1ad43b98f567996352a8 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Thu, 26 Sep 2024 20:42:44 +0800 Subject: [PATCH] net/hns3: remove some basic address dump Cc: Xueming Li [ upstream commit c8b7bec0ef23f53303c9cf03cfea44f1eb208738 ] For security reasons, some address registers are not suitable to be exposed, remove them. Signed-off-by: Jie Hai Acked-by: Huisong Li Acked-by: Chengwen Feng --- drivers/net/hns3/hns3_regs.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/net/hns3/hns3_regs.c b/drivers/net/hns3/hns3_regs.c index 955bc7e3af..8793f61153 100644 --- a/drivers/net/hns3/hns3_regs.c +++ b/drivers/net/hns3/hns3_regs.c @@ -17,13 +17,9 @@ static int hns3_get_dfx_reg_line(struct hns3_hw *hw, uint32_t *lines); -static const uint32_t cmdq_reg_addrs[] = {HNS3_CMDQ_TX_ADDR_L_REG, - HNS3_CMDQ_TX_ADDR_H_REG, - HNS3_CMDQ_TX_DEPTH_REG, +static const uint32_t cmdq_reg_addrs[] = {HNS3_CMDQ_TX_DEPTH_REG, HNS3_CMDQ_TX_TAIL_REG, HNS3_CMDQ_TX_HEAD_REG, - HNS3_CMDQ_RX_ADDR_L_REG, - HNS3_CMDQ_RX_ADDR_H_REG, HNS3_CMDQ_RX_DEPTH_REG, HNS3_CMDQ_RX_TAIL_REG, HNS3_CMDQ_RX_HEAD_REG, @@ -44,9 +40,7 @@ static const uint32_t common_vf_reg_addrs[] = {HNS3_MISC_VECTOR_REG_BASE, HNS3_FUN_RST_ING, HNS3_GRO_EN_REG}; -static const uint32_t ring_reg_addrs[] = {HNS3_RING_RX_BASEADDR_L_REG, - HNS3_RING_RX_BASEADDR_H_REG, - HNS3_RING_RX_BD_NUM_REG, +static const uint32_t ring_reg_addrs[] = {HNS3_RING_RX_BD_NUM_REG, HNS3_RING_RX_BD_LEN_REG, HNS3_RING_RX_EN_REG, HNS3_RING_RX_MERGE_EN_REG, @@ -57,8 +51,6 @@ static const uint32_t ring_reg_addrs[] = {HNS3_RING_RX_BASEADDR_L_REG, HNS3_RING_RX_FBD_OFFSET_REG, HNS3_RING_RX_STASH_REG, HNS3_RING_RX_BD_ERR_REG, - HNS3_RING_TX_BASEADDR_L_REG, - HNS3_RING_TX_BASEADDR_H_REG, HNS3_RING_TX_BD_NUM_REG, HNS3_RING_TX_EN_REG, HNS3_RING_TX_PRIORITY_REG, -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:08.855073064 +0800 +++ 0080-net-hns3-remove-some-basic-address-dump.patch 2024-11-11 14:23:05.202192838 +0800 @@ -1 +1 @@ -From c8b7bec0ef23f53303c9cf03cfea44f1eb208738 Mon Sep 17 00:00:00 2001 +From c8c9ae34ea6ded0a1b2b1ad43b98f567996352a8 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit c8b7bec0ef23f53303c9cf03cfea44f1eb208738 ] @@ -8,2 +10,0 @@ - -Cc: stable@dpdk.org