<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/config, branch v21.02.4</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.4</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-09-21T09:52:40Z</updated>
<entry>
<title>scripts: always check certificates</title>
<updated>2022-09-21T09:52:40Z</updated>
<author>
<name>Josh Roys</name>
</author>
<published>2022-07-23T15:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f0bca34f16327c6001515f9c73c2c284574c7b6d'/>
<id>urn:sha1:f0bca34f16327c6001515f9c73c2c284574c7b6d</id>
<content type='text'>
Remove flags from wget and curl instructing them to ignore bad server
certificates. Although other mechanisms can protect against malicious
modifications of downloads, other vectors of attack may be available
to an adversary.

TLS certificate verification can be disabled by turning oof the
"Enable TLS certificate verification during package download" option
enabled by default in the "Global build settings" in "make menuconfig"

Signed-off-by: Josh Roys &lt;roysjosh@gmail.com&gt;
[ add additional info on how to disable this option ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [backport]
(cherry picked from commit 90c6e3aedf167b0ae1baf376e7800a631681e69a)
</content>
</entry>
<entry>
<title>bcm53xx: use -falign-functions=32 for kernel compilation</title>
<updated>2022-07-08T14:18:25Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2022-07-03T11:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b54ef39e0b910a4b8eaca0497fe9b63e8392262a'/>
<id>urn:sha1:b54ef39e0b910a4b8eaca0497fe9b63e8392262a</id>
<content type='text'>
Northstar SoCs have pretty small CPU caches and their performance is
heavily affected by cache hits &amp; misses. It means that all kind of
random code changes can affect performance as they often reorganize
(change alignment &amp; possibly reorder) kernel symbols.

It was discussed in ARM / net mailinglists:
1. ARM router NAT performance affected by random/unrelated commits [1] [2]
2. Optimizing kernel compilation / alignments for network performance [3] [4]

It seems that -falign-functions can be used as a partial workaround. It
doesn't solve all cases (e.g. documented watchdog one [5]) but it surely
helps with many of them.

A complete long term solution may be PGO (profile-guided optimization)
but it isn't available at this point.

[1] https://lkml.org/lkml/2019/5/21/349
[2] https://www.spinics.net/lists/linux-block/msg40624.html
[3] https://lore.kernel.org/linux-arm-kernel/066fc320-dc04-11a4-476e-b0d11f3b17e6@gmail.com/T/
[4] https://www.spinics.net/lists/netdev/msg816103.html
[5] http://lists.openwrt.org/pipermail/openwrt-devel/2022-July/038989.html

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit abc5b28db164dc2d807750cb2baae91e288c84a9)
</content>
</entry>
<entry>
<title>kernel: support setting extra CFLAGS for kernel compilation</title>
<updated>2022-07-08T13:38:42Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2022-06-15T10:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b0968be02e264876e79e297d984ec82262344e7a'/>
<id>urn:sha1:b0968be02e264876e79e297d984ec82262344e7a</id>
<content type='text'>
They may be used e.g. to optimize kernel size or performance.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 907d7d747243044f86588f0d82993e8c106cb02c)
</content>
</entry>
<entry>
<title>build: Replace KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR</title>
<updated>2021-09-13T16:48:55Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-09-12T10:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f11cdd30065b241e51283a205dfc951d677e183b'/>
<id>urn:sha1:f11cdd30065b241e51283a205dfc951d677e183b</id>
<content type='text'>
The LOCKUP_DETECTOR configuration option split into the
SOFTLOCKUP_DETECTOR and HARDLOCKUP_DETECTOR configuration option some
time ago. The HARDLOCKUP_DETECTOR option is only working on some
architectures, but SOFTLOCKUP_DETECTOR should work everywhere. Replace
KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR.

LOCKUP_DETECTOR will be selected by SOFTLOCKUP_DETECTOR automatically.

Fixes: b951f53fbae3 ("build: Add additional kernel debug options")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit d27f6e2c5d2a2315cc8fe684d117c80aa9984ca8)
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>kernel: add defaults for new SELinux options</title>
<updated>2021-02-05T13:17:49Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-02-02T12:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a21be2a70365363f5dd08efd6c629a254cc37170'/>
<id>urn:sha1:a21be2a70365363f5dd08efd6c629a254cc37170</id>
<content type='text'>
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>config: drop CONFIG_KPROBE_EVENT unused since kernel 4.9</title>
<updated>2021-01-25T13:37:41Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2020-10-21T16:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=af20332dec3f1ac024cd240f33b065a1928cc6c2'/>
<id>urn:sha1:af20332dec3f1ac024cd240f33b065a1928cc6c2</id>
<content type='text'>
The config setting was renamed to CONFIG_KPROBE_EVENTS.

Fixes: 97d3f800a8 ("config: kernel: Add KPROBE_EVENTS config option)
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>kernel: make lwtunnel support optional</title>
<updated>2021-01-15T08:38:39Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2021-01-14T15:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=412dc26c99beeeeace3e56321fc392e590f4144d'/>
<id>urn:sha1:412dc26c99beeeeace3e56321fc392e590f4144d</id>
<content type='text'>
Not everyone will want to bloat their kernel by 24 kiB for such a niche
feature.

Fixes: a1a7f3274e0ed27511d45f62ee20281d8d57c7af "kernel: enable SRv6 support by
enabling lwtunnel"

Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: drop unneeded kernel version dependency</title>
<updated>2021-01-14T00:23:16Z</updated>
<author>
<name>Andy Walsh</name>
</author>
<published>2021-01-11T14:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9afbf33b60a322d1d77fdaf50a4a33d82f2ba323'/>
<id>urn:sha1:9afbf33b60a322d1d77fdaf50a4a33d82f2ba323</id>
<content type='text'>
The current master only supports kernel 5.4, and there is no reason
to remove KERNEL_IO_URING for future kernels.

Drop the unneeded dependency.

Signed-off-by: Andy Walsh &lt;andy.walsh44+github@gmail.com&gt;
[improve commit title/message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>kernel: enable SRv6 support by enabling lwtunnel</title>
<updated>2021-01-11T21:09:05Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2020-12-12T10:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a1a7f3274e0ed27511d45f62ee20281d8d57c7af'/>
<id>urn:sha1:a1a7f3274e0ed27511d45f62ee20281d8d57c7af</id>
<content type='text'>
Enable the ability to use segment routing based on IPv6. It allows the
packet to specify a path that the packet should take through the
network.

Lwtunnel allow an easy encapsulation of a package. You can just install
ip-full package and use it:

  ip -6 route add  2003::/64 dev eth0 encap seg6 mode encap \
    segs 2001::1,2002::2

An IPv6 package looks like this:
  [IPv6 HDR][IPv6 RH][IPv6 HDR][Data...]

Netifd support:
  https://git.openwrt.org/?p=project/netifd.git;
     a=commit;h=458b1a7e9473c150a40cae5d8be174f4bb03bd39

Increases imagesize by 24.125 KiB. Therefore, only enable for devices
with enough flash.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
</feed>
