<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic, branch v18.06.0-rc2</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>kernel: backport page fragment API changes from 4.10+ to 4.9</title>
<updated>2018-07-14T09:43:18+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2018-07-14T09:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c99c70e053030c657d3c6c38b6814f0510a7882d'/>
<id>c99c70e053030c657d3c6c38b6814f0510a7882d</id>
<content type='text'>
mt76 now relies on this API

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mt76 now relies on this API

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: gen_stats: Fix netlink stats dumping in the presence of padding</title>
<updated>2018-07-13T15:08:34+00:00</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
<email>ldir@darbyshire-bryant.me.uk</email>
</author>
<published>2018-07-02T17:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3e81365141e4626522c616e7870d246594eff26d'/>
<id>3e81365141e4626522c616e7870d246594eff26d</id>
<content type='text'>
Backport hot off the press upstream netlink patch.  Fixes stats display
from CAKE qdisc on MIPS allowing us to bump CAKE to latest version.

The gen_stats facility will add a header for the toplevel nlattr of type
TCA_STATS2 that contains all stats added by qdisc callbacks. A reference
to this header is stored in the gnet_dump struct, and when all the
per-qdisc callbacks have finished adding their stats, the length of the
containing header will be adjusted to the right value.

However, on architectures that need padding (i.e., that don't set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS), the padding nlattr is added
before the stats, which means that the stored pointer will point to the
padding, and so when the header is fixed up, the result is just a very
big padding nlattr. Because most qdiscs also supply the legacy TCA_STATS
struct, this problem has been mostly invisible, but we exposed it with
the netlink attribute-based statistics in CAKE.

Fix the issue by fixing up the stored pointer if it points to a padding
nlattr.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
(cherry picked from commit 3698b34a00d623f87a41179e656b8e89d0bb7267)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport hot off the press upstream netlink patch.  Fixes stats display
from CAKE qdisc on MIPS allowing us to bump CAKE to latest version.

The gen_stats facility will add a header for the toplevel nlattr of type
TCA_STATS2 that contains all stats added by qdisc callbacks. A reference
to this header is stored in the gnet_dump struct, and when all the
per-qdisc callbacks have finished adding their stats, the length of the
containing header will be adjusted to the right value.

However, on architectures that need padding (i.e., that don't set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS), the padding nlattr is added
before the stats, which means that the stored pointer will point to the
padding, and so when the header is fixed up, the result is just a very
big padding nlattr. Because most qdiscs also supply the legacy TCA_STATS
struct, this problem has been mostly invisible, but we exposed it with
the netlink attribute-based statistics in CAKE.

Fix the issue by fixing up the stored pointer if it points to a padding
nlattr.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
(cherry picked from commit 3698b34a00d623f87a41179e656b8e89d0bb7267)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bump 4.14 to 4.14.54 for 18.06</title>
<updated>2018-07-12T11:54:24+00:00</updated>
<author>
<name>Koen Vandeputte</name>
<email>koen.vandeputte@ncentric.com</email>
</author>
<published>2018-07-11T12:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ca903c73c70592fc49649235770fa49823efab96'/>
<id>ca903c73c70592fc49649235770fa49823efab96</id>
<content type='text'>
Refreshed all patches

Reworked patches to match upstream:
335-v4.16-netfilter-nf_tables-add-single-table-list-for-all-fa.patch

Compile-tested on: cns3xxx, imx6, x86_64
Runtime-tested on: cns3xxx, imx6, x86_64

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refreshed all patches

Reworked patches to match upstream:
335-v4.16-netfilter-nf_tables-add-single-table-list-for-all-fa.patch

Compile-tested on: cns3xxx, imx6, x86_64
Runtime-tested on: cns3xxx, imx6, x86_64

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bump 4.9 to 4.9.111 for 18.06</title>
<updated>2018-07-12T11:54:24+00:00</updated>
<author>
<name>Koen Vandeputte</name>
<email>koen.vandeputte@ncentric.com</email>
</author>
<published>2018-07-11T12:57:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3a5498c5e55d3fad5df14d94366e331642f0eb77'/>
<id>3a5498c5e55d3fad5df14d94366e331642f0eb77</id>
<content type='text'>
Refreshed all patches

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refreshed all patches

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bcm47xxpart: fix getting user-space data partition name</title>
<updated>2018-07-10T12:11:15+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-07-10T12:02:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5a40fad22a398f86d4900d391e00948df09fcde0'/>
<id>5a40fad22a398f86d4900d391e00948df09fcde0</id>
<content type='text'>
Partition name is picked by a parser_trx_data_part_name(). It has to
get correct partition offset (taking care of bad blocks) to work
properly.

This fixes UBI support for devices that have kernel flashed on partition
with a bad block.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 7ddba08d873a0ce6d2d32b8f6a1bea550107ca44)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Partition name is picked by a parser_trx_data_part_name(). It has to
get correct partition offset (taking care of bad blocks) to work
properly.

This fixes UBI support for devices that have kernel flashed on partition
with a bad block.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 7ddba08d873a0ce6d2d32b8f6a1bea550107ca44)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bump 4.14 to 4.14.52 for 18.06</title>
<updated>2018-07-02T05:06:23+00:00</updated>
<author>
<name>Stijn Segers</name>
<email>foss@volatilesystems.org</email>
</author>
<published>2018-06-29T20:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ab7cabd09df542cf3558725573c2ef2cf1c7cdff'/>
<id>ab7cabd09df542cf3558725573c2ef2cf1c7cdff</id>
<content type='text'>
Compile-tested on: ramips/mt7621, x86/64.
Run-tested on: ramips/mt7621.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compile-tested on: ramips/mt7621, x86/64.
Run-tested on: ramips/mt7621.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bump 4.9 to 4.9.110 for 18.06</title>
<updated>2018-07-02T05:06:06+00:00</updated>
<author>
<name>Stijn Segers</name>
<email>foss@volatilesystems.org</email>
</author>
<published>2018-06-29T20:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c96b344466fc80cb5815eeab87c6ca9a29fb9207'/>
<id>c96b344466fc80cb5815eeab87c6ca9a29fb9207</id>
<content type='text'>
Compile-tested on ar71xx.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compile-tested on ar71xx.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: cleanup offload hooks on netdev unregister</title>
<updated>2018-06-22T09:23:35+00:00</updated>
<author>
<name>Chen Minqiang</name>
<email>ptpt52@gmail.com</email>
</author>
<published>2018-04-29T06:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=71825c0bd8fb4a8b36fc2ee7d31e7dda878d0226'/>
<id>71825c0bd8fb4a8b36fc2ee7d31e7dda878d0226</id>
<content type='text'>
Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
(cherry picked from commit e317bb06fdfb46cf0c6496e3db4eb020ea28b656)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
(cherry picked from commit e317bb06fdfb46cf0c6496e3db4eb020ea28b656)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: backport fix for missing tunnel encapsulation limit option</title>
<updated>2018-06-21T20:10:06+00:00</updated>
<author>
<name>Hans Dedecker</name>
<email>dedeckeh@gmail.com</email>
</author>
<published>2018-06-21T20:09:12+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7f3121cf8a72490ee36edbcecf0adde8246867b5'/>
<id>7f3121cf8a72490ee36edbcecf0adde8246867b5</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: atm: pppoatm fix vc-mux connection failures</title>
<updated>2018-06-18T19:29:34+00:00</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
<email>ldir@darbyshire-bryant.me.uk</email>
</author>
<published>2018-06-18T09:08:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8af649756f92d956a4c418bbd1817954cffa4ef5'/>
<id>8af649756f92d956a4c418bbd1817954cffa4ef5</id>
<content type='text'>
Backport a hot off the press upstream kernel ATM fix:

Preserve value of skb-&gt;truesize when accounting to vcc

"There's a hack in pskb_expand_head() to avoid adjusting skb-&gt;truesize
for certain skbs. Ideally it would cover ATM too. It doesn't. Just
stashing the accounted value and using it in atm_raw_pop() is probably
the easiest way to cope."

The issue was exposed by upstream with:

commit 14afee4b6092fde451ee17604e5f5c89da33e71e
Author: Reshetova, Elena &lt;elena.reshetova@intel.com&gt;
Date:   Fri Jun 30 13:08:00 2017 +0300

    net: convert sock.sk_wmem_alloc from atomic_t to refcount_t

But an earlier commit left the ticking timebomb:

158f323b9868 ("net: adjust skb-&gt;truesize in pskb_expand_head()

Sincerest thanks to Mathias Kresin &lt;dev@kresin.me&gt; for debugging
assistance and to David Woodhouse &lt;dwmw2@infradead.org&gt; for further
guidance, cajoling &amp; patience in interpreting the debug I was giving him
and producing a fix!

Fixes FS#1567

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
(cherry picked from commit d600de3ddde269bf0b324735f8f12278f82d9b37)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport a hot off the press upstream kernel ATM fix:

Preserve value of skb-&gt;truesize when accounting to vcc

"There's a hack in pskb_expand_head() to avoid adjusting skb-&gt;truesize
for certain skbs. Ideally it would cover ATM too. It doesn't. Just
stashing the accounted value and using it in atm_raw_pop() is probably
the easiest way to cope."

The issue was exposed by upstream with:

commit 14afee4b6092fde451ee17604e5f5c89da33e71e
Author: Reshetova, Elena &lt;elena.reshetova@intel.com&gt;
Date:   Fri Jun 30 13:08:00 2017 +0300

    net: convert sock.sk_wmem_alloc from atomic_t to refcount_t

But an earlier commit left the ticking timebomb:

158f323b9868 ("net: adjust skb-&gt;truesize in pskb_expand_head()

Sincerest thanks to Mathias Kresin &lt;dev@kresin.me&gt; for debugging
assistance and to David Woodhouse &lt;dwmw2@infradead.org&gt; for further
guidance, cajoling &amp; patience in interpreting the debug I was giving him
and producing a fix!

Fixes FS#1567

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
(cherry picked from commit d600de3ddde269bf0b324735f8f12278f82d9b37)
</pre>
</div>
</content>
</entry>
</feed>
