netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <65f7f17d.050a0220.7383e.5eeeSMTPIN_ADDED_BROKEN@mx.google.com>]
  • * Re: [PATCH 0/3] Fix EEE support for MT7531 and MT7988 SoC switch
           [not found] <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-0-3f17226344e8@arinc9.com>
           [not found] ` <65f7f17d.050a0220.c6db1.02bdSMTPIN_ADDED_BROKEN@mx.google.com>
           [not found] ` <65f7f17d.050a0220.7383e.5eeeSMTPIN_ADDED_BROKEN@mx.google.com>
    @ 2024-03-20  8:10 ` Arınç ÜNAL
      2024-03-20 11:08   ` Daniel Golle
           [not found] ` <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-3-3f17226344e8@arinc9.com>
      3 siblings, 1 reply; 9+ messages in thread
    From: Arınç ÜNAL @ 2024-03-20  8:10 UTC (permalink / raw)
      To: Daniel Golle, DENG Qingfang, Sean Wang, Andrew Lunn,
    	Florian Fainelli, Vladimir Oltean, David S. Miller, Eric Dumazet,
    	Jakub Kicinski, Paolo Abeni, Matthias Brugger,
    	AngeloGioacchino Del Regno, René van Dorst, Russell King,
    	SkyLake Huang, Heiner Kallweit
      Cc: Bartel Eerdekens, mithat.guner, erkin.bozoglu, netdev,
    	linux-kernel, linux-arm-kernel, linux-mediatek
    
    On 18.03.2024 10:46, Arınç ÜNAL via B4 Relay wrote:
    > Hi.
    > 
    > This patch series fixes EEE support for MT7531 and the switch on the MT7988
    > SoC. EEE did not work on MT7531 on most boards before this, it is unclear
    > what's the status on MT7988 SoC switch as I don't have the hardware.
    > 
    > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
    
    I see the state of this patch series is deferred on patchwork. I see that I
    forgot to delegate this to the net tree. As I don't see any objections in
    this series, I'll send v2 with it tomorrow.
    
    Arınç
    
    ^ permalink raw reply	[flat|nested] 9+ messages in thread
  • [parent not found: <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-3-3f17226344e8@arinc9.com>]
  • * [PATCH 3/3] net: phy: mediatek-ge: do not disable EEE advertisement
    @ 2024-03-18  7:46 Arınç ÜNAL via B4 Relay
      0 siblings, 0 replies; 9+ messages in thread
    From: Arınç ÜNAL via B4 Relay @ 2024-03-18  7:46 UTC (permalink / raw)
      To: Daniel Golle, DENG Qingfang, Sean Wang, Andrew Lunn,
    	Florian Fainelli, Vladimir Oltean, David S. Miller, Eric Dumazet,
    	Jakub Kicinski, Paolo Abeni, Matthias Brugger,
    	AngeloGioacchino Del Regno, René van Dorst, Russell King,
    	SkyLake Huang, Heiner Kallweit
      Cc: Bartel Eerdekens, mithat.guner, erkin.bozoglu, netdev,
    	linux-kernel, linux-arm-kernel, linux-mediatek,
    	Arınç ÜNAL
    
    From: Arınç ÜNAL <arinc.unal@arinc9.com>
    
    There's no need to disable Energy-Efficient Ethernet (EEE) advertisement on
    the MT7530 and MT7531 switch PHYs. EEE works fine on MT7530 and MT7531
    switch PHYs. Remove the code where EEE advertisement is disabled.
    
    This is a bugfix because there's a possible race condition where the
    mediatek-ge driver would kick in after the MT7530 DSA subdriver which would
    have EEE disabled until manually enabled.
    
    Fixes: e40d2cca0189 ("net: phy: add MediaTek Gigabit Ethernet PHY driver")
    Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
    ---
     drivers/net/phy/mediatek-ge.c | 3 ---
     1 file changed, 3 deletions(-)
    
    diff --git a/drivers/net/phy/mediatek-ge.c b/drivers/net/phy/mediatek-ge.c
    index a493ae01b267..54ea64a37ab3 100644
    --- a/drivers/net/phy/mediatek-ge.c
    +++ b/drivers/net/phy/mediatek-ge.c
    @@ -23,9 +23,6 @@ static int mtk_gephy_write_page(struct phy_device *phydev, int page)
     
     static void mtk_gephy_config_init(struct phy_device *phydev)
     {
    -	/* Disable EEE */
    -	phy_write_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0);
    -
     	/* Enable HW auto downshift */
     	phy_modify_paged(phydev, MTK_PHY_PAGE_EXTENDED, 0x14, 0, BIT(4));
     
    
    -- 
    2.40.1
    
    
    ^ permalink raw reply related	[flat|nested] 9+ messages in thread

    end of thread, other threads:[~2024-03-20 21:05 UTC | newest]
    
    Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-0-3f17226344e8@arinc9.com>
         [not found] ` <65f7f17d.050a0220.c6db1.02bdSMTPIN_ADDED_BROKEN@mx.google.com>
    2024-03-18 13:08   ` [PATCH 3/3] net: phy: mediatek-ge: do not disable EEE advertisement Florian Fainelli
         [not found] ` <65f7f17d.050a0220.7383e.5eeeSMTPIN_ADDED_BROKEN@mx.google.com>
    2024-03-18 13:11   ` [PATCH 1/3] net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards Florian Fainelli
    2024-03-20  8:10 ` [PATCH 0/3] Fix EEE support for MT7531 and MT7988 SoC switch Arınç ÜNAL
    2024-03-20 11:08   ` Daniel Golle
    2024-03-20 15:03     ` Arınç ÜNAL
         [not found] ` <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v1-3-3f17226344e8@arinc9.com>
    2024-03-20 20:40   ` [PATCH 3/3] net: phy: mediatek-ge: do not disable EEE advertisement Arınç ÜNAL
    2024-03-20 20:53     ` Russell King (Oracle)
    2024-03-20 21:04       ` Arınç ÜNAL
    2024-03-18  7:46 Arınç ÜNAL via B4 Relay
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).