<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/stmicro, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-10-28T17:56:16Z</updated>
<entry>
<title>net: remove skb recycling</title>
<updated>2012-10-28T17:56:16Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2012-10-05T06:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=541321132ac28c92394b1d57361448d2c6dd5faf'/>
<id>urn:sha1:541321132ac28c92394b1d57361448d2c6dd5faf</id>
<content type='text'>
[ Upstream commits acb600def2110b1310466c0e485c0d26299898ae
  and 66eef59f22275002f621ff9d951886b513d011b3. ]

Over time, skb recycling infrastructure got litle interest and
many bugs. Generic rx path skb allocation is now using page
fragments for efficient GRO / TCP coalescing, and recyling
a tx skb for rx path is not worth the pain.

Last identified bug is that fat skbs can be recycled
and it can endup using high order pages after few iterations.

With help from Maxime Bizon, who pointed out that commit
87151b8689d (net: allow pskb_expand_head() to get maximum tailroom)
introduced this regression for recycled skbs.

Instead of fixing this bug, lets remove skb recycling.

Drivers wanting really hot skbs should use build_skb() anyway,
to allocate/populate sk_buff right before netif_receive_skb()

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Cc: Maxime Bizon &lt;mbizon@freebox.fr&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>net/stmmac: Use clk_prepare_enable and clk_disable_unprepare</title>
<updated>2012-09-21T18:59:52Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2012-09-21T01:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a630844d898ae8a0b4a3db84af061150682e0d3c'/>
<id>urn:sha1:a630844d898ae8a0b4a3db84af061150682e0d3c</id>
<content type='text'>
This patch fixes an issue introduced by commit ID 6a81c26f
[net/stmmac: remove conditional compilation of clk code], which
switched from the internal stmmac_clk_{en}{dis}able calls to
clk_{en}{dis}able. By this, calling clk_prepare and clk_unprepare
was removed.

clk_{un}prepare is mandatory for platforms using common clock framework.
Since these drivers are used by SPEAr platform, which supports common
clock framework, add clk_{un}prepare() support for them. Otherwise
the clocks are not correctly en-/disabled and ethernet support doesn't
work.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Reviewed-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: fix return value check in stmmac_open_ext_timer()</title>
<updated>2012-09-21T17:47:24Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2012-09-20T21:06:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6861509f9fee9c5e568c5f6852bb96f2475b4179'/>
<id>urn:sha1:6861509f9fee9c5e568c5f6852bb96f2475b4179</id>
<content type='text'>
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: add header inclusion protection</title>
<updated>2012-08-24T17:25:05Z</updated>
<author>
<name>Rayagond Kokatanur</name>
</author>
<published>2012-08-22T21:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd4242dfe85470b9caecbd049310518f9b9e3f14'/>
<id>urn:sha1:bd4242dfe85470b9caecbd049310518f9b9e3f14</id>
<content type='text'>
This patch adds "#ifndef __&lt;header&gt;_H" for protecting header from double
inclusion.

Signed-off-by: Rayagond Kokatanur &lt;rayagond@vayavyalabs.com&gt;
Hacked-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: fix a typo in the macro used to mask the mmc irq</title>
<updated>2012-08-23T02:14:31Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2012-08-22T00:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6b9650108003e994770209fb8efedf6e214dcf7'/>
<id>urn:sha1:a6b9650108003e994770209fb8efedf6e214dcf7</id>
<content type='text'>
This patch fixes the name of the macro used to mask the
mmc interrupt: erroneously it was used: MMC_DEFAUL_MASK.

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: fix GMAC syn ID</title>
<updated>2012-08-23T02:14:31Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2012-08-22T00:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f42f7bc9638a0bc69dcb8b8b6da542b72113fc2'/>
<id>urn:sha1:5f42f7bc9638a0bc69dcb8b8b6da542b72113fc2</id>
<content type='text'>
Erroneously the DWMAC_CORE_3_40 was set to 34 instead of 0x34.
This can generate problems when run on old chips because
the driver assumes that there are the extra 16 regs available
for perfect filtering.

Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Cc: Gianni Antoniazzi &lt;gianni.antoniazzi-ext@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/stmmac: fix issue of clk_get for Loongson1B.</title>
<updated>2012-08-20T09:52:20Z</updated>
<author>
<name>Kelvin Cheung</name>
</author>
<published>2012-08-18T00:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae4d8cf299dbea4ce387a01da6f723c4050b31a7'/>
<id>urn:sha1:ae4d8cf299dbea4ce387a01da6f723c4050b31a7</id>
<content type='text'>
When getting clock, give a chance to the CPUs without DT support,
which use Common Clock Framework, such as Loongson1B.

Signed-off-by: Kelvin Cheung &lt;keguang.zhang@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/stmmac: mark probe function as __devinit</title>
<updated>2012-08-08T23:08:43Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2012-08-08T04:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5addb91d14e63beb6224a62fb81b6e610cee3bc'/>
<id>urn:sha1:f5addb91d14e63beb6224a62fb81b6e610cee3bc</id>
<content type='text'>
Driver probe functions are generally __devinit so they will be
discarded after initialization for non-hotplug kernels.
This was found by a new warning after patch 6a228452d "stmmac: Add
device-tree support" adds a new __devinit function that is called
from stmmac_pltfr_probe.

Without this patch, building socfpga_defconfig results in:

WARNING: drivers/net/ethernet/stmicro/stmmac/stmmac.o(.text+0x5d4c): Section mismatch in reference from the function stmmac_pltfr_probe() to the function .devinit.text:stmmac_probe_config_dt()
The function stmmac_pltfr_probe() references
the function __devinit stmmac_probe_config_dt().
This is often because stmmac_pltfr_probe lacks a __devinit
annotation or the annotation of stmmac_probe_config_dt is wrong.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Cc: netdev@vger.kernel.org
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/stmmac: remove conditional compilation of clk code</title>
<updated>2012-07-31T00:25:12Z</updated>
<author>
<name>Viresh Kumar</name>
</author>
<published>2012-07-30T21:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a81c26f868b2fc5f88b9f78a6f82aeab1191e61'/>
<id>urn:sha1:6a81c26f868b2fc5f88b9f78a6f82aeab1191e61</id>
<content type='text'>
With addition of dummy clk_*() calls for non CONFIG_HAVE_CLK cases in
clk.h, there is no need to have clk code enclosed in #ifdef
CONFIG_HAVE_CLK, #endif macros.

This also fixes error paths of probe(), as a goto is required in this
patch.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@st.com&gt;
Cc: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Mike Turquette &lt;mturquette@linaro.org&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: viresh kumar &lt;viresh.linux@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>net: stmmac: Add ip version to dts bindings</title>
<updated>2012-07-19T17:48:00Z</updated>
<author>
<name>Dinh Nguyen</name>
</author>
<published>2012-07-18T13:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84c9f8c41df9f62a34eb680009b59cc817a76d6e'/>
<id>urn:sha1:84c9f8c41df9f62a34eb680009b59cc817a76d6e</id>
<content type='text'>
Because there are multiple variants to the stmmac/dwmac driver, the
dts bindings should be updated to include version of the IP used.

Signed-off-by: Dinh Nguyen &lt;dinguyen@altera.com&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
