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 61E8845C9B for ; Tue, 12 Nov 2024 23:09:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D37340A72; Tue, 12 Nov 2024 23:09:25 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 7B0A240A82 for ; Tue, 12 Nov 2024 23:09:24 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-431695fa98bso49450455e9.3 for ; Tue, 12 Nov 2024 14:09:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731449364; x=1732054164; 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=aB3x8zNXS9Hah8UzssFR4ymX1ikxgakVdFK6msJXnkE=; b=SLw/7YivZ3tWXb/lYCb9K5TBc3t9xDLyFFSmi+EISO3rjTTXLAP2iLrpkmf33/gzV8 xjjNsMeCMRmow2xWaunZpsCFdtBfpYbL7vo61xDrwUB2Mnco7ieiPesxV6cQPWI9ioef +LU1VWjKKHNmZdm+NcWNKWYYCfxzHQNFA72GGnZYVPNSi9PL6o1UwutY+W8k3NUqRqNt q0+WIcCjo+N9JdcKII4OujCbK5phoeUvu0SM8liUJes07ZoXv28CbyupIG6RorA8H0Ld Jlo4VYS18a9LOKFbJU+Uam4LqVYD+MQen9W9fs3QpFZiZKWOMp0Wfoq2/ivwgK97bcpZ j+iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731449364; x=1732054164; 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=aB3x8zNXS9Hah8UzssFR4ymX1ikxgakVdFK6msJXnkE=; b=HlmZaFavsc7ChpqgGpauKTPh0/LlF5i9Hcf5pRQgnajtniHSGFW/w5FPvOtd78eFSX Vp59KlXwSgt+24LUPk9iVLe6ZroDoEq37r8m3SM78Ewj3Qu/ZcbXl50bJrXA/uRG7cRP DDe9KS8KLpD3YumBQY5gI6laoYHxMgfFjYWXgC2z4HI71jdi04FB+iirm2fvUsd1RYOp Mb4CeQdRWbe5LGmqgB7nRvDXLvp55K6CembV7aVpax1i9fJO3kMM/GmO/86640c9g9tN ksE709thZk19HVoTFfau4m64yaclVrKkHTXEAMjIIDDqofxiAf9HhlQV6IeGQB6/76tK S08w== X-Gm-Message-State: AOJu0YwRNa/CPOnjUzkk68SE8TfX59+381gSR/mtpedy+PSmeh/Goim9 L++YXxlVKg3NtoihmWA9HF2ZGCQeNorBnaYfCLDQgOKUNk7k1lTR2Agdxg== X-Google-Smtp-Source: AGHT+IHc7LFQ1qrGIhkE3D0b6wHybHTax2QU/iZsmIbuXPPivQUu9ja9jpzFUfIUb4y5KfsAuBzJFg== X-Received: by 2002:a5d:5f81:0:b0:37d:4e74:684 with SMTP id ffacd0b85a97d-381f1888c09mr14882962f8f.52.1731449363992; Tue, 12 Nov 2024 14:09:23 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:e89d:e9a1:da72:2f9d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d55045b0sm957035e9.22.2024.11.12.14.09.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 14:09:23 -0800 (PST) From: luca.boccassi@gmail.com To: Jiawen Wu Cc: dpdk stable Subject: patch 'net/txgbe: fix SWFW mbox' has been queued to stable release 22.11.7 Date: Tue, 12 Nov 2024 22:07:34 +0000 Message-ID: <20241112220754.666489-24-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241112220754.666489-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-79-luca.boccassi@gmail.com> <20241112220754.666489-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.7 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/14/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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/68751f74354540c21341c4c943f9d8b24b8ffb93 Thanks. Luca Boccassi --- >From 68751f74354540c21341c4c943f9d8b24b8ffb93 Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Mon, 4 Nov 2024 10:29:55 +0800 Subject: [PATCH] net/txgbe: fix SWFW mbox [ upstream commit e389504ed46d84c6a5a6a32b09d6750a182f8725 ] There is a unknown bug that the register TXGBE_MNGMBX cannot be written in the loop, when DPDK is built with GCC high version. Access any register before write TXGBE_MNGMBX can fix it. Bugzilla ID: 1531 Fixes: 35c90ecccfd4 ("net/txgbe: add EEPROM functions") Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_mng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/txgbe/base/txgbe_mng.c b/drivers/net/txgbe/base/txgbe_mng.c index 029a0a1fe1..9770c88bc8 100644 --- a/drivers/net/txgbe/base/txgbe_mng.c +++ b/drivers/net/txgbe/base/txgbe_mng.c @@ -58,6 +58,7 @@ txgbe_hic_unlocked(struct txgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) dword_len = length >> 2; + txgbe_flush(hw); /* The device driver writes the relevant command block * into the ram area. */ -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-12 22:06:59.453522531 +0000 +++ 0024-net-txgbe-fix-SWFW-mbox.patch 2024-11-12 22:06:58.671307265 +0000 @@ -1 +1 @@ -From e389504ed46d84c6a5a6a32b09d6750a182f8725 Mon Sep 17 00:00:00 2001 +From 68751f74354540c21341c4c943f9d8b24b8ffb93 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e389504ed46d84c6a5a6a32b09d6750a182f8725 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 20db982891..7dc8f21183 100644 +index 029a0a1fe1..9770c88bc8 100644