From: Andrew Lunn <andrew@lunn.ch>
To: "Albert-AL Lee (李家宏)" <albert-al.lee@airoha.com>
Cc: "Aleksei Sviridkin" <f@lex.la>,
"David S . Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@kernel.org>,
"Eric Woudstra" <ericwouds@gmail.com>,
"Heiner Kallweit" <hkallweit1@gmail.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Russell King" <linux@armlinux.org.uk>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Lucien Jheng (鄭祥鈞)" <lucien.jheng@airoha.com>,
"Wade Chou (周文澤)" <wade.chou@airoha.com>,
"Will Lu (盧翔煒)" <will.lu@airoha.com>,
"WeiTing Lee (李威霆)" <weiting.lee@airoha.com>
Subject: Re: [PATCH net-next] net: phy: air_en8811h: use firmware loaded by the bootloader
Date: Thu, 26 Nov 2026 17:33:26 +0100 [thread overview]
Message-ID: <451866fa-b8b3-4546-9c79-4a7530985be1@lunn.ch> (raw)
In-Reply-To: <TYZPR03MB521343DB5E35A9FDCD2FC184C7422@TYZPR03MB5213.apcprd03.prod.outlook.com>
On Thu, Nov 26, 2026 at 09:57:20AM +0000, Albert-AL Lee (李家宏) wrote:
> Hi Aleksei,
>
> On Mon, Oct 19, 2026 at 04:33:04AM +0300, Aleksei Sviridkin wrote:
> > Lucien, Albert, does Airoha guarantee any field in EthMD32.dm.bin or
> > EthMD32.DSP.bin as the firmware version, at a fixed place that will not
> > move in later releases? Without such a guarantee I would rather not
> > compare versions in the driver.
>
> No, Airoha cannot guarantee any field in EthMD32.dm.bin or EthMD32.DSP.bin
> as the firmware version at a fixed offset or location that will remain
> unchanged across future releases.
>
> While reading 0x3b3c currently returns the firmware version, there is no
> fixed offset within the firmware binary itself that can be used to reliably
> locate this info. Therefore, we recommend not relying on this register
> value for version detection in the upstream driver.
Please add it to your TODO list to make it possible to identify the
version. Without having this feature, you force the driver to download
the firmware, which is not a fast operation, just to find out it
already had the same, or maybe newer version, already running on the
device.
Andrew
next prev parent reply other threads:[~2026-11-26 16:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 9:57 Albert-AL Lee (李家宏)
2026-11-26 16:33 ` Andrew Lunn [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-17 18:02 Aleksei Sviridkin
2026-10-18 19:13 ` Andrew Lunn
2026-10-19 1:33 ` Aleksei Sviridkin
2026-10-20 0:21 ` Andrew Lunn
2026-10-21 3:01 ` Jakub Kicinski
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=451866fa-b8b3-4546-9c79-4a7530985be1@lunn.ch \
--to=andrew@lunn.ch \
--cc=albert-al.lee@airoha.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=ericwouds@gmail.com \
--cc=f@lex.la \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lucien.jheng@airoha.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=wade.chou@airoha.com \
--cc=weiting.lee@airoha.com \
--cc=will.lu@airoha.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®