Re: [PATCH v2] x86/patches-5.4: enable DCDE for x86(-64)

2021-01-04 Thread Alberto Bursi
On 05/01/21 01:09, Rui Salvaterra wrote: Port and adapt Nick Piggin's original patch [1]. This enables dead code and data elimination at linking time (gc-sections) on x86(-64). openwrt-x86-64-generic-kernel.bin size, with my config: Before: 3138048 bytes After: 2937344 bytes In other

[PATCH v2] x86/patches-5.4: enable DCDE for x86(-64)

2021-01-04 Thread Rui Salvaterra
Port and adapt Nick Piggin's original patch [1]. This enables dead code and data elimination at linking time (gc-sections) on x86(-64). openwrt-x86-64-generic-kernel.bin size, with my config: Before: 3138048 bytes After: 2937344 bytes In other words, we save about 200 kB. [1]

[PATCHv2] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
Simplify cmake option handling by putting everything in blocks. Add openssl patch as there's no easy way to disable. Rebase the skip manpages patch. Remove the monitor mode patch as it no longer applies. Remove flex patch as normal Makefile is no longer used. Remove USB path patch. While it

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-04 Thread Rosen Penev
On Sun, Jan 3, 2021 at 10:14 PM Hannu Nyman wrote: > > Rosen Penev kirjoitti 4.1.2021 klo 5.32: > > Remove stime backport. > > > > Remove static libgcc patch as upstream fixed it with > > BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. > > > > Remove date -k patch as it no longer applies.

Re: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
On Mon, Jan 4, 2021 at 5:36 AM Hannu Nyman wrote: > > Rosen Penev kirjoitti 4.1.2021 klo 10.31: > > On Sun, Jan 3, 2021 at 11:35 PM Bjørn Mork wrote: > >> Rosen Penev writes: > >> > >>> ... > >>> > >>> @@ -48,11 +47,15 @@ endef > >>> CMAKE_OPTIONS += \ > >>>-DBUILD_SHARED_LIBS=ON \ >

RE: [PATCH v2 1/2] mac80211: add 802.11ad-support

2021-01-04 Thread Adrian Schmutzler
Hi Daniel, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Daniel Golle > Sent: Montag, 4. Januar 2021 20:19 > To: Paul Fertser > Cc: Gary Cooper ; openwrt-devel@lists.openwrt.org > Subject: Re: [PATCH v2 1/2] mac80211: add

Re: [PATCH] state: check return value of chown

2021-01-04 Thread Karl Palsson
Daniel Golle wrote: > On Mon, Jan 04, 2021 at 05:08:22PM -, Karl Palsson wrote: > > > > Daniel Golle wrote: > > > On Sat, Jan 02, 2021 at 10:01:36PM +0800, yehol...@outlook.com > > > wrote: > > > > > > - chown(p->pw_dir, p->pw_uid, p->pw_gid); > > > > +

Re: [PATCH v2 1/2] mac80211: add 802.11ad-support

2021-01-04 Thread Daniel Golle
Hi Paul, Hi Gary, On Mon, Jan 04, 2021 at 08:27:49PM +0300, Paul Fertser wrote: > From: Gary Cooper > > This adds some logic to properly populate defaults in /etc/config/wireless > and support for WPA*-GCMP. TP-Link AD7200, Mikrotik WAP60g, LHGG-60ad, etc I've split this thing up a bit more

[PATCH v2 2/2] ipq806x: add support for TP-Link Talon AD7200

2021-01-04 Thread Paul Fertser
From: Gary Cooper Device hardware: https://deviwiki.com/wiki/TP-LINK_AD7200_(Talon) The Talon AD7200 is basically an Archer C2600 with a third PCIe lane and an 802.11ad radio. It looks like the Archers C2600/5400 but the housing is slightly larger. Specifications -- - IPQ8064

Re: [PATCH] state: check return value of chown

2021-01-04 Thread Daniel Golle
On Mon, Jan 04, 2021 at 05:08:22PM -, Karl Palsson wrote: > > Daniel Golle wrote: > > On Sat, Jan 02, 2021 at 10:01:36PM +0800, yehol...@outlook.com > > wrote: > > > > - chown(p->pw_dir, p->pw_uid, p->pw_gid); > > > + if (chown(p->pw_dir, p->pw_uid,

[PATCH v2 1/2] mac80211: add 802.11ad-support

2021-01-04 Thread Paul Fertser
From: Gary Cooper This adds some logic to properly populate defaults in /etc/config/wireless and support for WPA*-GCMP. TP-Link AD7200, Mikrotik WAP60g, LHGG-60ad, etc Signed-off-by: Gary Cooper --- package/base-files/files/sbin/wifi | 1 +

Re: [PATCH] state: check return value of chown

2021-01-04 Thread Karl Palsson
Daniel Golle wrote: > On Sat, Jan 02, 2021 at 10:01:36PM +0800, yehol...@outlook.com > wrote: > > - chown(p->pw_dir, p->pw_uid, p->pw_gid); > > + if (chown(p->pw_dir, p->pw_uid, p->pw_gid)) > > + fprintf(stderr, "Failed to change

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-04 Thread Hannu Nyman
Petr Štetiar wrote at Mon Jan 4 09:20:57 EST 2021: > what's the status of the ash deadlock regression[1] introduced likely in 1.32? I think that is was already mentioned in Hauke's earlier message regarding the v1 patch:

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-04 Thread Petr Štetiar
Rosen Penev [2021-01-03 19:32:06]: Hi, > Remove stime backport. > > Remove static libgcc patch as upstream fixed it with > BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. > > Remove date -k patch as it no longer applies. It's also pointless as > busybox' hwclock utility can do the same

Re: [PATCH] kernel/pending-5.4: enable DCDE for x86(-64)

2021-01-04 Thread Rui Salvaterra
Hi again, Adrian, On Sun, 3 Jan 2021 at 12:36, Rui Salvaterra wrote: > On Sun, 3 Jan 2021 at 12:22, Adrian Schmutzler > wrote: > > > > Shouldn't it be in target/linux/x86 then? > > You tell me. :) My rationale was, this being a pending upstream patch > (it hasn't hit mainline because this is a

Re: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Hannu Nyman
Rosen Penev kirjoitti 4.1.2021 klo 10.31: On Sun, Jan 3, 2021 at 11:35 PM Bjørn Mork wrote: Rosen Penev writes: ... @@ -48,11 +47,15 @@ endef CMAKE_OPTIONS += \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_WITH_LIBNL=OFF \ + -DINET6=O$(if $(CONFIG_IPV6),N,FF) # grep

RE: [PATCH] base-files: read all 5 bytes in get_magic_fat32() at once

2021-01-04 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Karl Palsson > Sent: Montag, 4. Januar 2021 12:58 > To: Adrian Schmutzler > Cc: openwrt-devel > Subject: Re: [PATCH] base-files: read all 5 bytes in get_magic_fat32() at once > >

[PATCH] scripts/ext-toolchain.sh: modify ar/ranlib scripts

2021-01-04 Thread Ye Holmes
Modify external toolchain scripts `PREFIX-ar and `PREFIX-ranlib to handle object files compiled with LTO enabled; and simplify external toolchain scripts `PREFIX-gcc-ar and `PREFIX-gcc-ranlib to avoid failing to create static library archives. Signed-off-by: Ye Holmes --- Using external prebuilt

Re: [PATCH] base-files: read all 5 bytes in get_magic_fat32() at once

2021-01-04 Thread Karl Palsson
The fact that you had to introduce iflags to work around changing IBS/OBS which afffected skip size would make me consider this sort of patch to be of incredibly marginal utilty, largely even negative value if this isn't some sort of hot path. You've made it more complicated for an _extremely_

RE: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Adrian Schmutzler
> > And where did CONFIG_PCAP_HAS_NETFILTER go? > Oversight. Will add. > > > > I don't understand why you do these unnecessary style changes while > > updating package versions. You're obviously not testing them. And you > > do add bugs. But whatever. While one can discuss about the tone, there

[PATCH] base-files: read all 5 bytes in get_magic_fat32() at once

2021-01-04 Thread Adrian Schmutzler
While the speed improvement might be negligible, there is still no reason to read individual bytes. Suggested-by: Paul Spooren Signed-off-by: Adrian Schmutzler --- package/base-files/Makefile| 2 +- package/base-files/files/lib/upgrade/common.sh | 2 +- 2 files changed, 2

Re: [PATCH] base-files: read all 3 bytes in get_magic_vfat() at once

2021-01-04 Thread Paul Spooren
On Mo, Jan 4, 2021 at 01:28, Adrian Schmutzler wrote: While the speed improvement might be negligible, there is still no reason to read individual bytes. Signed-off-by: Adrian Schmutzler --- I'm wondering how many times dd needs to be run to sum up to the same amount of time this took

Re: [PATCH] tools/fakeroot: update to 1.25.3

2021-01-04 Thread Paul Spooren
On Mo, Jan 4, 2021 at 16:34, Syrone Wong wrote: This crashes on buildbots with the follow error: bash: /buildbot/shared-workdir/build/staging_dir/host/bin/autoreconf: No such file or directory You'll need to set autoreconf as a dependency. I think in tools/Makefile something like

Re: [PATCH] tools/fakeroot: update to 1.25.3

2021-01-04 Thread Syrone Wong
> > This crashes on buildbots with the follow error: > > bash: /buildbot/shared-workdir/build/staging_dir/host/bin/autoreconf: > No such file or directory > > You'll need to set autoreconf as a dependency. I think in > tools/Makefile something like > > $(curdir)/fakeroot/compile +=

Re: [PATCH] libpcap: update to 1.10.0

2021-01-04 Thread Rosen Penev
On Sun, Jan 3, 2021 at 11:35 PM Bjørn Mork wrote: > > Rosen Penev writes: > > > Simplify cmake option handling by putting everything in blocks. > > > > Add openssl patch as there's no easy way to disable. > > > > Rebase the skip manpages patch. > > > > Remove the monitor mode patch as it no

[PATCH] tools: let fakeroot depends on libtool

2021-01-04 Thread Syrone Wong
This fix the buildbots issue when upgrading fakeroot to 1.25.3. bash: /buildbot/shared-workdir/build/staging_dir/host/bin/autoreconf: No such file or directory Signed-off-by: Syrone Wong --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile