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 729DE46A9C for ; Mon, 30 Jun 2025 14:26:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A096402E1; Mon, 30 Jun 2025 14:26:33 +0200 (CEST) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mails.dpdk.org (Postfix) with ESMTP id 340B84025D for ; Mon, 30 Jun 2025 14:26:32 +0200 (CEST) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3a5123c1533so1113979f8f.2 for ; Mon, 30 Jun 2025 05:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751286392; x=1751891192; 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=+ucgEv5+JyBy+ZPH6SGqOelcEL+djJ4kDtX8GTB2ip8=; b=C5YwfF/9b79Q+gwA9dlXLZhaNv5cdVOdwFM2EPNSbsjIUi/Shbc9yxEYRkpA97Atxw wDkeWdBZ7UkzbWqBHCADiB7ilT78DPs2vZk5n2Tv4CogaFHen9vgjtnibgTHuR3INH1v FsbgC4s+mpjKLGh0CX++uEAUnfKGB6cstnML+xapQymg801+R2pYdg8+3S0LXFEvdu22 W+T4+ZPOvfXidiViWC0QDhbQ4CuNyc75pqOSAndfVL+lGrXhcevyHSJm4FJ1OyaF9UaZ /HiYW1/jifIWNPwGQx//Z9N+4nGEXRdHzWNrFrnze4Fd0DWGvlfqOGqKAugGTroCtL9U gJJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751286392; x=1751891192; 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=+ucgEv5+JyBy+ZPH6SGqOelcEL+djJ4kDtX8GTB2ip8=; b=FrjWYCbw4zUT/qvyllbSZU31niIkXF78dwypJhh8S/8eR8pF8PMCbo3qIkfedp3K5C GwEf6vIoHy2ROA3YBaxNsTrxUZ8gRRMKGqFS78frle3gs5Ld7HtT5yjo8NNi7+4gt1dQ YzxSkdmf8evtf84Xq1WrjjoufwGxGcV2JCTexHQqwKlELna20rmHKHeErkc7hPddoI/R TYwpSslpAxvm2HodcsFdSKU0XMu/9YD1rB8yvsijjzYqlP/EjsgRYNnfVjWG+L2JL3so VeOLd/avZzSnPv77k0X5hxRP9pTL8fxdSB/I5PYZM3LTevFAwULvvQrWN3E0XUK+0E4m AQhQ== X-Gm-Message-State: AOJu0Ywq8C7J5mLijC0+EF+IyHU4hLawIBzKkd8jXqNS02Krvsrl5rOd CQ2qQUW6BIpuJO/K+t6sLNmXU/u720RmrBiHXdmeBL0hdzwfRZeN0vaPY2LqK9U0 X-Gm-Gg: ASbGncuempJBUHL6ijgcpoRD2vXJdBUSz9iZ6RcAThm+h3hbMA7kgjqrsPyhigVImQH 7ZBIUbCBNH4hXK0+bn+cqmewQ2voeE8ZhXeyhelBoIEU74S/xGp9TIVtoBMcuFOZHy8VVeM0dQt ZIh18KgxbEclwC2a5m2R4KA8rtaIXL+Y5YjG8iiZIBkHjn4wzY+2DF3WLiM6d5hSbeSSRtArDuV NflR9bls/80kPUMJzz7pTiyqSCZRJpf0uMSI8cVjfSNjokV+pwRKAQ7VTpsPCQoejzmatq7zUmr G6azutth10fyKJsDFs8O4nG3rXtaz2bJENyJm5UyiNw+BYWYDWnHPlprSoKQOMYqZIM= X-Google-Smtp-Source: AGHT+IGQ+0+EKeF695zRJp8tOkBYpy6ARk2onkOqBRMTN6HrGDkS5Hv7zXGPdBbSGpe5hZCHIpGVYA== X-Received: by 2002:adf:e00b:0:b0:3a4:ddde:13e4 with SMTP id ffacd0b85a97d-3a8ffeb43fbmr7304368f8f.58.1751286391543; Mon, 30 Jun 2025 05:26:31 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:ded1:f637:68f:c2a6]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-3a892e6214fsm10420789f8f.98.2025.06.30.05.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jun 2025 05:26:31 -0700 (PDT) From: luca.boccassi@gmail.com To: Nithinsen Kaithakadan Cc: dpdk stable Subject: patch 'common/cnxk: fix qsize in CPT iq enable' has been queued to stable release 22.11.9 Date: Mon, 30 Jun 2025 13:25:41 +0100 Message-ID: <20250630122556.1133654-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250630122556.1133654-1-luca.boccassi@gmail.com> References: <20250612210733.2506558-72-luca.boccassi@gmail.com> <20250630122556.1133654-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.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/02/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/6a94f2661af39f22528d11f43da61c86e63b44ee Thanks. Luca Boccassi --- >From 6a94f2661af39f22528d11f43da61c86e63b44ee Mon Sep 17 00:00:00 2001 From: Nithinsen Kaithakadan Date: Mon, 9 Jun 2025 16:10:37 +0530 Subject: [PATCH] common/cnxk: fix qsize in CPT iq enable [ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ] Reconfigure qsize in each CPT iq enable call. Fixes: 3bf878395591 ("common/cnxk: move instruction queue enable to ROC") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/roc_cpt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c index c9adfe6a02..3f73b7d7fb 100644 --- a/drivers/common/cnxk/roc_cpt.c +++ b/drivers/common/cnxk/roc_cpt.c @@ -966,9 +966,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf) void roc_cpt_iq_enable(struct roc_cpt_lf *lf) { + union cpt_lf_q_size lf_q_size; union cpt_lf_inprog lf_inprog; union cpt_lf_ctl lf_ctl; + /* Reconfigure the QSIZE register to ensure NQ_PTR and DQ_PTR are reset */ + lf_q_size.u = plt_read64(lf->rbase + CPT_LF_Q_SIZE); + plt_write64(lf_q_size.u, lf->rbase + CPT_LF_Q_SIZE); + /* Disable command queue */ roc_cpt_iq_disable(lf); -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-06-30 13:21:22.186958713 +0100 +++ 0011-common-cnxk-fix-qsize-in-CPT-iq-enable.patch 2025-06-30 13:21:21.747057360 +0100 @@ -1 +1 @@ -From 8c60a3ff2367e4c1189fac431ccb046107b91357 Mon Sep 17 00:00:00 2001 +From 6a94f2661af39f22528d11f43da61c86e63b44ee Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index b4bf0ccd64..d1ba2b8858 100644 +index c9adfe6a02..3f73b7d7fb 100644 @@ -20 +21 @@ -@@ -1125,9 +1125,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf) +@@ -966,9 +966,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)