<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/stmicro, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-11-14T18:10:21Z</updated>
<entry>
<title>stmmac: pci: set default of the filter bins</title>
<updated>2014-11-14T18:10:21Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-10-31T16:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fca296619d5a2d7be97296976105196ae0f31eaa'/>
<id>urn:sha1:fca296619d5a2d7be97296976105196ae0f31eaa</id>
<content type='text'>
[ Upstream commit 1e19e084eae727654052339757ab7f1eaff58bad ]

The commit 3b57de958e2a brought the support for a different amount of the
filter bins, but didn't update the PCI driver accordingly. This patch appends
the default values when the device is enumerated via PCI bus.

Fixes: 3b57de958e2a (net: stmmac: Support devicetree configs for mcast and ucast filter entries)
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Cc: stable@vger.kernel.org
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: fix stmmac_pci_probe failed when CONFIG_HAVE_CLK is selected</title>
<updated>2014-09-29T20:36:58Z</updated>
<author>
<name>Kweh, Hock Leong</name>
</author>
<published>2014-09-26T13:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5bb86c3848174aad59ea6cf5748e210fbb8f744'/>
<id>urn:sha1:c5bb86c3848174aad59ea6cf5748e210fbb8f744</id>
<content type='text'>
When the CONFIG_HAVE_CLK is selected for the system, the stmmac_pci_probe
will fail with dmesg:
[    2.167225] stmmaceth 0000:00:14.6: enabling device (0000 -&gt; 0002)
[    2.178267] stmmaceth 0000:00:14.6: enabling bus mastering
[    2.178436] stmmaceth 0000:00:14.6: irq 24 for MSI/MSI-X
[    2.178703] stmmaceth 0000:00:14.6: stmmac_dvr_probe: warning: cannot
get CSR clock
[    2.186503] stmmac_pci_probe: main driver probe failed
[    2.194003] stmmaceth 0000:00:14.6: disabling bus mastering
[    2.196473] stmmaceth: probe of 0000:00:14.6 failed with error -2

This patch fix the issue by breaking the dependency to devm_clk_get()
as the CSR clock can be obtained at priv-&gt;plat-&gt;clk_csr from pci driver.

Reported-by: Tobias Klausmann &lt;tobias.johannes.klausmann@mni.thm.de&gt;
Signed-off-by: Kweh, Hock Leong &lt;hock.leong.kweh@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: only remove RXCSUM feature if no rx coe is available</title>
<updated>2014-09-02T04:51:29Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-09-01T07:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc25f0cbe4409d6a573b1f3bf7020d5b04076ee9'/>
<id>urn:sha1:cc25f0cbe4409d6a573b1f3bf7020d5b04076ee9</id>
<content type='text'>
In case of the HW is not able to do the receive checksum offloading
the only feature to remove is NETIF_F_RXCSUM.

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 the rx csum feature</title>
<updated>2014-09-02T04:51:29Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-09-01T07:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2afb5bdffde3da175b9ced66f70a4b453103d71'/>
<id>urn:sha1:d2afb5bdffde3da175b9ced66f70a4b453103d71</id>
<content type='text'>
For new GMACs it is possible to turn-on/off the COE.
In the current driver, when disabled the Rx-checksum
via ethtool, the tool reported that csum was disabled
but the HW continued to set the IPC. Indeed this is
because the fix_features allows this. So the patch
fixes this problem by adding the set_features.

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 PLS bit setting when EEE is active</title>
<updated>2014-09-01T05:01:06Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-08-28T06:11:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71965352eedd0cc524de36accc6da7d5166a2c62'/>
<id>urn:sha1:71965352eedd0cc524de36accc6da7d5166a2c62</id>
<content type='text'>
In case of PLS is active the PLS (PHY Link Status) bit in
the Reg12 has to be set to allow the MAC to asserts the LPI
pattern when the link is ok.

Signed-off-by: nandini sharma &lt;nandini.sharma@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: never check EEE in case of a switch is attached</title>
<updated>2014-09-01T05:01:06Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-08-28T06:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56b88c25c543f1d4b1fff7f1c0267f59f53c261f'/>
<id>urn:sha1:56b88c25c543f1d4b1fff7f1c0267f59f53c261f</id>
<content type='text'>
This patch is to skip the EEE initialisation when the stmmac
is using a switch (with a fixed phy support).

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 LPI TW timer value to 20.5us.</title>
<updated>2014-09-01T05:01:06Z</updated>
<author>
<name>nandini sharma</name>
</author>
<published>2014-08-28T06:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=438a62b16e0aeff5c4a5ab457343cebe4d7278da'/>
<id>urn:sha1:438a62b16e0aeff5c4a5ab457343cebe4d7278da</id>
<content type='text'>
The value for LPI TW timer has to be updated to 0x1E that is the hardcoded value
of 20.5us and it will apply to all EEE enabled Remote PHYs.
Disadvantage is for PHY's that support lesser wakeup time but we can accept it
waiting to implement LLDP to negotiate the Wakeup time of Remote PHY.

Signed-off-by: nandini sharma &lt;nandini.sharma@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: fix the EEE LPI Macro definitions.</title>
<updated>2014-09-01T05:01:06Z</updated>
<author>
<name>nandini sharma</name>
</author>
<published>2014-08-28T06:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=162fb1d6559c4dcb454f172248d6d8ffa7a30bf8'/>
<id>urn:sha1:162fb1d6559c4dcb454f172248d6d8ffa7a30bf8</id>
<content type='text'>
This patch is to fix the definition of macros for EEE otherwise the LPI TX/RX
entry/exit cannot be properly managed.

Signed-off-by: Nandini Sharma &lt;nandini.sharma@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: fix dma api misuse</title>
<updated>2014-08-30T02:54:36Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-08-27T09:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=362b37be01edc7429e3ebaa89613517d57863f5c'/>
<id>urn:sha1:362b37be01edc7429e3ebaa89613517d57863f5c</id>
<content type='text'>
Enabling DMA_API_DEBUG, warnings are reported at runtime
because the device driver frees DMA memory with wrong functions
and it does not call dma_mapping_error after mapping dma memory.

The first problem is fixed by of introducing a flag that helps us
keeping track which mapping technique was used, so that we can use
the right API for unmap.
This approach was inspired by the e1000 driver, which uses a similar
technique.

Signed-off-by: Andre Draszik &lt;andre.draszik@st.com&gt;
Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Reviewed-by: Denis Kirjanov &lt;kda@linux-powerpc.org&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>stmmac: ptp: fix the reference clock</title>
<updated>2014-08-30T02:54:36Z</updated>
<author>
<name>Giuseppe CAVALLARO</name>
</author>
<published>2014-08-27T08:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5566401f2f10556776fd199c11d6a02a5e0b7b95'/>
<id>urn:sha1:5566401f2f10556776fd199c11d6a02a5e0b7b95</id>
<content type='text'>
The PTP reference clock, used for setting the addend in the Timestamp Addend
Register, was erroneously hard-coded (as reported in the databook just as
example).

The patch removes the macro named: STMMAC_SYSCLOCK and allows to use a
reference clock (clk_ptp_ref_i) that can be passed from the platform.

If not passed, the main driver clock will be used as default; note that
this can be fine on some platforms.

Note that, prior this patch, using the old STMMAC_SYSCLOCK on some platforms,
as side effect, the ptp clock can move faster/slower than the system clock.

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>
