From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796412253; b=niQqOsuRdCR7uX/nTFPQno8O4lTOV2fVdcO7cG6e0rleq6pJnyLLzOCIaMsb07CFx0sK RnJ6GmcFq2x6fIRG2+H5E5SVQRgUbLhzpHoe8hNtKgAlj3hr4ME7VGH585y/pocUq8FVi 3wynczWtO7Ix+/j5fyWfAQb1D7qSWgyUphoFVAU+oLmlnSNT84mU1RI9l5XFAVVE2tZeG nd0x9SSkk6THtKCzRIBWmqaFtycMz5uHlc/QgVQiuVEIvhNWQ0z1k8m/lIRUFzj9+dl4G bJ5Y728Ciecw9GPdtT+QRRS6zWHnRdW+2FMGVb7YYfW1l5XVlAicfgectdvJ+O8udMQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796412253; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=dnnG63rl7losuSKuOYHWLhyguYal0e2KrgFhcQoUfvc=; b=bR4DmLN7rFqcSO4UMFufCWAYXsAFvn3Jpd7+1WJUVvyDPhTQvIvLhLvIGFHVdb+vjL3J l1X37IOnl2mG25jv3e/TocSYeWAVxrv2gHMuc6xnh9mdNbeCapPiBKjiBI9lgJuBi5c+/ V/wCtrcLrijDLpAZ6nn40tyJA8M3UdxEew3tgdVNmsmUEwcY/WNHaUDCXTpQjwVuubwDx AaA3xASCTiqmKmI9+GlfVMVNfMs4/Ndu44MqqqfkALthxS0G+A+0L0tNFZDfzPnj/uG+i dyN0YstDxZXzsDV2sYr+cpc1zqxCiG60lJqatBZjKyvmuLA7fWt3pleXwOTSyRsM6+A== 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=od0Ii05z; arc=none smtp.remote-ip=156.67.10.101 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 BAF6A606A32D; Fri, 4 Dec 2026 19:24:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BAF6A606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=od0Ii05z DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To: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=dnnG63rl7losuSKuOYHWLhyguYal0e2KrgFhcQoUfvc=; b=od0Ii05zLcETH1B/LTy4tzZ+FT DBpOe5Zl75nWfmNWi7Nr95rW7RM5oeuhT6G6TEl8vlb6Gr7HlZEeROS8nmtjn9G9T/9sVHgm09gBo /3o7KrznC7EjJoHevyvvlr5C0pROPKaIez9boW0h/2jOPrMVa6xZH0Sq/Qpvx8t4U06g=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1xZYsu-003IOi-Ay; Fri, 04 Dec 2026 20:23:56 +0100 Date: Fri, 4 Dec 2026 20:23:56 +0100 From: Andrew Lunn To: Javen Cc: "hkallweit1@gmail.com" , "linux@armlinux.org.uk" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "nb@tipi-net.de" , "maxime.chevallier@bootlin.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "daniel@makrotopia.org" , "vladimir.oltean@nxp.com" Subject: Re: [PATCH net-next v5 2/4] r8169: hold MDIO bus lock while loading firmware Message-ID: <0b501530-ee45-4bea-9217-d0c790c8f3a2@lunn.ch> References: <20261201094454.1150-1-javen_xu@realsil.com.cn> <20261201094454.1150-3-javen_xu@realsil.com.cn> <7cbb093d-bfd7-4efb-899d-f888ee20feee@lunn.ch> <95978163-95dc-4958-a0b3-0885674daea5@lunn.ch> <442df8997b3e455894e44c59418822b6@realsil.com.cn> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <442df8997b3e455894e44c59418822b6@realsil.com.cn> > But for single chip, the firmware contains mixed configurations for > both MAC and PHY. It has strict timing requirements. During > execution, it uses PHY_MDIO_CHG to dynamically switch the access > target. The sequence is interleaved and cannot be split to into two > separated phases. I can understand the sequence is interleaved in the firmware file. But what it not clear to me is why you cannot do the split at runtime? The PHY ignores all requests to the MAC. The MAC ignores all requests to the PHY. What goes wrong when you do split it? Andrew