Article View: linux.kernel.netdev
Article #23176Re: [PATCH net-next] net: phy: air_en8811h: use firmware loaded by the bootloader
From: Andrew Lunn
Date: Thu, 26 Nov 2026 16:33
Date: Thu, 26 Nov 2026 16:33
26 lines
9956 bytes
9956 bytes
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
Technical Details
Message-ID:
<451866fa-b8b3-4546-9c79-4a7530985be1@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372233-linux-kernel-netdev=dewy.ruReferences:
<TYZPR03MB521343DB5E35A9FDCD2FC184C7422@TYZPR03MB5213.apcprd03.prod.outlook.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372233-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: phy: air_en8811h: use firmware loaded by the bootloader Date: Thu, 26 Nov 2026 17:33:26 +0100 Organization: Usenet Network Message-ID: <451866fa-b8b3-4546-9c79-4a7530985be1@lunn.ch> References: <TYZPR03MB521343DB5E35A9FDCD2FC184C7422@TYZPR03MB5213.apcprd03.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="509119"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Sy3ZiHU7ZYXIOmlPKfzMc914jz0= sha256:x602fJuw4RdO8B3+YpXRROUpmWOdXMh0P3IZymxXdi4= sha1:sHSUZ/KfBGRmZyCiqOST0u+p8Rk= sha256:Ni5trXRHCNuxmJrMA+blHgnepBFKPzrxE5AS+gvYMPU= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 6B79A125EEC; Thu, 26 Nov 2026 19:34:22 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wj6xeZtudKyu; Thu, 26 Nov 2026 19:34:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372233-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C88A3125EEA; Thu, 26 Nov 2026 19:34:10 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id E3C453B436; Thu, 26 Nov 2026 16:33:40 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795710820; b=vVw1/+8NgoI51xpDNoAzSAkMq8oJ8zzb940L2QrVAZdXqoMYUjyef8cC1/OTCCX08wOl xuY0hp4J2Wz/xF+1We1h2XEJ1i+9HYkJ7uvx+//bhyuzYiCj+rUxhjetRTnLnUWXzF1mw zmwZqreGpshe8aLR/ChQyeNFHh9INRDKqPI0MvO/BzpnOn5FAMzNC0SCusu+b+7JAtcAo mnrV2U/Tm0ugRpC3flItUnHew3ztz5Wd6x0PiXvH52J0B18jzZVCDCnpYfRLPeSG7qGXF FApfsQnihb1hIwzbFko5T4FDmgmC93L2l6UJ7IlonsrZciG++HAiHgiTKg6TK0qGENw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795710820; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=UJ5muKce6pmVVsLtnOrlWcbQ58D2znBYPbFfr4QPuJ0=; b=egwVu+FuNleRVOhcnkmYDgO9lC7Kqz3iuYkrarJlr4gyB7w++gpTYJeAQX8E61aw4t6V syERBm/U8dKHCpWo/7iJKTQWemYoUvlIgp7JMwx3MdpOOMK4vgY/Jgjwd5DVwOv/Io5Sk EuMgY3dMeI9VTJMy8OdmoYtwTJSmVjx3mJHnP12UbKzBoE+UEmA7G+bTWxLFMoXL1+484 G8l5zyChE0Xm5/5iGGaUPHsFU/Ld+r/uqSVQRoYWnFEVZDX4Qad1p+DDRu0c4/cD/Oz5F 5ieiRFeRIBx3LQXYjP3XCh5hyHCZ90ospI4yMs28jWY9uTO5YVgcSRr1I6Ek36RUaPA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=W1YGLjlo; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA9BB606A332; Thu, 26 Nov 2026 16:33:40 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=W1YGLjlo X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795710814; b=y4Sv0tHCegSgRTVCwekqdh8TmdOt0VoMK6HRQdmCv7iaw5QHoGHq8RRUVrQJQU6CyGWU cGVFuiHS4mmqgP07qYANr3PfeYTSLHM/7nSVlREVSorBBFqWixvuPykkOMgnl0eh5Wnay ryVudWodHetTU4aM1AKDgB/7qxb9VyhPzEq6N8f+MMsS9YlqVkWL29XfBYbHpqpBxN+mH NgU3Vl7dxGgk9Q/kz2W23Od6Z07XiWTexDiav7TkFYRk5QxoTCG7EAl3PcVqbowLNC8iD qpgQy/0MEGlEV0J5tbP4ziI22wsZKImMtxt096MebkRU9wiiDl3n9NkaBgjmRDanQ0Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795710814; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=UJ5muKce6pmVVsLtnOrlWcbQ58D2znBYPbFfr4QPuJ0=; b=g/fqppJBOw17L71iN6Jjjiu2jkKhAaWC7VZEJqds2rz/tfba4BPFBzgC2OdyEkSgIjhc owqvyGzCUJ7Mmpco7pSVFaPtJtQrQIASFE3IqFrSen03oJEqPXbeKPtp/zGBPX4y/nYF7 4zI8KDny/KE7CEyfnuBkDb1dyZ9Ke9atPbDcNfkFxozH/j0xpkGX+2TPppb1xklLUL3IM gAXPdMkg0XoSr1C3H+LQ0ai9wcLtqfd3zGvxZeqWWDdUCO4JGjgrKyo23+it+9WNLpLs8 s8HqmKDmJZOYshIbDpVSx3E6Q3i90BtuaikUI5SRFa2nejo02k6GOTLcQn4yNajznkQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=W1YGLjlo; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97EAC606A326; Thu, 26 Nov 2026 16:33:34 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 97EAC606A326 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=UJ5muKce6pmVVsLtnOrlWcbQ58D2znBYPbFfr4QPuJ0=; b=W1 YGLjlo6Hr9iiyLPpwd9AFxr0JI7gxLOeuyXQvob0/4+4FJW87OPAzLOjId3T2bKIcXVPs7ZI+W/Tf ChiPpyeHEUm2FM3WzEvBla2ohPrymwCGC0axyq2j99CgNKUdXxXkKzZbJjUQwnG1hhajaIe9wA6jX CarpFCCsbRjKDuY=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xWcPW-001cO4-32; Thu, 26 Nov 2026 17:33:26 +0100 X-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> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <TYZPR03MB521343DB5E35A9FDCD2FC184C7422@TYZPR03MB5213.apcprd03.prod.outlook.com>