<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/phy/smsc.c, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-04-03T09:08:43Z</updated>
<entry>
<title>net: phy: smsc: enable edpd tunable support</title>
<updated>2023-04-03T09:08:43Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c4c3b3e6d414c50f6858f027a2ca2206e1ce583'/>
<id>urn:sha1:3c4c3b3e6d414c50f6858f027a2ca2206e1ce583</id>
<content type='text'>
Enable EDPD PHY tunable support for all drivers using
lan87xx_read_status.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: add support for edpd tunable</title>
<updated>2023-04-03T09:08:43Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=657de1cf258dbe2489906c81bd91e4af536de255'/>
<id>urn:sha1:657de1cf258dbe2489906c81bd91e4af536de255</id>
<content type='text'>
This adds support for the EDPD PHY tunable.
Per default EDPD is disabled in interrupt mode, the tunable can be used
to override this, e.g. if the link partner doesn't use EDPD.
The interval to check for energy can be chosen between 1000ms and
2000ms. Note that this value consists of the 1000ms phylib interval
for state machine runs plus the time to wait for energy being detected.

v2:
- consider that phylib core holds phydev-&gt;lock when calling the
  phy tunable hooks

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: prepare for making edpd wait period configurable</title>
<updated>2023-04-03T09:08:42Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ce658693b089ee753260eae78a3ea572bc4b3fb'/>
<id>urn:sha1:1ce658693b089ee753260eae78a3ea572bc4b3fb</id>
<content type='text'>
Add a member edpd_max_wait_ms to the private data structure in preparation
of making the wait period configurable by supporting the edpd phy tunable.

v2:
- rename constant to EDPD_MAX_WAIT_DFLT_MS

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: add flag edpd_mode_set_by_user</title>
<updated>2023-04-03T09:08:42Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:13:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a620511080960a72a40c58c55945e41cc3052f6f'/>
<id>urn:sha1:a620511080960a72a40c58c55945e41cc3052f6f</id>
<content type='text'>
Add flag edpd_mode_set_by_user in preparation of adding edpd phy tunable
support. This flag will allow users to override the default behavior
of edpd being disabled if interrupt mode is used.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: clear edpd_enable if interrupt mode is used</title>
<updated>2023-04-03T09:08:42Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d56417ad1133fc41752bb9fe37da7ae3187395a4'/>
<id>urn:sha1:d56417ad1133fc41752bb9fe37da7ae3187395a4</id>
<content type='text'>
Clear edpd_enable if interupt mode is used, this avoids
having to check for PHY_POLL multiple times.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: add helper smsc_phy_config_edpd</title>
<updated>2023-04-03T09:08:42Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:12:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89946e31ff4f7f43b3cf4837eb5b9f141eb6f1d6'/>
<id>urn:sha1:89946e31ff4f7f43b3cf4837eb5b9f141eb6f1d6</id>
<content type='text'>
Add helper smsc_phy_config_edpd() and explicitly clear bit
MII_LAN83C185_EDPWRDOWN is edpd_enable isn't set.
Boot loader may have left whatever value.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: rename flag energy_enable</title>
<updated>2023-04-03T09:08:42Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-04-02T15:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc281d78b6863ba86baec220651fef815341d3a0'/>
<id>urn:sha1:fc281d78b6863ba86baec220651fef815341d3a0</id>
<content type='text'>
Rename the flag to edpd_enable, as we're not enabling energy but
edpd (energy detect power down) mode. In addition change the
type to a bit field member in preparation of adding further flags.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: export functions for use by meson-gxl PHY driver</title>
<updated>2023-03-20T10:24:09Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-03-18T20:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a69e332b4ef9f697a4558bab9c442a02b3659fcb'/>
<id>urn:sha1:a69e332b4ef9f697a4558bab9c442a02b3659fcb</id>
<content type='text'>
The Amlogic Meson internal PHY's have the same register layout as
certain SMSC PHY's (also for non-c22-standard registers). This seems
to be more than just coincidence. Apparently they also need the same
workaround for EDPD mode (energy detect power down). Therefore let's
export SMSC PHY driver functionality for use by the meson-gxl PHY
driver.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: Chris Healy &lt;healych@amazon.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2023-03-17T23:29:25Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2023-03-17T23:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1118aa4c70a6978afb0c4391ad29826c14b842b3'/>
<id>urn:sha1:1118aa4c70a6978afb0c4391ad29826c14b842b3</id>
<content type='text'>
net/wireless/nl80211.c
  b27f07c50a73 ("wifi: nl80211: fix puncturing bitmap policy")
  cbbaf2bb829b ("wifi: nl80211: add a command to enable/disable HW timestamping")
https://lore.kernel.org/all/20230314105421.3608efae@canb.auug.org.au

tools/testing/selftests/net/Makefile
  62199e3f1658 ("selftests: net: Add VXLAN MDB test")
  13715acf8ab5 ("selftest: Add test for bind() conflicts.")

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails</title>
<updated>2023-03-15T07:19:16Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2023-03-11T18:34:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c22c3bbf351e4ce905f082649cffa1ff893ea8c1'/>
<id>urn:sha1:c22c3bbf351e4ce905f082649cffa1ff893ea8c1</id>
<content type='text'>
If genphy_read_status fails then further access to the PHY may result
in unpredictable behavior. To prevent this bail out immediately if
genphy_read_status fails.

Fixes: 4223dbffed9f ("net: phy: smsc: Re-enable EDPD mode for LAN87xx")
Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Link: https://lore.kernel.org/r/026aa4f2-36f5-1c10-ab9f-cdb17dda6ac4@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
