From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FFC4165F1A; Mon, 16 Mar 2026 13:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773669117; cv=none; b=qoCfH5hCnwZgVbeKXRXhxdxAe0K0G8BEDjfXKP+3YGmC+e//cYXMdTZFE13iglu6/IXPsVG5TB7jvX2Pt/4ojKIFqNk+kM7RihnBVNDig3ilXOkKUkbF0YnreIQQsSKlhgZcJY4mw4OQr9Pczy49qOGbnZrjurplP7cqUAufYLM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773669117; c=relaxed/simple; bh=yMgUuPKLNFX2K7voPPRQmJ2V/a+gyLJszijGLO5fNs0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aCe9T0NSVtOXSEX3kPbQ01/uJJCv/hLh8iBkC62zMYTSlmGK1aT4CFO9iBqIuYvy4i2NmUD9IYsd845KqnOQCun5rQBHwG1ZptumRCZaRSaAzs9qbcp8EpOqf266RtHQR43FH2IDaOiQJ8IEXBVdOB3y3FL3mwDn7R0QYyNB8ik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=FRQ7hAVm; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="FRQ7hAVm" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3ybCcCawDXPxiVqUP7psGH8DaNW0UmkbnwZ0YM4VDmU=; b=FRQ7hAVm4iQ4dhJvKK8D6gyiA5 e7GDM3Y5SCT5e/lzvHpwV/XGQJrZoaVjp0eKuJogtKWnHxhD/cj4M7w7hiQCpb0/jIeib5mkktQn+ Cj9z59qu42+vDbz1SWWxGTQOdE04q9ZnKL3rnjkBZRMo83FzEpHMeBzXvaXiWECwd9mMpo7+KAmav ziQxmkORg7OAfZ1XZ0SlnOrDbjj+KRxPxahKhs8Z1VHeisUt5GcEQhYOBrjWbpX+FNqHuD7AWs2DK m/eG8YfURk7qBmZyXkCbo8VMN7AfnUuHMiGdLTciaGu/3UrkASLThwa+uunMyk4IRHEteu9XAFfQN 48+shy8g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:38174) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w28MF-000000003r0-47U7; Mon, 16 Mar 2026 13:51:48 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1w28MD-00000000581-2FJx; Mon, 16 Mar 2026 13:51:45 +0000 Date: Mon, 16 Mar 2026 13:51:45 +0000 From: "Russell King (Oracle)" To: Mohd Ayaan Anwar Cc: Andrew Lunn , Alexandre Torgue , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org, Paolo Abeni , Vinod Koul Subject: Re: [PATCH net-next 0/8] net: stmmac: improve PCS support Message-ID: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) On Mon, Mar 16, 2026 at 05:15:53AM +0530, Mohd Ayaan Anwar wrote: > [ 8.865707] qcom-ethqos 23040000.ethernet: clk_csr value out of range (0xffffff00 exceeds mask 0x00000f00), truncating I also think this needs to be investigated. This message is the result of a recent patch of mine which will error if the clk_csr clock rate is not something we support. I see all of the in-kernel dts which match qcom,.*ethqos provide a stmmaceth clock, so plat->stmmac_clk should be populated. stmmac_clk_csr_set() should get the clock rate, and look it up in the stmmac_std_csr_to_mdc table. We'll get this warning if the clock rate is larger than 800MHz or less or equal to 20MHz. The divisor selection of 15 is not supported by the hardware. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!