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 ADAD443B86 for ; Tue, 5 Mar 2024 10:59:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 388F442E51; Tue, 5 Mar 2024 10:59:15 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2042.outbound.protection.outlook.com [40.107.243.42]) by mails.dpdk.org (Postfix) with ESMTP id E9D4342E51 for ; Tue, 5 Mar 2024 10:59:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IHYnehmbmzowiSUkaRJsKeuv8YS39gAHQjtZGxLDhyqHC1rOIPhunRZmxWrN9IjeDhZYavHS2I6Hi36XImoOl6lI93ok2G9NL537TRCkN3yho1T6nmKMtuJZ4jzl66JaMHhLGiIK5x+rCjNAyczLK9ekiw9+AZ7DAzudviD2nAbCCmXPN+tT9WKlv53wQXeNgK4a/a4A1kBrY36wt6yVeLyd5kx+pR78uSD0EodOLQcahQpoNdwlvbKQvVHqztrgrCZI6kUaGwoxp2vcik4aZgsW/3fMjOZZe+PNPliKKbbE5LMUkW0zBqeBdmsADKcuqSL8cbnFaBrW6ejqXdOR9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=jhRd2i6DPbPLaB58Oxi2Y3nPgpynYiEi24I/nT8I/3U=; b=E43QDP9uwAbsUIc8irwyP2z5MIE2bU5U0RYDJJC2e/z1UcfmXSn2iFAo1cas7c/Ov1lXkCU+44k/PbOqLB8VwRYjM030nhvIItNBYwf+vBGkyAkpRHiORPjgLLjdJ+Ib/1ZkgIB1uMKeHaD3ZxID83H+fVnhgL9nvSRc7Hm8ZZULUAL3KjGEITXy4kHUOzhdZeFcwq+GzG1PviqnViQHgYCyM128r8RWGJZPCtj1/+/Lr1ttl7VI0Ex0CGlCNDLmwmUPtn1woAfPfT/MP8HEu2glwuoqa6+fYTx9+xq9KAUKjxUN5oN1BNEnB9/T7bttRwEEWq8p76iIR5CGWPapvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.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=jhRd2i6DPbPLaB58Oxi2Y3nPgpynYiEi24I/nT8I/3U=; b=CpH1ezZz5g8ra5GkcebshmAf7PZAKoyOecQnhUyP6v5gmbGRYHbLdNvC78HW29fofaJlGlPYFyZc5PE5+sN80Z5DxCs5q42Mm2hrpZ1gUkDDhKgF7yeoViwhBLFiwfcj7NfKZ7Hkx680Km82QsMMjermqldlc7XZlcSp44iY7hCfFfNKltkLBNUwXIPAX31h0hBx1jSpMD2qF1EhaDUg2uG1DuuP2c51nC+72HRTWgR3BCIsZnNRWG0p6iWGOA7CfgpoaAR2wnRmLPWLcJ+FaKiXK4PJ3DB4YR/AkTUl5XZFywUTbabw5yj2pEDdkhk/x/lKTBsI1+9JPcJ6LNExZg== Received: from SN7PR04CA0119.namprd04.prod.outlook.com (2603:10b6:806:122::34) by CH3PR12MB8996.namprd12.prod.outlook.com (2603:10b6:610:170::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 09:59:09 +0000 Received: from SA2PEPF0000150B.namprd04.prod.outlook.com (2603:10b6:806:122:cafe::fe) by SN7PR04CA0119.outlook.office365.com (2603:10b6:806:122::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:59:09 +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 SA2PEPF0000150B.mail.protection.outlook.com (10.167.242.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:59:08 +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.986.41; Tue, 5 Mar 2024 01:58:54 -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.1258.12; Tue, 5 Mar 2024 01:58:53 -0800 From: Xueming Li To: Harman Kalra CC: dpdk stable Subject: patch 'common/cnxk: fix mbox region copy' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:47:43 +0800 Message-ID: <20240305094757.439387-123-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-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: 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: SA2PEPF0000150B:EE_|CH3PR12MB8996:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d4361d3-15f3-4435-d9d1-08dc3cfae6bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gnmGHA7Ur7jlEpR79O9Ejv8IpWnXxYgevRqXHBTOUU6UfXy14NMUrXD8g/5mW4f/zqz6FAhN63gR3F8xOTyPnn4QYhkSq369352Au57ihAnm15FpOHWS7TbXPQpsA0r93TFKD+yc5aC5Rkq6nS2jZoCzTS0fzdUmQvt7Lb2WzzkEMsAvBH/SELaw9iz9hMKSX9NxFPIiMj/O7DGebroDXTswWZZBdPpPsvmQHBS9wqtx8qptv94EndN2aPlYuZDzzhD5vUyh729CZgmZwc5uLPE2D6GWep+Gf1lTWf/Gn5CkwDFm7D/Tv4Z3cYlazxm+AAN2ptI8Baw2iFRK/Wdv3jiGjQLICaXQlK2a0wuMgILMtJnpZ83wp3et7zEpnxvI1bIP9iJ1/qnHSS65OZtBkPWnsj6QdSLLErfqWC7WE+lUhRDFa23kSe9VqWkE7iGVpcp+L8Of7Ut4EPj6DjjQO9hHjaRLvt0btl48jTLrrnzcN8OPOdgLyiygxDSVbloOrWTywMi/c1Tc3H6fA8m3PjBLOVX6Fb0Zam7cd6xxegrGvtl1j3kCvAmr68Zr+UpmeVMYo5mHV16waQaa5GYeYqDKF0o3tPzmpfVRVpjZ5+CBT0QVPs7oRnCCAJQMW9kMsS/KZpAliYTD9xrKgBNpE6bDecS9DchVs/GOX8T6Xv6oWCsbgqFd/lraV7lOBzpXJ1R82M+BGGhoOZu2FZVH9XrddlZMezhvNC90XLgXx0fb7Y/4oWtRUT1Ce9u62KtA 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:(13230031)(82310400014)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:59:08.9210 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2d4361d3-15f3-4435-d9d1-08dc3cfae6bd 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: SA2PEPF0000150B.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8996 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/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=4f69dab88c41f1db915ceac639e8585563a69771 Thanks. Xueming Li --- >From 4f69dab88c41f1db915ceac639e8585563a69771 Mon Sep 17 00:00:00 2001 From: Harman Kalra Date: Thu, 21 Dec 2023 12:08:10 +0530 Subject: [PATCH] common/cnxk: fix mbox region copy Cc: Xueming Li [ upstream commit 4590d008892ce8a2d17ee7f1ed3fb10204a809e4 ] Using proper API to perform copy to mbox device memory region Fixes: 02719901d50f ("common/cnxk: send link status event to VF") Signed-off-by: Harman Kalra --- drivers/common/cnxk/roc_dev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/common/cnxk/roc_dev.c b/drivers/common/cnxk/roc_dev.c index e7e89bf3d6..084343c3b4 100644 --- a/drivers/common/cnxk/roc_dev.c +++ b/drivers/common/cnxk/roc_dev.c @@ -198,9 +198,8 @@ af_pf_wait_msg(struct dev *dev, uint16_t vf, int num_msg) vf_msg = mbox_alloc_msg(&dev->mbox_vfpf_up, vf, sz); if (vf_msg) { mbox_req_init(MBOX_MSG_CGX_LINK_EVENT, vf_msg); - memcpy((uint8_t *)vf_msg + - sizeof(struct mbox_msghdr), &linfo, - sizeof(struct cgx_link_user_info)); + mbox_memcpy((uint8_t *)vf_msg + sizeof(struct mbox_msghdr), &linfo, + sizeof(struct cgx_link_user_info)); vf_msg->rc = msg->rc; vf_msg->pcifunc = msg->pcifunc; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:34.635513821 +0800 +++ 0122-common-cnxk-fix-mbox-region-copy.patch 2024-03-05 17:39:30.963566499 +0800 @@ -1 +1 @@ -From 4590d008892ce8a2d17ee7f1ed3fb10204a809e4 Mon Sep 17 00:00:00 2001 +From 4f69dab88c41f1db915ceac639e8585563a69771 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 4590d008892ce8a2d17ee7f1ed3fb10204a809e4 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org