From: Greg KH <greg@kroah.com>
To: Sasha Levin <sashal@kernel.org>
Cc: stable@vger.kernel.org, "Wayen.Yan" <win847@gmail.com>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Jakub Kicinski <kuba@kernel.org>
Subject: Re: [PATCH 6.12.y] net: airoha: Fix register index for Tx-fwd counter configuration
Date: Thu, 30 Jul 2026 14:46:49 +0200 [thread overview]
Message-ID: <2026073041-radiation-atonable-b8d2@gregkh> (raw)
In-Reply-To: <20260729203537.447604-1-sashal@kernel.org>
On Wed, Jul 29, 2026 at 04:35:36PM -0400, Sasha Levin wrote:
> From: "Wayen.Yan" <win847@gmail.com>
>
> [ Upstream commit 1402ecccf5630a0b7fa4749d7d2e72abc3f3d73d ]
>
> In airoha_qdma_init_qos_stats(), the Tx-fwd counter configuration
> register uses the same index (i << 1) as the Tx-cpu counter, which
> overwrites the Tx-cpu configuration. The Tx-fwd counter value register
> correctly uses (i << 1) + 1, so the configuration register should use
> the same index.
>
> Fix the REG_CNTR_CFG index from (i << 1) to ((i << 1) + 1) so that
> the Tx-fwd counter is properly configured instead of clobbering the
> Tx-cpu counter config.
>
> Fixes: 20bf7d07c956 ("net: airoha: Add sched ETS offload support")
> Signed-off-by: Wayen.Yan <win847@gmail.com>
> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
> Link: https://patch.msgid.link/6a2b40e7.4dd82583.3a5c46.e566@mx.google.com
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
> drivers/net/ethernet/mediatek/airoha_eth.c | 2 +-
This file isn't in 6.12.y :(
next prev parent reply other threads:[~2026-07-30 12:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 14:41 FAILED: patch "[PATCH] net: airoha: Fix register index for Tx-fwd counter" failed to apply to 6.12-stable tree gregkh
2026-07-29 20:35 ` [PATCH 6.12.y] net: airoha: Fix register index for Tx-fwd counter configuration Sasha Levin
2026-07-30 12:46 ` Greg KH [this message]
2026-08-01 1:40 ` Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026073041-radiation-atonable-b8d2@gregkh \
--to=greg@kroah.com \
--cc=kuba@kernel.org \
--cc=lorenzo@kernel.org \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=win847@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox