<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/apm, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-03-22T08:23:20Z</updated>
<entry>
<title>drivers: net: xgene: Fix hardware checksum setting</title>
<updated>2018-03-22T08:23:20Z</updated>
<author>
<name>Quan Nguyen</name>
</author>
<published>2017-03-15T20:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f51536fff7b7c2a054b9dee487fec4eb55fe2d2e'/>
<id>urn:sha1:f51536fff7b7c2a054b9dee487fec4eb55fe2d2e</id>
<content type='text'>
[ Upstream commit e026e700d940a1ea3d3bc84d92ac668b1f015462 ]

This patch fixes the hardware checksum settings by properly program
the classifier. Otherwise, packet may be received with checksum error
on X-Gene1 SoC.

Signed-off-by: Quan Nguyen &lt;qnguyen@apm.com&gt;
Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers: net: xgene: fix Tx flow control</title>
<updated>2015-12-17T20:45:53Z</updated>
<author>
<name>Iyappan Subramanian</name>
</author>
<published>2015-12-17T06:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67894eec3e27a5b61281cb68f63b933e8c111348'/>
<id>urn:sha1:67894eec3e27a5b61281cb68f63b933e8c111348</id>
<content type='text'>
Currently the Tx flow control is based on reading the hardware state,
which is not accurate since it may not reflect the descriptors that
are not yet reached the memory.

To accurately control the Tx flow, changing it to be software based.

Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: xgene: fix possible use after free</title>
<updated>2015-11-30T03:51:45Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2015-11-25T17:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ffad80a9c65d7c2ab5ad6cb8b4b0559b9ed8b8c'/>
<id>urn:sha1:9ffad80a9c65d7c2ab5ad6cb8b4b0559b9ed8b8c</id>
<content type='text'>
Once TX has been enabled on a NIC, it is illegal to access skb,
as this skb might have been freed by another cpu, from TX completion
handler.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Reported-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Tested-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Acked-by: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: xgene: fix: ifconfig up/down crash</title>
<updated>2015-11-24T21:25:00Z</updated>
<author>
<name>Iyappan Subramanian</name>
</author>
<published>2015-11-23T20:04:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aeb20b6b3f4e1f88ce6a2802dabc667b607412ef'/>
<id>urn:sha1:aeb20b6b3f4e1f88ce6a2802dabc667b607412ef</id>
<content type='text'>
Fixing kernel crash when doing ifconfig down and up in a loop,

[ 124.028237] Call trace:
[ 124.030670] [&lt;ffffffc000367ce0&gt;] memcpy+0x20/0x180
[ 124.035436] [&lt;ffffffc00053c250&gt;] skb_clone+0x3c/0xa8
[ 124.040374] [&lt;ffffffc00053ffa4&gt;] __skb_tstamp_tx+0xc0/0x118
[ 124.045918] [&lt;ffffffc00054000c&gt;] skb_tstamp_tx+0x10/0x1c
[ 124.051203] [&lt;ffffffc00049bc84&gt;] xgene_enet_start_xmit+0x2e4/0x33c
[ 124.057352] [&lt;ffffffc00054fc20&gt;] dev_hard_start_xmit+0x2e8/0x400
[ 124.063327] [&lt;ffffffc00056cb14&gt;] sch_direct_xmit+0x90/0x1d4
[ 124.068870] [&lt;ffffffc000550100&gt;] __dev_queue_xmit+0x28c/0x498
[ 124.074585] [&lt;ffffffc00055031c&gt;] dev_queue_xmit_sk+0x10/0x1c
[ 124.080216] [&lt;ffffffc0005c3f14&gt;] ip_finish_output2+0x3d0/0x438
[ 124.086017] [&lt;ffffffc0005c5794&gt;] ip_finish_output+0x198/0x1ac
[ 124.091732] [&lt;ffffffc0005c61d4&gt;] ip_output+0xec/0x164
[ 124.096755] [&lt;ffffffc0005c5910&gt;] ip_local_out_sk+0x38/0x48
[ 124.102211] [&lt;ffffffc0005c5d84&gt;] ip_queue_xmit+0x288/0x330
[ 124.107668] [&lt;ffffffc0005da8bc&gt;] tcp_transmit_skb+0x908/0x964
[ 124.113383] [&lt;ffffffc0005dc0d4&gt;] tcp_send_ack+0x128/0x138
[ 124.118753] [&lt;ffffffc0005d1580&gt;] __tcp_ack_snd_check+0x5c/0x94
[ 124.124555] [&lt;ffffffc0005d7a0c&gt;] tcp_rcv_established+0x554/0x68c
[ 124.130530] [&lt;ffffffc0005df0d4&gt;] tcp_v4_do_rcv+0xa4/0x37c
[ 124.135900] [&lt;ffffffc000539430&gt;] release_sock+0xb4/0x150
[ 124.141184] [&lt;ffffffc0005cdf88&gt;] tcp_recvmsg+0x448/0x9e0
[ 124.146468] [&lt;ffffffc0005f2f3c&gt;] inet_recvmsg+0xa0/0xc0
[ 124.151666] [&lt;ffffffc000533660&gt;] sock_recvmsg+0x10/0x1c
[ 124.156863] [&lt;ffffffc0005370d4&gt;] SyS_recvfrom+0xa4/0xf8
[ 124.162061] Code: f2400c84 540001c0 cb040042 36000064 (38401423)
[ 124.168133] ---[ end trace 7ab2550372e8a65b ]---

The fix was to reorder napi_enable, napi_disable, request_irq and
free_irq calls, move register_netdev after dma_coerce_mask_and_coherent.

Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Tested-by: Khuong Dinh &lt;kdinh@apm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: xgene: fix RGMII 10/100Mb mode</title>
<updated>2015-11-09T02:00:20Z</updated>
<author>
<name>Iyappan Subramanian</name>
</author>
<published>2015-11-07T19:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=761d4be5cf666973db317aab944b45bb07fe0a4f'/>
<id>urn:sha1:761d4be5cf666973db317aab944b45bb07fe0a4f</id>
<content type='text'>
This patch fixes the RGMII 10/100M mode by reprogramming the clock.

Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.com&gt;
Tested-by: Fushen Chen &lt;fchen@apm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: xgene: Add support RGMII TX/RX delay configuration</title>
<updated>2015-10-30T03:21:51Z</updated>
<author>
<name>Iyappan Subramanian</name>
</author>
<published>2015-10-26T22:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16615a4c6f4d54d7655dff19e7061c76043f907d'/>
<id>urn:sha1:16615a4c6f4d54d7655dff19e7061c76043f907d</id>
<content type='text'>
Add RGMII TX/RX delay configuration support. RGMII standard requires 2ns
delay to help the RGMII bridge receiver to sample data correctly. If the
default value does not provide proper centering of the data sample, the
TX/RX delay parameters can be used to adjust accordingly.

Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.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/davem/net</title>
<updated>2015-09-26T23:08:27Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2015-09-26T23:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4963ed48f2c20196d51a447ee87dc2815584fee4'/>
<id>urn:sha1:4963ed48f2c20196d51a447ee87dc2815584fee4</id>
<content type='text'>
Conflicts:
	net/ipv4/arp.c

The net/ipv4/arp.c conflict was one commit adding a new
local variable while another commit was deleting one.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: fix phy refcounting in a bunch of drivers</title>
<updated>2015-09-25T06:04:53Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2015-09-24T19:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04d53b20fe44afe635b3d4438b437f7a12927e9a'/>
<id>urn:sha1:04d53b20fe44afe635b3d4438b437f7a12927e9a</id>
<content type='text'>
of_phy_find_device() increments the phy struct device refcount, which
we need to properly balance.  Add code to network drivers using this
function to ensure that the struct device refcount is correctly
balanced.

For xgene, looking back in the history, we should be able to use
of_phy_connect() with a zero flags argument for the DT case as this is
how the driver used to operate prior to de7b5b3d790a ("net: eth: xgene:
change APM X-Gene SoC platform ethernet to support ACPI").

This leaves the Cavium Thunder BGX unfixed; fixing this driver is a
complicated task, one which the maintainers need to be involved with.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>driver: net: xgene: Add support for 2nd 10GbE port</title>
<updated>2015-09-15T19:47:46Z</updated>
<author>
<name>Iyappan Subramanian</name>
</author>
<published>2015-09-08T22:50:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=149e9ab495a4ba50fc6b52cb9b2710566adcf56e'/>
<id>urn:sha1:149e9ab495a4ba50fc6b52cb9b2710566adcf56e</id>
<content type='text'>
Adding support for the second 10GbE port on APM X-Gene SoC

Signed-off-by: Iyappan Subramanian &lt;isubramanian@apm.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/davem/net</title>
<updated>2015-08-28T04:45:31Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2015-08-28T04:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d36938bb82a7775c21ce0a7429f08ba13d025b6'/>
<id>urn:sha1:0d36938bb82a7775c21ce0a7429f08ba13d025b6</id>
<content type='text'>
</content>
</entry>
</feed>
