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 DC91141D8D for ; Mon, 27 Feb 2023 08:06:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D835B40ED6; Mon, 27 Feb 2023 08:06:42 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2074.outbound.protection.outlook.com [40.107.93.74]) by mails.dpdk.org (Postfix) with ESMTP id 4CB8C40A84 for ; Mon, 27 Feb 2023 08:06:41 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjSTo5DCIjvCPDbOrOChNUYzbSpNepRGIVGgY/zVI6A4qCy+iVcgeOD+j2+tc5MoxFr7AMylot4jmhUn48h1MLCSgMiTcO1prE7gf/XWzYt0h0PbaGUBpFw6ZsHzmKUcd3qAbNHl2r3a8eP0BYHYh6/mQ3JJKlTKLis82VLWlHFbA0RGtOZv+RT4m+RAIT7OdksL8WYIXgxiGv88sR6EvzMqJjFhLE1lKnyuphf3GFzqtrL56McLnA+7z/w/T50KSB6jkJlgHRnVzWm82TYSuQB40pZRG6LjY9zDEzuTMsDd9ogbOy3fMTmNI+8owF+ybRtrDTt6Uyz5jsks3AkFZw== 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=EbF5UH2EjLtVJwmVTHPG8yc8kzDj/7ZhDxLP7GW9l9Q=; b=nGow5N9SuCIi5+cJxW6CJECOByBxynw7xJoT+rqiF3i/SSkL1XJn0eqdpV1QuGi3va+NicQ5df9afc+JKvwWQAhxan3DaSB428yhwe3h3fsB0MpcGKINN5KGZ+x0FQn5tulXd+cDDgjfb9nAnWWkVvY4MTnsci4YKMyrMrm5k2bguviMRLkbFvi9OqF5XX+ZDxCf0Qsh2vaf9jgLmSB++V9F2geExXzmVkTJb2e8YkUEGHx4ItT4WKTZcaadPbLch380w2+CAZygS62w+OiJjr9sQ80Oz6A9iU9g10y2pUtgrLd5/5CgzMp/2bdnl2y2K0+t+mvFO/zABTVtyb2N8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.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 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=EbF5UH2EjLtVJwmVTHPG8yc8kzDj/7ZhDxLP7GW9l9Q=; b=J7y873wneE0oZ+NctDpPottENk/JGl5FW5eAGUVYFZXo3PybyHEayyYWmr1AihXrX5jQ0K2SJ6sfZBSCQaYscWa70AeDlfgt5jHelDwriVRvtTOiYnk9RShQrG9lBNtUMO3L1CTj/Z86+H+QSSJjJ1hoBFjX404ODUiSCcQ37y2WHygwRRH+8ouTO7iePvJ6zTY3ATPfqurkjW/OERPwvIcRLI0QhCrnAsVF6gNyL3F7Fw8jc8BNiPSlJqEMEpMjTVpH9UxrJZheyAbL/yA1Ny2JpEauMpAbrponJ++iATszGuDtpH1vIkCj5Lj9UoMhgufZXZkZmplQQzvVjwH/5Q== Received: from MW2PR16CA0041.namprd16.prod.outlook.com (2603:10b6:907:1::18) by IA1PR12MB6282.namprd12.prod.outlook.com (2603:10b6:208:3e6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.27; Mon, 27 Feb 2023 07:06:39 +0000 Received: from CO1NAM11FT013.eop-nam11.prod.protection.outlook.com (2603:10b6:907:1:cafe::8) by MW2PR16CA0041.outlook.office365.com (2603:10b6:907:1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:06:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT013.mail.protection.outlook.com (10.13.174.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:06:39 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sun, 26 Feb 2023 23:06:26 -0800 Received: from nvidia.com (10.126.231.37) 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.986.37; Sun, 26 Feb 2023 23:06:23 -0800 From: Xueming Li To: Hernan Vargas CC: Maxime Coquelin , dpdk stable Subject: patch 'baseband/acc: fix acc100 queue mapping to 64 bits' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:17 +0800 Message-ID: <20230227070107.15664-49-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] 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: CO1NAM11FT013:EE_|IA1PR12MB6282:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f9bc114-9b12-498d-cba7-08db18912c24 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cOlv5dW3s7L10Ftf98zF79fqAXmYcTPiywZS2f1ZwsIJyegu/SJk5Ae2Fkm4g+JRYhdFkHFX3R41vEkyb/1jFAnhsEGX/sfkfNG2jA/skn4QoKdu2M+p07FieH+kV/fD6+G2Acdwg91Bn2dhNe1QKvR4aJi13fwEfcKt86aZa/kX3YeGc+7hj3ovVEXbHMyzv+C4A8IKPLEk4dqpU7doICssku1J9qMYiHcCsCbhR+AfEajgoLoLgFug9XJMEgast0v1MbUdnIL73ly3HJgTF2QIvJfkDBjrfLsLuyACaMnMsozOPnKlDeaKnO4HE1ulqO+IkoQumUQDEucIFjWaK9Ey1M4ig39LwFCoOx0sGqUMtQA3Eey/B8KXbUQvnCsNyxMlnV2om8Vx17HYbnTK5orFdz8ifvSMqKhMi17gCJ+kxUObn4aht9mDmEZrTGPmNMvjhzZx6f5k0Q+2Em2F9qagBaWeki8QVw598hsbG0nFreh9rdGf2ef9Zm7gLD52h+TrEGKjztjhqswlngn1ASwvwZBT8R+cCVJv/246626Z3QG4aSZHgYxMHzSxuOsHeQKb9yJEiVmWIvx240vWgW2/hggHw+3Qxo6tsEPMIhh16a6eHfk6RqMY7u/b4flbj0g9XgtDmiVYcV9VlxPf+mFiVH+G84DTO9Bm2L8tgP+4nc0rSwQNFplingfQchNiBoj4hTj6NIJ3QNZu186KlRMdH3M6+liHqAe/G/T2UOU1dew0SRXShExYSIC5odhm4rtDUr768RXRJneORsN046giqO1UZOVlZpaXVK+Y1sN4Fpe7oZNOq3tSgNrfaExj X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(136003)(396003)(39860400002)(376002)(346002)(451199018)(36840700001)(40470700004)(46966006)(40460700003)(6286002)(186003)(16526019)(82740400003)(7636003)(83380400001)(316002)(356005)(8936002)(6916009)(8676002)(4326008)(41300700001)(70206006)(336012)(2906002)(5660300002)(70586007)(34020700004)(36860700001)(6666004)(7696005)(55016003)(40480700001)(478600001)(1076003)(426003)(26005)(53546011)(47076005)(966005)(2616005)(36756003)(54906003)(82310400005)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:06:39.1428 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f9bc114-9b12-498d-cba7-08db18912c24 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT013.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6282 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 22.11.2 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/01/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=f3d0a011e32075f67f563d2bc5b9a28ec5ca35c0 Thanks. Xueming Li --- >From f3d0a011e32075f67f563d2bc5b9a28ec5ca35c0 Mon Sep 17 00:00:00 2001 From: Hernan Vargas Date: Thu, 12 Jan 2023 11:36:06 -0800 Subject: [PATCH] baseband/acc: fix acc100 queue mapping to 64 bits Cc: Xueming Li [ upstream commit 94e3adfcf2784749289496e0a797576296f103fd ] Fix potential overflow for Q mapping extension to 64 bits. Fixes: 32e8b7ea35d ("baseband/acc100: refactor to segregate common code") Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index 2f65f290b5..1ca95f4440 100644 --- a/drivers/baseband/acc/rte_acc100_pmd.c +++ b/drivers/baseband/acc/rte_acc100_pmd.c @@ -664,7 +664,7 @@ acc100_find_free_queue_idx(struct rte_bbdev *dev, for (aq_idx = 0; aq_idx < qtop->num_aqs_per_groups; aq_idx++) { if (((d->q_assigned_bit_map[group_idx] >> aq_idx) & 0x1) == 0) { /* Mark the Queue as assigned */ - d->q_assigned_bit_map[group_idx] |= (1 << aq_idx); + d->q_assigned_bit_map[group_idx] |= (1ULL << aq_idx); /* Report the AQ Index */ return (group_idx << ACC100_GRP_ID_SHIFT) + aq_idx; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.521529700 +0800 +++ 0050-baseband-acc-fix-acc100-queue-mapping-to-64-bits.patch 2023-02-27 14:08:40.769237000 +0800 @@ -1 +1 @@ -From 94e3adfcf2784749289496e0a797576296f103fd Mon Sep 17 00:00:00 2001 +From f3d0a011e32075f67f563d2bc5b9a28ec5ca35c0 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 94e3adfcf2784749289496e0a797576296f103fd ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index eb18cc2215..3660d3b240 100644 +index 2f65f290b5..1ca95f4440 100644 @@ -21 +23 @@ -@@ -662,7 +662,7 @@ acc100_find_free_queue_idx(struct rte_bbdev *dev, +@@ -664,7 +664,7 @@ acc100_find_free_queue_idx(struct rte_bbdev *dev,