<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/stmicro, branch linux-3.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-10-22T01:20:06Z</updated>
<entry>
<title>stmmac: troubleshoot unexpected bits in des0 &amp; des1</title>
<updated>2015-10-22T01:20:06Z</updated>
<author>
<name>Alexey Brodkin</name>
</author>
<published>2015-06-24T08:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=176a2eacd65fbc3b3d911605a83d3262770fc213'/>
<id>urn:sha1:176a2eacd65fbc3b3d911605a83d3262770fc213</id>
<content type='text'>
commit f1590670ce069eefeb93916391a67643e6ad1630 upstream.

Current implementation of descriptor init procedure only takes
care about setting/clearing ownership flag in "des0"/"des1"
fields while it is perfectly possible to get unexpected bits
set because of the following factors:

 [1] On driver probe underlying memory allocated with
     dma_alloc_coherent() might not be zeroed and so
     it will be filled with garbage.

 [2] During driver operation some bits could be set by SD/MMC
     controller (for example error flags etc).

And unexpected and/or randomly set flags in "des0"/"des1"
fields may lead to unpredictable behavior of GMAC DMA block.

This change addresses both items above with:

 [1] Use of dma_zalloc_coherent() instead of simple
     dma_alloc_coherent() to make sure allocated memory is
     zeroed. That shouldn't affect performance because
     this allocation only happens once on driver probe.

 [2] Do explicit zeroing of both "des0" and "des1" fields
     of all buffer descriptors during initialization of
     DMA transfer.

And while at it fixed identation of dma_free_coherent()
counterpart as well.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Cc: arc-linux-dev@synopsys.com
Cc: linux-kernel@vger.kernel.org
Cc: David Miller &lt;davem@davemloft.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
[lizf: Backported to 3.4:
 - adjust contest
 - adjust allocations in init_dma_desc_rings()]
Signed-off-by: Zefan Li &lt;lizefan@huawei.com&gt;
</content>
</entry>
<entry>
<title>stmmac: Fix for nfs hang on multiple reboot</title>
<updated>2012-07-19T15:58:57Z</updated>
<author>
<name>Deepak Sikri</name>
</author>
<published>2012-07-08T21:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b98522a7cf0ff60bcf49330d9467089515cf9dad'/>
<id>urn:sha1:b98522a7cf0ff60bcf49330d9467089515cf9dad</id>
<content type='text'>
commit 8e83989106562326bfd6aaf92174fe138efd026b upstream.

It was observed that during multiple reboots nfs hangs. The status of
receive descriptors shows that all the descriptors were in control of
CPU, and none were assigned to DMA.
Also the DMA status register confirmed that the Rx buffer is
unavailable.

This patch adds the fix for the same by adding the memory barriers to
ascertain that the all instructions before enabling the Rx or Tx DMA are
completed which involves the proper setting of the ownership bit in DMA
descriptors.

Signed-off-by: Deepak Sikri &lt;deepak.sikri@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>stmmac: re-add IFF_UNICAST_FLT for dwmac1000</title>
<updated>2012-04-04T22:38:31Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2012-04-03T22:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03f2eecdfc8aadae395ac593c099006390c8085c'/>
<id>urn:sha1:03f2eecdfc8aadae395ac593c099006390c8085c</id>
<content type='text'>
In commit (bfab27a stmmac: add the experimental PCI support) the
IFF_UNICAST_FLT flag has been removed from the stmmac_mac_device_setup()
function. This patch re-adds the flag.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Acked-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: Add device-tree support</title>
<updated>2012-03-17T05:48:53Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2012-03-13T04:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a228452d11eaf1f1577261540ec0903a2af7f61'/>
<id>urn:sha1:6a228452d11eaf1f1577261540ec0903a2af7f61</id>
<content type='text'>
This patch adds support to configure the STMMAC ethernet driver via
device-tree instead of platform_data.

Currently, only the properties needed on SPEAr600 are provided. All
other properties should be added once needed on other platforms.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.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>2012-02-19T21:03:15Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-02-19T21:03:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32efe08d77f5902ce7315fc9003c010ffffb8268'/>
<id>urn:sha1:32efe08d77f5902ce7315fc9003c010ffffb8268</id>
<content type='text'>
Conflicts:
	drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c

Small minor conflict in bnx2x, wherein one commit changed how
statistics were stored in software, and another commit
fixed endianness bugs wrt. reading the values provided by
the chip in memory.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: replace random_ether_addr() with eth_hw_addr_random()</title>
<updated>2012-02-15T20:34:16Z</updated>
<author>
<name>Danny Kukawka</name>
</author>
<published>2012-02-15T06:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2cedb63df14342ad40a8b5b324fc5d94a60b665'/>
<id>urn:sha1:f2cedb63df14342ad40a8b5b324fc5d94a60b665</id>
<content type='text'>
Replace usage of random_ether_addr() with eth_hw_addr_random()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Change the trivial cases.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka &lt;danny.kukawka@bisect.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: update the driver version to Feb 2012 (v2)</title>
<updated>2012-02-15T19:52:10Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2012-02-15T00:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78a5249fc9dc0f8c70221751dc79b6d918e5ee9a'/>
<id>urn:sha1:78a5249fc9dc0f8c70221751dc79b6d918e5ee9a</id>
<content type='text'>
Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: move hw init in the probe (v2)</title>
<updated>2012-02-15T19:52:10Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2012-02-15T00:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf3f047b9af49d4ee8abfa31b0ef0e99cbcaf17d'/>
<id>urn:sha1:cf3f047b9af49d4ee8abfa31b0ef0e99cbcaf17d</id>
<content type='text'>
This patch moves the MAC HW initialization and
the HW feature verification from the open to the probe
function as D. Miller suggested.
So the patch actually reorganizes and tidies-up some parts of
the driver and indeed fixes some problem when tune its HW features.
These can be overwritten by looking at the HW cap register at
run-time and that generated problems.

Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Reviewed-by: Francesco Virlinzi &lt;francesco.virlinzi@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: request_irq when use an ext wake irq line (v2)</title>
<updated>2012-02-15T19:52:10Z</updated>
<author>
<name>Francesco Virlinzi</name>
</author>
<published>2012-02-15T00:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a13f8f5b63652c035147aab5fcba7ee9101f1fb'/>
<id>urn:sha1:7a13f8f5b63652c035147aab5fcba7ee9101f1fb</id>
<content type='text'>
In case of we use an external Wake-Up IRQ line
(priv-&gt;wol_irq != dev-&gt;irq) we need to invoke the
request_irq.

Signed-off-by: Francesco Virlinzi &lt;francesco.virlinzi@st.com&gt;
Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: do not discard frame on dribbling bit assert</title>
<updated>2012-02-15T19:52:10Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2012-02-15T00:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cc5a735185a963ed9324a65e1f2db02bf52c0d4'/>
<id>urn:sha1:1cc5a735185a963ed9324a65e1f2db02bf52c0d4</id>
<content type='text'>
If this bit is set and the CRC error is reset, then the packet is valid.
Only report this as stat info.

Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
