<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/realtek, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-07-19T08:00:58Z</updated>
<entry>
<title>r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM</title>
<updated>2021-07-19T08:00:58Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-06-10T20:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=126b84ccb5c9e8028e51a08be071f7b376f5dad8'/>
<id>urn:sha1:126b84ccb5c9e8028e51a08be071f7b376f5dad8</id>
<content type='text'>
[ Upstream commit 1ee8856de82faec9bc8bd0f2308a7f27e30ba207 ]

It has been reported that on RTL8106e the link-up interrupt may be
significantly delayed if the user enables ASPM L1. Per default ASPM
is disabled. The change leaves L1 enabled on the PCIe link (thus still
allowing to reach higher package power saving states), but the
NIC won't actively trigger it.

Reported-by: Koba Ko &lt;koba.ko@canonical.com&gt;
Tested-by: Koba Ko &lt;koba.ko@canonical.com&gt;
Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>r8169: Avoid memcpy() over-reading of ETH_SS_STATS</title>
<updated>2021-06-30T12:47:00Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2021-06-16T19:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4af8575846ca5581280ff05bbe4ec6f88bd6dc04'/>
<id>urn:sha1:4af8575846ca5581280ff05bbe4ec6f88bd6dc04</id>
<content type='text'>
[ Upstream commit da5ac772cfe2a03058b0accfac03fad60c46c24d ]

In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy(), memmove(), and memset(), avoid
intentionally reading across neighboring array fields.

The memcpy() is copying the entire structure, not just the first array.
Adjust the source argument so the compiler can do appropriate bounds
checking.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>r8169: don't advertise pause in jumbo mode</title>
<updated>2021-04-14T20:05:40Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-04-14T08:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=453a77894efa4d9b6ef9644d74b9419c47ac427c'/>
<id>urn:sha1:453a77894efa4d9b6ef9644d74b9419c47ac427c</id>
<content type='text'>
It has been reported [0] that using pause frames in jumbo mode impacts
performance. There's no available chip documentation, but vendor
drivers r8168 and r8125 don't advertise pause in jumbo mode. So let's
do the same, according to Roman it fixes the issue.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=212617

Fixes: 9cf9b84cc701 ("r8169: make use of phy_set_asym_pause")
Reported-by: Roman Mamedov &lt;rm+bko@romanrm.net&gt;
Tested-by: Roman Mamedov &lt;rm+bko@romanrm.net&gt;
Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>r8169: fix DMA being used after buffer free if WoL is enabled</title>
<updated>2021-03-21T02:01:41Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-03-20T20:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f658b90977d2e79822a558e48116e059a7e75dec'/>
<id>urn:sha1:f658b90977d2e79822a558e48116e059a7e75dec</id>
<content type='text'>
IOMMU errors have been reported if WoL is enabled and interface is
brought down. It turned out that the network chip triggers DMA
transfers after the DMA buffers have been freed. For WoL to work we
need to leave rx enabled, therefore simply stop the chip from being
a DMA busmaster.

Fixes: 567ca57faa62 ("r8169: add rtl8169_up")
Tested-by: Paul Blazejowski &lt;paulb@blazebox.homeip.net&gt;
Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>r8169: fix r8168fp_adjust_ocp_cmd function</title>
<updated>2021-03-05T21:00:38Z</updated>
<author>
<name>Hayes Wang</name>
</author>
<published>2021-03-05T09:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abbf9a0ef8848dca58c5b97750c1c59bbee45637'/>
<id>urn:sha1:abbf9a0ef8848dca58c5b97750c1c59bbee45637</id>
<content type='text'>
The (0xBAF70000 &amp; 0x00FFF000) &lt;&lt; 6 should be (0xf70 &lt;&lt; 18).

Fixes: 561535b0f239 ("r8169: fix OCP access on RTL8117")
Signed-off-by: Hayes Wang &lt;hayeswang@realtek.com&gt;
Acked-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>r8169: fix jumbo packet handling on RTL8168e</title>
<updated>2021-02-25T17:55:16Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-02-25T15:05:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6cf739131a15e4177e58a1b4f2bede9d5da78552'/>
<id>urn:sha1:6cf739131a15e4177e58a1b4f2bede9d5da78552</id>
<content type='text'>
Josef reported [0] that using jumbo packets fails on RTL8168e.
Aligning the values for register MaxTxPacketSize with the
vendor driver fixes the problem.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=211827

Fixes: d58d46b5d851 ("r8169: jumbo fixes.")
Reported-by: Josef Oškera &lt;joskera@redhat.com&gt;
Tested-by: Josef Oškera &lt;joskera@redhat.com&gt;
Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Link: https://lore.kernel.org/r/b15ddef7-0d50-4320-18f4-6a3f86fbfd3e@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>r8169: use macro pm_ptr</title>
<updated>2021-02-17T21:33:27Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-02-17T21:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80a2a40bd29646d6d411be9b4f06e10282844a74'/>
<id>urn:sha1:80a2a40bd29646d6d411be9b4f06e10282844a74</id>
<content type='text'>
Use macro pm_ptr(), this helps to avoid some ifdeffery.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: re-solve some conflicts after net -&gt; net-next merge</title>
<updated>2021-02-17T07:12:23Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2021-02-17T06:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b646acd5eb48ec49ef90404336d7e8ee502ecd05'/>
<id>urn:sha1:b646acd5eb48ec49ef90404336d7e8ee502ecd05</id>
<content type='text'>
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2021-02-17T01:51:13Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2021-02-17T01:30:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d489ded1a3690d7eca8633575cba3f7dac8484c7'/>
<id>urn:sha1:d489ded1a3690d7eca8633575cba3f7dac8484c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT</title>
<updated>2021-02-15T23:20:49Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2021-02-14T14:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93e8990c24bee30696c02e8f6aed043333491a25'/>
<id>urn:sha1:93e8990c24bee30696c02e8f6aed043333491a25</id>
<content type='text'>
Some internal PHY's have their events like link change reported by the
MAC interrupt. We have PHY_IGNORE_INTERRUPT to deal with this scenario.
I'm not too happy with this name. We don't ignore interrupts, typically
there is no interrupt exposed at a PHY level. So let's rename it to
PHY_MAC_INTERRUPT. This is in line with phy_mac_interrupt(), which is
called from the MAC interrupt handler to handle PHY events.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
