mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Paolo Abeni <pabeni@redhat.com>
Cc: Aleksei Sviridkin <f@lex.la>,
	Russell King <linux@armlinux.org.uk>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Vladimir Oltean <olteanv@gmail.com>,
	netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Simon Horman <horms@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Conor Dooley <conor@kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	"Chester A. Unal" <chester.a.unal@arinc9.com>,
	Daniel Golle <daniel@makrotopia.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH net-next v6 0/3] net: phylink: wait for a PHY that probes after the MAC
Date: Wed, 14 Oct 2026 19:10:19 +0200	[thread overview]
Message-ID: <b175c750-104a-4859-a137-09de78a6d8bb@lunn.ch> (raw)
In-Reply-To: <3d3b9f10-e3e8-4d50-b543-0d451cb07598@redhat.com>

On Wed, Oct 14, 2026 at 12:04:36PM +0200, Paolo Abeni wrote:
> On 10/13/26 17:12, Aleksei Sviridkin wrote:
> > On 10/13/26 09:53, Paolo Abeni wrote:
> > > The above looks like a significant amount of complexity for OoT driver,
> > > and I understand it could be solved with a different kconf?
> > 
> > The PHY driver is in mainline, air_en8811h. Only the board's device
> > tree lives in OpenWrt.
> > 
> > A config change can avoid it, but it is expensive here. Building
> > air_en8811h in is not enough, since it loads its firmware with
> > request_firmware_direct() from the root filesystem, which is not mounted
> > yet when the switch probes. It also needs CONFIG_EXTRA_FIRMWARE with
> > 144 KB of blobs, in a kernel that OpenWrt shares between every board
> > of the subtarget.
> > 
> > Is that the expected answer for a board like this one, or would you
> > take a smaller change in phylink?
> To me this series still looks too much churn for something that has
> alternative options. I would like to hear a 2nd opinion from Russell,
> Andrew or Heiner.

I think the hardware design is poor, it would of made everybody life
easier spending an extra $1 on an EEPROM for the PHY firmware.

One alternative is to put the firmware download into the
bootloader. That means it is not in the initramfs, which seems to be
the major reason for doing this. By the time Linux gets to drive the
hardware, the hardware is actually usable. That makes our life
simpler.

	Andrew

  reply	other threads:[~2026-10-14 17:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 12:47 Aleksei Sviridkin
2026-10-06 12:47 ` [PATCH net-next v6 1/3] dt-bindings: net: ethernet-phy: add needs-host-firmware Aleksei Sviridkin
2026-10-06 12:47 ` [PATCH net-next v6 2/3] net: phylink: wait for PHYs that are known to probe late Aleksei Sviridkin
2026-10-13  8:01   ` Paolo Abeni
2026-10-06 12:47 ` [PATCH net-next v6 3/3] net: dsa: let user ports wait for a PHY that probes late Aleksei Sviridkin
2026-10-13  7:53 ` [PATCH net-next v6 0/3] net: phylink: wait for a PHY that probes after the MAC Paolo Abeni
2026-10-13 15:12   ` Aleksei Sviridkin
2026-10-14 10:04     ` Paolo Abeni
2026-10-14 17:10       ` Andrew Lunn [this message]
2026-10-17 18:03         ` Aleksei Sviridkin

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=b175c750-104a-4859-a137-09de78a6d8bb@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=andrew+netdev@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chester.a.unal@arinc9.com \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=f@lex.la \
    --cc=hkallweit1@gmail.com \
    --cc=horms@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=matthias.bgg@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    /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®