Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 8933DB644 for ; Tue, 10 Dec 2024 03:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733801166; cv=none; b=AgzVOG8i8ttmyDmxRFPBm28elgvTHio34j2uBIuzePkC9VnEt9pCx72ETnG/DAiLK59lzVUCUztpptP7UNWYPlx+ypTIoXrJuSWnz3rrcxNMO1mKiNzN9eumBmyy/ARdrgvY81Wzicf3zHdWTjszwMO3RgDNJnXzsSaev9hZBdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733801166; c=relaxed/simple; bh=dx/cln2K2V7L0+KAiKcvigK0qBqpr+tQWXDhGu7J8fo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WDwCzXYUzySiv6AJ9tflUNU0dPRte/qeULtlz/KxhKBlW8Ug5tQX+iUMJalGsW0APKmAeVjTGTt8gRP4TW3EkNuuREVo6Y5HvY0zuAe09NyuCpiij3sxImdoTbfkoHm+lIOLZ+t5pGCSfqkMPNAS0NPYUcK7PIqAdvgoeTUE2/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=w4Zd50mg; arc=none smtp.client-ip=156.67.10.101 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.b="w4Zd50mg" 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=GznTRwEqMeqJk65KppPi2e/HbGa1yYKFHV0R7EXwC/g=; b=w4Zd50mgu0y0nTog3I5d9qIpme xGrwQU1269nIeQkc5nhUyEG0SEsIJ18Gn/eW4+rq5Akt0jUqjY0/OKFZj/m9aDWCeV5INHoDvIMWW uAQDHaqbtnGp0jmdAsp0YqiaghYH6SbhHJ7JNYWjFptxtujcT8Uo5k8h/FKKpvdY6JpY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1tKqsn-00FkbM-4k; Tue, 10 Dec 2024 04:25:57 +0100 Date: Tue, 10 Dec 2024 04:25:57 +0100 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Heiner Kallweit , Andrew Lunn , Bryan Whitehead , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Marcin Wojtas , netdev@vger.kernel.org, Paolo Abeni , UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next 07/10] net: mvneta: convert to phylink EEE implementation 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: On Mon, Dec 09, 2024 at 02:23:48PM +0000, Russell King (Oracle) wrote: > Convert mvneta to use phylink's EEE implementation, which means we just > need to implement the two methods for LPI control, and adding the > initial configuration. > > Disabling LPI requires clearing a single bit. Enabling LPI needs a full > configuration of several values, as the timer values are dependent on > the MAC operating speed. > > As Armada 388 states that EEE is only supported in "SGMII" modes, mark > this in lpi_interfaces. Testing with RGMII on the Clearfog platform > indicates that the receive path fails to detect LPI over RGMII. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Andrew Lunn Andrew