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 756F648B69 for ; Fri, 21 Nov 2025 12:23:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CB914026F; Fri, 21 Nov 2025 12:23:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 316E54026F for ; Fri, 21 Nov 2025 12:23:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763724237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xgfX0deTOuawjdiIAy/ZgVcRIKhxi6fz6SXwpd6d3uk=; b=Nen2Jr2k8v2xeABgXR10FUOayxx+is/7IUZPT9bZDRMw0JvfXu/qxl6lLbVFgpXiE6GANa CiJ9228Ymj5GrAbN2AKfU4PsdEow4sfW9ArGtwwW0uVgvO58PmwI90GsWzD+X1m7VViXyB fjjUuXOlJ7PdETX63LQFeEVV0E51Wsk= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-692-dNHATs8pOWGprxRgsAGcZQ-1; Fri, 21 Nov 2025 06:23:54 -0500 X-MC-Unique: dNHATs8pOWGprxRgsAGcZQ-1 X-Mimecast-MFC-AGG-ID: dNHATs8pOWGprxRgsAGcZQ_1763724233 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C06891956089; Fri, 21 Nov 2025 11:23:53 +0000 (UTC) Received: from rh.redhat.com (unknown [10.42.28.165]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B52B030044DB; Fri, 21 Nov 2025 11:23:52 +0000 (UTC) From: Kevin Traynor To: Venkat Kumar Ande Cc: dpdk stable Subject: patch 'net/axgbe: fix build with GCC 16' has been queued to stable release 24.11.4 Date: Fri, 21 Nov 2025 11:20:49 +0000 Message-ID: <20251121112128.485623-65-ktraynor@redhat.com> In-Reply-To: <20251121112128.485623-1-ktraynor@redhat.com> References: <20251121112128.485623-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: VhO-BFc-gFGvxHG0C1lJrJ9Syj3dijCve79yYvT7YtY_1763724233 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 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 24.11.4 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/26/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/3b72246da071ee978838691a66a146fd5c7c4918 Thanks. Kevin --- >From 3b72246da071ee978838691a66a146fd5c7c4918 Mon Sep 17 00:00:00 2001 From: Venkat Kumar Ande Date: Thu, 13 Nov 2025 22:11:09 +0530 Subject: [PATCH] net/axgbe: fix build with GCC 16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit dec46366290076afa65bc6b505b274e10e90f494 ] Build warning reported for local variable set and not used on GCC-16. Fix the issue by using the variable for missed register write operation. ../drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_disable’: ../drivers/net/axgbe/axgbe_ethdev.c:1744:22: warning: variable ‘mac_tscr’ set but not used [-Wunused-but-set-variable=] 1744 | unsigned int mac_tscr = 0; | ^~~~~~~~ Bugzilla ID: 1819 Fixes: e04449488fdb ("net/axgbe: support IEEE 1588 PTP") Signed-off-by: Venkat Kumar Ande --- drivers/net/axgbe/axgbe_ethdev.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/axgbe/axgbe_ethdev.c b/drivers/net/axgbe/axgbe_ethdev.c index 5448a5f3d7..526d14b69a 100644 --- a/drivers/net/axgbe/axgbe_ethdev.c +++ b/drivers/net/axgbe/axgbe_ethdev.c @@ -1736,4 +1736,5 @@ axgbe_timesync_disable(struct rte_eth_dev *dev) struct axgbe_port *pdata = dev->data->dev_private; unsigned int mac_tscr = 0; + unsigned int value = 0; /*disable timestamp for all pkts*/ @@ -1745,4 +1746,9 @@ axgbe_timesync_disable(struct rte_eth_dev *dev) /*disable time stamp*/ AXGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 0); + + value = AXGMAC_IOREAD(pdata, MAC_TSCR); + value |= mac_tscr; + AXGMAC_IOWRITE(pdata, MAC_TSCR, value); + return 0; } -- 2.51.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-11-21 11:05:11.616837739 +0000 +++ 0065-net-axgbe-fix-build-with-GCC-16.patch 2025-11-21 11:05:09.541201502 +0000 @@ -1 +1 @@ -From dec46366290076afa65bc6b505b274e10e90f494 Mon Sep 17 00:00:00 2001 +From 3b72246da071ee978838691a66a146fd5c7c4918 Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit dec46366290076afa65bc6b505b274e10e90f494 ] + @@ -20 +21,0 @@ -Cc: stable@dpdk.org @@ -28 +29 @@ -index 31d35ff182..cf3b0d9ef5 100644 +index 5448a5f3d7..526d14b69a 100644 @@ -31 +32 @@ -@@ -1743,4 +1743,5 @@ axgbe_timesync_disable(struct rte_eth_dev *dev) +@@ -1736,4 +1736,5 @@ axgbe_timesync_disable(struct rte_eth_dev *dev) @@ -37 +38 @@ -@@ -1752,4 +1753,9 @@ axgbe_timesync_disable(struct rte_eth_dev *dev) +@@ -1745,4 +1746,9 @@ axgbe_timesync_disable(struct rte_eth_dev *dev)