From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBEF437419B for ; Mon, 24 Aug 2026 02:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787539224; cv=none; b=OdULU8VISc8SUr7g/K8EAuBJI7/ySEfwylRA0F8gWN58MladAH+tSLznyb92W2Du/pS+cOL0G/PAZY5UgSmJI2fA6204y3fjBAT1eXDb+TCManBfPqLTvDMGmYitkCAxfU27bSwUfcuN+YxmxKZga87JDTiQdZ2zBvSHxMesF5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787539224; c=relaxed/simple; bh=AYu3qPUBsFTn43fSjEMlrPrBNFTqVVASAlsfrSCV2H0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SZGqRUB9+kXQPUGxT7nsreb5BToIhCq2wLGmgoSxNoyMCyoCkinkjuM3jUORRGwOf09haOuHj4p62AID1JlMIdOZcIiL0oUhC/kzXlsfBzK7l8Fj7baAGn04WqXlNvR/GhZ3wj/UxmllNvpR6b+uX9sr7uYTTcQN2FkpY0EaUWU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lex.la; spf=pass smtp.mailfrom=lex.la; dkim=pass (2048-bit key) header.d=lex.la header.i=@lex.la header.b=FUwz3SRz; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lex.la Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lex.la Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lex.la header.i=@lex.la header.b="FUwz3SRz" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-c16794450aeso424049766b.2 for ; Sun, 23 Aug 2026 19:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lex.la; s=google; t=1787539219; x=1788144019; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AYu3qPUBsFTn43fSjEMlrPrBNFTqVVASAlsfrSCV2H0=; b=FUwz3SRzBVeJhpzqxWioCq9fi3hNv0lJAuT81vmVeaQVBgvtXXdZps6B32kCEUUP/o l0985An/horW03r5jaw+IiNbcLERMUMsg5veOxu7FBaxxl0SrNwpdjhPprsbLjHSo5+b iGjO+oTN/cPe1NPuvl/or+sNBUAo+LkRhpVZb7VYfM4sRzgPVKqEjSa1TxafAvPokSud 3c/joNxviU0Tru7HE3Nl8XGAWKHba4Wzgl8EybLjbzM23g3TqMDuimxcdTNMnxBTRHa3 RzjegSCR1VnrDTkH+3mqQM+E7KHybRJSU01xh0HWqL5Pv+y515JA/viLj/dVu89XHeXG wZdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787539219; x=1788144019; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AYu3qPUBsFTn43fSjEMlrPrBNFTqVVASAlsfrSCV2H0=; b=sO5edZ3uLT7Ar+svmISCvp1BjA2aliVygmrf29JaNwPBVMnGkNMW1q6jhjeVwgszSk HdFo4pVoBSOkqxTI1bYytUG9KxDU4S5tXeY7jVfeqhtiCOUEGsFhddlWaYfGASVXyVSc oFF7Qj9M2y/MOl7/H/eH4Gn+SClNeP5aiwnL8DyZ20iGfG5ArMXqSU9KQ1WSydl4+dYf OwvF6hK+T51kM9NEFmvRPtF8nHjfFSQ6ZBXEAkQjiXeYp/OlYqOUU8OWoCRd6GKnlFOV IEXS40O4HPI2S1kM6XhU0730s9xNqR6SFKdZuxR3iK6cZjrscgNli9YyfAXz7gxOs4Y6 +QpA== X-Forwarded-Encrypted: i=1; AHgh+RqA/MKQk77ys0bE6JDMk7K8hUvtVfY1VKEQvVkHbUQ9Rw4ZbiIWktkuo1BvOBsHWL8jWojPlnJBsEQB8Js=@vger.kernel.org X-Gm-Message-State: AFuF++ll1/zw+qjCMFXNJDyenLfJyfzw3MhiWeePM7q0N3hMAyJ7xdGI fluKf4/Vbqyw4RFLlr9pdPZY6A/2z2zkVjOARvQrWJfkHckq2S4omYkuDoqRtQLu0X8= X-Gm-Gg: AR+sD11ud5Cei7UmgBjMcn6Oc0YLkZs6UqILwVGCyZfrJzf+WUbIblr3xlqJycUbxVj 2X+jTSUy+C+n6nD8R1IXLsUyGPd7SYWUxySK1lhPhTq1IXKLVh+oVXGQZGw8BUShWrnqLQuwtrm /2/E5Io1+9H/L+UiffeMYIL7GNC/YGjavmCP/XLx+ZjxP9r68d8heOvglIH2mq1e1wq3cw6yCFJ 1kvS63Kmo0biRYftl+9LSI1/nuzWBTJ+Qrsm+n1zdFh9tXDQ+IzMr6A6E4z9MvRsMwJnZAWoaPp GayaSYOD0j9sEO4ZI0zhlKiCSW7IRvo739iEwC6KQGIdsvbf7IR/LwYEIQdTWNvlDaqIbhV8tUB VSRR2Gbf9C0jJJh5vkIwFgONvoXuOswr4cPrCyKl9d33Q5Kv/emLCPsK4BqgVZkDw8zurRE2oNY QftPtyazlOF0H8cUdFwjCEStCNOVLRcOc1KDx1OqtnBzIWeSRfxSbL4oOL+w== X-Received: by 2002:a17:907:980d:b0:c20:56e8:5457 with SMTP id a640c23a62f3a-c246a359c6fmr2233438066b.6.1787539219351; Sun, 23 Aug 2026 19:40:19 -0700 (PDT) Received: from ownbook ([195.181.160.194]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c2496738e7esm1121017466b.46.2026.08.23.19.40.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 23 Aug 2026 19:40:19 -0700 (PDT) From: Aleksei Sviridkin To: Andrew Lunn Cc: Vladimir Oltean , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Aleksei Sviridkin Subject: Re: [PATCH net-next 3/3] net: dsa: connect a late-arriving PHY at ifup Date: Mon, 24 Aug 2026 05:40:15 +0300 Message-ID: <20260824024015.39701-1-f@lex.la> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: <20260822155259.87146-1-f@lex.la> <20260822155259.87146-4-f@lex.la> <9557daed-f039-434a-ae64-ac849b9860be@lunn.ch> <20260823000549.6095-1-f@lex.la> <20260823123729.74290-1-f@lex.la> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Another option is move the firmware download into the bootloader. I went and looked at what that would take, and it does not help here, for a reason that also corrects something in my own commit message. The firmware is not what makes this PHY late. air_en8811h is a module in the rootfs, and on this board it probes at 6.25 s, while the port is already dropped at 1.878 s. Moving the blobs earlier changes nothing while the driver itself arrives that late. Even with the firmware preloaded, en8811h_probe() calls en8811h_load_firmware() unconditionally, and that starts with request_firmware_direct(). Nothing reads the version register or the ready bit first, so a preloaded PHY is reloaded, and a PHY with no blobs available still fails probe. A bootloader preload would need a kernel-side early-out to have any effect at all. And it would be gone before then anyway: the failed bringup ends in phy_detach(), which asserts the reset line, and this PHY has reset-gpios. So whatever the bootloader put in the MD32 is wiped at 1.88 s. U-Boot does already carry the whole loader, in v2026.07, which is what we build. What it cannot do here is read the blobs out of a squashfs inside UBI, and mtk_eth_probe() takes the switch branch and never connects a PHY on this board, so it would be new code either way. None of that argues against your main point. I am dropping this patch and sending the phylink and phylib fixes on their own, since they stand without it. If the phylink hotplug direction ends up wanting someone to test it on hardware that reproduces this, I have the board.