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 BD7F34624E for ; Mon, 17 Feb 2025 18:05:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B14EA400D6; Mon, 17 Feb 2025 18:05:49 +0100 (CET) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mails.dpdk.org (Postfix) with ESMTP id AA3C7400EF for ; Mon, 17 Feb 2025 18:05:48 +0100 (CET) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-38f31f7732dso1666763f8f.1 for ; Mon, 17 Feb 2025 09:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739811948; x=1740416748; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OKCyKHvEEHirGuD8yUv12KulAhDLbwuqk1hyHMdzfYY=; b=G9xXX07Ttc1V25vXFms7jpNQnBlTCVaj5r4UMrwlHR4SGtmQrFTDIhbP7NFzInfPcD OpywsQbiCXAgIQU0eIsx4yvTCQkGSnsoYbTxuBBHDKv4BPKVvFAykbMYpTVFyqqbk87/ fHLRcyo916b48/d1A3eZSDjAicQc3k7GGhwdB1KTbj/HtITGOmF/X/OpRewB5EZyEHFh P5LdJPJ6OJ/5QukXFZjuEEp5btTya5mb2PYWmKrTT5AtGkTJOjEpclhKapzAlNp6NYoG epfrfeUtAs72/CFTPTo62tIhSrt4YygEm8mF5/kA5/RpPBgzKha1lwcKqZc5aJmz10Af U8aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739811948; x=1740416748; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OKCyKHvEEHirGuD8yUv12KulAhDLbwuqk1hyHMdzfYY=; b=wzPm73NRzGwvmNbMkbrFHGRlw+LPP8tYaW+6jBAG0D3FeERjAjbJW7DP80Hc33ERQX yw7ofATEHIZAIrXdeM0AB1mbVi1RwVmV3kOWoZ5jM3WTQhNTvbRbMVLNSY5otrYlYbOj 7AjrNP9nJyi+0oZMI2u+QkaHiBfFuahIqWCaVGsGd/kC8woopOEek/da5k/oBU3kzgsL 8SFEll/R+TSd1lt1TUZpOICfMzd9uThPer9gUH6nfe8yCuu3NyEndBpMUcSrLfxeJ3Rk /qFe6G3447z28rbPCXJj2uDl+QolZxn38OAQ12QQ5ITyfvn7AwPA0zxjErel9wMEutgP 19og== X-Gm-Message-State: AOJu0Yz+9hCyY3Zfw+YJcaKkM1wBIGaFYZQvsARjQThOH2eIE0inXwm5 JwB7TGmyLhz6/njcCKO7wpJ7pNHR3tARohp/jagNf51T05ixNyw9 X-Gm-Gg: ASbGnctyLCE5jUiXKpxIe/uEIAxOdy6E9xCt/UyRxatgB6Hr9CVMRNEto6KvfOxDpMk hWRjN9896tAivCVzOc8I4g5RuG4ZDoJ+z/DtuOU4RsjQgfsIJ3vZGiBori2eCbohxOQnBcAozTM nd69m0RKYoQ9xHIaq7ibNnEhmeAPaK++kjx5LpNJmyC9d9vnZ9d5Zr5N9KsXMlxe4Xw4VeqxY1T mX4eVFshkSCt3rf1t2sztqRdfw3CTqxCZgEwD8/EYn3IX744FC7Z6pl5OVPQg+Rh7fsS3Oy/5F3 BQVvGIJsHdH8KWJRdmAbaQ== X-Google-Smtp-Source: AGHT+IE75+Z4UMYl3B2ZxqGZAjz/XEiOU9ESCDQ1jqGaUmvFs9ywiArpPB+fn0VE+9JQRfkBxOVf1Q== X-Received: by 2002:a5d:5f95:0:b0:38d:ba8e:7327 with SMTP id ffacd0b85a97d-38f339ded3cmr8805572f8f.8.1739811948125; Mon, 17 Feb 2025 09:05:48 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:f83c:95e7:29fd:a997]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-38f259d65bcsm12830447f8f.65.2025.02.17.09.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 09:05:47 -0800 (PST) From: luca.boccassi@gmail.com To: Vamsi Attunuru Cc: dpdk stable Subject: patch 'common/cnxk: fix DPI mailbox structure' has been queued to stable release 22.11.8 Date: Mon, 17 Feb 2025 17:03:49 +0000 Message-ID: <20250217170456.1068278-16-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250217170456.1068278-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/19/25. 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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/7c0f448f07b55ddae669e205b593db5dba195bc2 Thanks. Luca Boccassi --- >From 7c0f448f07b55ddae669e205b593db5dba195bc2 Mon Sep 17 00:00:00 2001 From: Vamsi Attunuru Date: Wed, 15 Jan 2025 18:06:54 +0530 Subject: [PATCH] common/cnxk: fix DPI mailbox structure [ upstream commit b03c474188383c3d3d529b1c9ca86767e5fb6167 ] In the existing DPI mailbox structure, one of the fields spans a 64-bit boundary, making it appear unusual and complicatng extraction using bit operations. Patch enlarges csize fields to ensure that mailbox fields are correctly positioned. Fixes: b6e395692b6d ("common/cnxk: add DPI DMA support") Signed-off-by: Vamsi Attunuru --- drivers/common/cnxk/roc_dpi_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_dpi_priv.h b/drivers/common/cnxk/roc_dpi_priv.h index 1fa1a715d3..a0a868fab9 100644 --- a/drivers/common/cnxk/roc_dpi_priv.h +++ b/drivers/common/cnxk/roc_dpi_priv.h @@ -27,7 +27,7 @@ typedef union dpi_mbox_msg_t { /* Command code */ uint64_t cmd : 4; /* Command buffer size in 8-byte words */ - uint64_t csize : 14; + uint64_t csize : 16; /* aura of the command buffer */ uint64_t aura : 20; /* SSO PF function */ -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-02-17 16:13:17.453019494 +0000 +++ 0016-common-cnxk-fix-DPI-mailbox-structure.patch 2025-02-17 16:13:16.798441593 +0000 @@ -1 +1 @@ -From b03c474188383c3d3d529b1c9ca86767e5fb6167 Mon Sep 17 00:00:00 2001 +From 7c0f448f07b55ddae669e205b593db5dba195bc2 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b03c474188383c3d3d529b1c9ca86767e5fb6167 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 1f975915f7..05b6751ca6 100644 +index 1fa1a715d3..a0a868fab9 100644