<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/phy/phy-c45.c, branch linux-rolling-lts</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-06-13T01:23:08Z</updated>
<entry>
<title>net: phy: move definition of genphy_c45_driver to phy_device.c</title>
<updated>2025-06-13T01:23:08Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-06-10T21:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00ee2537255e25a14360288dbd94ff62c0db497d'/>
<id>urn:sha1:00ee2537255e25a14360288dbd94ff62c0db497d</id>
<content type='text'>
genphy_c45_read_status() is exported, so we can move definition of
genphy_c45_driver to phy_device.c and make it static. This helps
to clean up phy.h a little.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/ead3ab17-22d0-4cd3-901c-3d493ab851e6@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: fix genphy_c45_eee_is_active() for disabled EEE</title>
<updated>2025-03-21T20:38:36Z</updated>
<author>
<name>Russell King (Oracle)</name>
</author>
<published>2025-03-16T11:51:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b9235a880f13ae3443465192603b298a603b2c5'/>
<id>urn:sha1:4b9235a880f13ae3443465192603b298a603b2c5</id>
<content type='text'>
Commit 809265fe96fe ("net: phy: c45: remove local advertisement
parameter from genphy_c45_eee_is_active") stopped reading the local
advertisement from the PHY earlier in this development cycle, which
broke "ethtool --set-eee ethX eee off".

When ethtool is used to set EEE off, genphy_c45_eee_is_active()
indicates that EEE was active if the link partner reported an
advertisement, which causes phylib to set phydev-&gt;enable_tx_lpi on
link up, despite our local advertisement in hardware being empty.
However, phydev-&gt;advertising_eee is preserved while EEE is turned off,
which leads to genphy_c45_eee_is_active() incorrectly reporting that
EEE is active.

Fix it by checking phydev-&gt;eee_cfg.eee_enabled, and if clear,
immediately indicate that EEE is not active.

Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/E1ttmWN-0077Mb-Q6@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>net: phy: Allow loopback speed selection for PHY drivers</title>
<updated>2025-03-20T07:45:08Z</updated>
<author>
<name>Gerhard Engleder</name>
</author>
<published>2025-03-12T20:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45456e38c44eda2f1285601398fd289b3cec7002'/>
<id>urn:sha1:45456e38c44eda2f1285601398fd289b3cec7002</id>
<content type='text'>
PHY drivers support loopback mode, but it is not possible to select the
speed of the loopback mode. The speed is chosen by the set_loopback()
operation of the PHY driver. Same is valid for genphy_loopback().

There are PHYs that support loopback with different speeds. Extend
set_loopback() to make loopback speed selection possible.

Signed-off-by: Gerhard Engleder &lt;gerhard@engleder-embedded.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250312203010.47429-2-gerhard@engleder-embedded.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>net: phy: add phylib-internal.h</title>
<updated>2025-02-25T03:14:31Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-22T08:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3e51d4711793be001220784bd7d8ce81517003e'/>
<id>urn:sha1:a3e51d4711793be001220784bd7d8ce81517003e</id>
<content type='text'>
This patch is a starting point for moving phylib-internal
declarations to a private header file.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Link: https://patch.msgid.link/082eacd2-a888-4716-8797-b3491ce02820@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: c45: remove local advertisement parameter from genphy_c45_eee_is_active</title>
<updated>2025-02-19T02:07:09Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-16T21:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=809265fe96fe3eb7a85a9260356767587c482cb7'/>
<id>urn:sha1:809265fe96fe3eb7a85a9260356767587c482cb7</id>
<content type='text'>
After the last user has gone, we can remove the local advertisement
parameter from genphy_c45_eee_is_active.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Link: https://patch.msgid.link/bd121330-9e28-4bc8-8422-794bd54d561f@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: c45: use cached EEE advertisement in genphy_c45_ethtool_get_eee</title>
<updated>2025-02-19T02:07:09Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-16T21:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=199d0ce385adbbf5b8532752a26e12413100c4ea'/>
<id>urn:sha1:199d0ce385adbbf5b8532752a26e12413100c4ea</id>
<content type='text'>
Now that disabled EEE modes are considered when populating
advertising_eee, we can use this bitmap here instead of reading
the PHY register.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Link: https://patch.msgid.link/e57ed3d4-d0bc-4f91-83f6-8f48dfb6d7d7@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: c45: Don't silently remove disabled EEE modes any longer when writing advertisement register</title>
<updated>2025-02-19T02:07:09Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-16T21:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa951feb542662342223c8db582897969b64fb59'/>
<id>urn:sha1:aa951feb542662342223c8db582897969b64fb59</id>
<content type='text'>
advertising_eee is adjusted now whenever an EEE mode gets disabled.
Therefore we can remove the silent removal of disabled EEE modes here.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Link: https://patch.msgid.link/e95b9dad-24a7-4e3e-9af9-6f0770cf1520@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: c45: improve handling of disabled EEE modes in generic ethtool functions</title>
<updated>2025-02-15T03:46:12Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-12T20:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0025fa45253c266eb3424d0f21e240c8c420894a'/>
<id>urn:sha1:0025fa45253c266eb3424d0f21e240c8c420894a</id>
<content type='text'>
Currently disabled EEE modes are shown as supported in ethtool.
Change this by filtering them out when populating data-&gt;supported
in genphy_c45_ethtool_get_eee.
Disabled EEE modes are silently filtered out by genphy_c45_write_eee_adv.
This is planned to be removed, therefore ensure in
genphy_c45_ethtool_set_eee that disabled EEE modes are removed from the
user space provided EEE advertisement. For now keep the current behavior
to do this silently.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Link: https://patch.msgid.link/5187c86d-9a5a-482c-974f-cc103ce9738c@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: rename eee_broken_modes to eee_disabled_modes</title>
<updated>2025-02-11T23:19:10Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-02-10T20:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8eb0d381be31bfa01f768ad38a15af7ade805e69'/>
<id>urn:sha1:8eb0d381be31bfa01f768ad38a15af7ade805e69</id>
<content type='text'>
This bitmap is used also if the MAC doesn't support an EEE mode.
So the mode isn't necessarily broken in the PHY. Therefore rename
the bitmap.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/6cd11422-dd67-4c87-a642-308de694af92@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: remove genphy_c45_eee_is_active()'s is_enabled arg</title>
<updated>2024-12-07T01:47:31Z</updated>
<author>
<name>Russell King (Oracle)</name>
</author>
<published>2024-12-05T10:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f1c716090a7ed20fea802b63b37758169d59b81'/>
<id>urn:sha1:8f1c716090a7ed20fea802b63b37758169d59b81</id>
<content type='text'>
All callers to genphy_c45_eee_is_active() now pass NULL as the
is_enabled argument, which means we never use the value computed
in this function. Remove the argument and clean up this function.

Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Reviewed-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Link: https://patch.msgid.link/E1tJ9JC-006LIt-Ne@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
