From: Alexey Immoreev <luixo-public@luixo.me>
To: Stanislaw Pal <kuncy7@gmail.com>
Cc: Christian Marangi <ansuelsmth@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Yongzhao Chen <yongzhao.derek@gmail.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v2 1/4] net: dsa: qca8k: read each register into its own word over MDIO
Date: Sat, 7 Nov 2026 07:10:04 +0400 [thread overview]
Message-ID: <20261107031005.2525-1-luixo-public@luixo.me> (raw)
In-Reply-To: <20261104210757.467964-2-kuncy7@gmail.com>
Hi Stanislaw,
While investigating qca8k bulk reads for OpenWrt, I independently
arrived at the same destination-stride fix, with AI assistance.
Your patch contains the identical one-line change.
An AI-assisted host-side regression against current net
(30c71476d842) extracts and executes the actual callback with mocked
transports. The original fails and the fixed callback passes,
covering MDIO-only reads, Ethernet success and fallback, and MDIO
error handling. A separate UBSan run also detects misaligned stores
with the original code and passes with the fix.
These are callback-level tests, not hardware testing of your series.
> last three bytes of a three-register read are never written.
Small wording correction: I believe this should be "last six bytes".
The four-byte stores start at offsets 0, 1 and 2, covering bytes 0-5
of the 12-byte buffer.
Thanks for posting the fix!
Alexey
next prev parent reply other threads:[~2026-11-07 3:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 21:07 [PATCH net-next v2 0/4] net: dsa: qca8k: fix the MIB autocast and management frame handlers Stanislaw Pal
2026-11-04 21:07 ` [PATCH net-next v2 1/4] net: dsa: qca8k: read each register into its own word over MDIO Stanislaw Pal
2026-11-07 3:10 ` Alexey Immoreev [this message]
2026-11-07 9:27 ` Stanislaw Pal
2026-11-04 21:07 ` [PATCH net-next v2 2/4] net: dsa: qca8k: drop MIB autocast frames once the request is over Stanislaw Pal
2026-11-04 21:07 ` [PATCH net-next v2 3/4] net: dsa: qca8k: check the length of MIB autocast frames Stanislaw Pal
2026-11-04 21:07 ` [PATCH net-next v2 4/4] net: dsa: qca8k: bound the data of a management ack frame Stanislaw Pal
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=20261107031005.2525-1-luixo-public@luixo.me \
--to=luixo-public@luixo.me \
--cc=andrew@lunn.ch \
--cc=ansuelsmth@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=kuncy7@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=yongzhao.derek@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
all inboxes | Powered by JetHome®