Subject: Re: FWD: [PATCH v2 0/2] net: phy: aquantia: indicate rate adaptation

From: Russell King - ARM Linux admin <[email-masked]>
Date: Mon, 27 Jan 2020 16:16:18 +0000

Andrew, thanks for the heads up.

Madalin, please resend this series, copying me with these patches, so
Andrew doesn't have to keep alerting me to your patches. Thanks.

On Mon, Jan 27, 2020 at 04:13:51PM +0100, Andrew Lunn wrote:
> ----- Forwarded message from Madalin Bucur <[email-masked]> -----
> 
> Date: Mon, 27 Jan 2020 17:07:49 +0200
> From: Madalin Bucur <[email-masked]>
> To: [email-masked]
> Cc: [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], Madalin
> 	Bucur <[email-masked]>
> Subject: [PATCH v2 0/2] net: phy: aquantia: indicate rate adaptation
> X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,
> 	HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,
> 	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no
> 	version=3.4.4-rc1
> 
> Changes since v1:
>   rewrote commit messages to evidentiate that this is a PHY
>   generic feature, not a particular feature of the Aquantia
>   PHYs and added more details on how the 1G link issue this
>   is circumventing came about.
> 
> This patch-set introduces a bit into the phy_device
> structure to indicate the PHYs ability to do rate
> adaptation between the system and line interfaces and
> sets this bit for the Aquantia PHYs that have this feature.
> 
> By taking into account the presence of the said bit, address
> an issue with the LS1046ARDB board 10G interface no longer
> working with an 1G link partner after autonegotiation support
> was added for the Aquantia PHY on board in
> 
> commit 09c4c57f7bc4 ("net: phy: aquantia: add support for auto-negotiation configuration")
> 
> Before this commit the values advertised by the PHY were not
> influenced by the dpaa_eth driver removal of system-side unsupported
> modes as the aqr_config_aneg() was basically a no-op. After this
> commit, the modes removed by the dpaa_eth driver were no longer
> advertised thus autonegotiation with 1G link partners failed.
> 
> Madalin Bucur (2):
>   net: phy: aquantia: add rate_adaptation indication
>   dpaa_eth: support all modes with rate adapting PHYs
> 
>  drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 10 +++++++---
>  drivers/net/phy/aquantia_main.c                |  3 +++
>  include/linux/phy.h                            |  3 +++
>  3 files changed, 13 insertions(+), 3 deletions(-)
> 
> -- 
> 2.1.0
> 
> 
> ----- End forwarded message -----
> 

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up