<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic/files, branch v17.01.5</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>ip17xx: correct aneg_done return value</title>
<updated>2017-12-13T14:53:16+00:00</updated>
<author>
<name>Sergey Ryazanov</name>
<email>ryazanov.s.a@gmail.com</email>
</author>
<published>2017-06-06T22:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=13a5568d6edc15338d20e279eaf7dfb271cd73b0'/>
<id>13a5568d6edc15338d20e279eaf7dfb271cd73b0</id>
<content type='text'>
PHY core treats any positive return value as the auto-negotiation done
indication. Since we do not actually check any device register in this
callback then update it to return positive value with a neutral meaning
instead of the register flag to avoid  confusing for future readers.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 2cc61e6e8e951b1480a024fdb66bc539aa163bbc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHY core treats any positive return value as the auto-negotiation done
indication. Since we do not actually check any device register in this
callback then update it to return positive value with a neutral meaning
instead of the register flag to avoid  confusing for future readers.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 2cc61e6e8e951b1480a024fdb66bc539aa163bbc)
</pre>
</div>
</content>
</entry>
<entry>
<title>mvswitch: fix autonegotiation issue</title>
<updated>2017-12-13T14:52:49+00:00</updated>
<author>
<name>Sergey Ryazanov</name>
<email>ryazanov.s.a@gmail.com</email>
</author>
<published>2017-06-06T22:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=816fb3433b48af45a6e48bd2810950f71d27535f'/>
<id>816fb3433b48af45a6e48bd2810950f71d27535f</id>
<content type='text'>
The Marvel 88E6060 switch has an MDIO interface, but does not emulate
regular PHY behavior for the host. The network core can not detect using
the generic code, whether the connection via the attached PHY can be
used or not. The PHY's state machine is stuck in a state of
auto-negotiation and does not go any further so the Ethernet interface
of the router stay forever in the not-runing state.

Fix this issue by implementing the aneg_done callback to be able to
inform the network core that the Ethernet interface link to which the
switch is connected can be marked as RUNNING.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 913b2290caad437bb523d6f1ee5a70707f7f7ef4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Marvel 88E6060 switch has an MDIO interface, but does not emulate
regular PHY behavior for the host. The network core can not detect using
the generic code, whether the connection via the attached PHY can be
used or not. The PHY's state machine is stuck in a state of
auto-negotiation and does not go any further so the Ethernet interface
of the router stay forever in the not-runing state.

Fix this issue by implementing the aneg_done callback to be able to
inform the network core that the Ethernet interface link to which the
switch is connected can be marked as RUNNING.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 913b2290caad437bb523d6f1ee5a70707f7f7ef4)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar8327: Add workarounds for AR8337 switch.</title>
<updated>2017-12-13T13:59:03+00:00</updated>
<author>
<name>Vittorio Gambaletta</name>
<email>openwrt@vittgam.net</email>
</author>
<published>2017-03-26T08:08:20+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7ccfa826eebfdc514e537ad25f75b76bb2554a60'/>
<id>7ccfa826eebfdc514e537ad25f75b76bb2554a60</id>
<content type='text'>
RGMII RX delay setting needs to be always specified for AR8337 to
avoid port 5 RX hang on high traffic / flood conditions.

Also, the HOL registers that set per-port and per-packet-priority
buffer sizes are updated with the reduced values suggested by the
QCA switch team.

Finally, AR8327 reserved register fixups are disabled for the AR8337.

This patch is adapted from the Code Aurora QSDK, but with magic
values mapped to proper defines.

Signed-off-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
(cherry picked from commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RGMII RX delay setting needs to be always specified for AR8337 to
avoid port 5 RX hang on high traffic / flood conditions.

Also, the HOL registers that set per-port and per-packet-priority
buffer sizes are updated with the reduced values suggested by the
QCA switch team.

Finally, AR8327 reserved register fixups are disabled for the AR8337.

This patch is adapted from the Code Aurora QSDK, but with magic
values mapped to proper defines.

Signed-off-by: Vittorio Gambaletta &lt;openwrt@vittgam.net&gt;
(cherry picked from commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)"</title>
<updated>2017-02-22T11:07:30+00:00</updated>
<author>
<name>Stijn Tintel</name>
<email>stijn@linux-ipv6.be</email>
</author>
<published>2017-02-22T10:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=349577adbf84ea8544838894a1edee7c13fd0dcd'/>
<id>349577adbf84ea8544838894a1edee7c13fd0dcd</id>
<content type='text'>
This reverts commit ec1a695daa7390a6c24e3b28d3956f194cba2cb5.

Revert the workaround, the problem was properly fixed in
237454991618e0e8b7ceb8a8a2a43fca12c1a454.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
(cherry picked from commit 5c49fecf72c9c10b1d302b0a9d4db3b4ce3c782c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ec1a695daa7390a6c24e3b28d3956f194cba2cb5.

Revert the workaround, the problem was properly fixed in
237454991618e0e8b7ceb8a8a2a43fca12c1a454.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
(cherry picked from commit 5c49fecf72c9c10b1d302b0a9d4db3b4ce3c782c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar8216: flush ARL table during reset after init_globals</title>
<updated>2017-02-22T10:57:27+00:00</updated>
<author>
<name>Günther Kelleter</name>
<email>guenther.kelleter@devolo.de</email>
</author>
<published>2017-02-15T09:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7fd494d4b23697a329dcde89df412edaaf96a83d'/>
<id>7fd494d4b23697a329dcde89df412edaaf96a83d</id>
<content type='text'>
commit 33b72b8e0faf7a39faabece584fd6da61cd8f8df
"ar8216: adjust ATU flushing in case of link changes"
introduced portwise flushing on link down events. Now the ARL table could
be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped
forever (depending on the entries collected while booting).

Fixes FS#384.

Signed-off-by: Günther Kelleter &lt;guenther.kelleter@devolo.de&gt;
(cherry picked from commit 237454991618e0e8b7ceb8a8a2a43fca12c1a454)
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 33b72b8e0faf7a39faabece584fd6da61cd8f8df
"ar8216: adjust ATU flushing in case of link changes"
introduced portwise flushing on link down events. Now the ARL table could
be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped
forever (depending on the entries collected while booting).

Fixes FS#384.

Signed-off-by: Günther Kelleter &lt;guenther.kelleter@devolo.de&gt;
(cherry picked from commit 237454991618e0e8b7ceb8a8a2a43fca12c1a454)
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)</title>
<updated>2017-02-01T14:40:19+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2017-01-13T15:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ea43d60c180c0096f581e0b27c7f75ea08b0f36c'/>
<id>ea43d60c180c0096f581e0b27c7f75ea08b0f36c</id>
<content type='text'>
Running ar8327_get_arl_entry() early after boot leads to MDIO related system
lockups on several devices using this driver.

Since dumping the ARL table contens is an optional, uncritical feature, simply
disable the code for now.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running ar8327_get_arl_entry() early after boot leads to MDIO related system
lockups on several devices using this driver.

Since dumping the ARL table contens is an optional, uncritical feature, simply
disable the code for now.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: don't cancel work on events for different interfaces</title>
<updated>2017-01-29T16:34:29+00:00</updated>
<author>
<name>Sergey Sergeev</name>
<email>adron@yapic.net</email>
</author>
<published>2017-01-29T16:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ec095b5bf3bf0e6c570232522004c17084ba909d'/>
<id>ec095b5bf3bf0e6c570232522004c17084ba909d</id>
<content type='text'>
This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.

Signed-off-by: Sergey Sergeev &lt;adron@yapic.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.

Signed-off-by: Sergey Sergeev &lt;adron@yapic.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: make ledtrig-netdev use a work queue for updates</title>
<updated>2017-01-16T08:52:59+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2017-01-14T21:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde'/>
<id>0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde</id>
<content type='text'>
This fixes hangs in igb that happen if the update call interrupts an
already existing dev_get_stats call. In that case the calling CPU
deadlocks because it's trying to acquire the same spinlock recursively.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes hangs in igb that happen if the update call interrupts an
already existing dev_get_stats call. In that case the calling CPU
deadlocks because it's trying to acquire the same spinlock recursively.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mvsw61xx: add support for MV88E6352</title>
<updated>2017-01-13T16:12:40+00:00</updated>
<author>
<name>Imre Kaloz</name>
<email>kaloz@openwrt.org</email>
</author>
<published>2017-01-12T21:50:06+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f24ffb901e0408917748773b883841eca52eea05'/>
<id>f24ffb901e0408917748773b883841eca52eea05</id>
<content type='text'>
MV88E6352 is used on Linksys WRT3200ACM

Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MV88E6352 is used on Linksys WRT3200ACM

Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>yaffs: fix to detect MLC/TLC NAND flash</title>
<updated>2017-01-06T14:34:13+00:00</updated>
<author>
<name>Vladimir Zahradnik</name>
<email>vladimir.zahradnik@gmail.com</email>
</author>
<published>2016-12-24T23:20:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f277f45bd682f82aa7ac69f68abd1835730289af'/>
<id>f277f45bd682f82aa7ac69f68abd1835730289af</id>
<content type='text'>
Signed-off-by: Vladimir Zahradnik &lt;vladimir.zahradnik@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vladimir Zahradnik &lt;vladimir.zahradnik@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
