Re: Policy on BUILD_PATENTED

2020-08-08 Thread Henrique de Moraes Holschuh

On 08/08/2020 17:56, Rosen Penev wrote:

On Sat, Aug 8, 2020 at 1:37 PM Mauro Mozzarelli  wrote:

Since OpenWrt is NOT US Based and in fact it appears to be mostly
supported with EU contributions, we should be following the more liberal
EU policies.

Personally I am against software patents and I campaigned for the
decision that the EU parliament took to ban them despite significant
lobby from US corporations that would have wanted to limit and
monopolize software development.

As we know US companies even patent human genome, which is absurd.

I happen to agree but IANAL.


I am proud of the EU decision and I believe that OpenWrt should be
aligned with that spirit.



Do you believe that BUILD_PATENTED should be turned on by default?
https://github.com/openwrt/openwrt/blob/master/config/Config-build.in#L64


I believe OpenWrt should not even *consider* placing its umbrella 
organization(s) -- which are based on the U.S. -- in legal risk without 
at least contacting them first and getting their approval.


Has anyone asked SPI about it yet?

--
Henrique de Moraes Holschuh

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: missing email header

2020-08-08 Thread Brian Norris
Hi,

On Wed, Aug 5, 2020 at 2:21 AM Moritz Warning  wrote:
> somehow the titles of the emails from openwrt-devel@ do not contain a title 
> prefix anymore.
> They appear to address me personally at first glance, which is a bit 
> unsettling.

FWIW, I see very few other mailing lists mangle the Subject field the
way openwrt-devel used to do it. I have no say in these things, but I
personally prefer it this way.

> Is this a temporary thing?

I can't speak for any of that, but it does seem like the change
started around June 21, which happens to be the same weekend when the
machine that hosts the mailing list seems to have gone down with disk
failure:
http://lists.infradead.org/pipermail/linux-mtd/2020-June/081081.html

I expect the mailing list configuration must have been reset too.

So in other words, the change may simply be an accident?

Regards,
Brian

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Policy on BUILD_PATENTED

2020-08-08 Thread Rosen Penev
On Sat, Aug 8, 2020 at 1:37 PM Mauro Mozzarelli  wrote:
>
> Since OpenWrt is NOT US Based and in fact it appears to be mostly
> supported with EU contributions, we should be following the more liberal
> EU policies.
>
> Personally I am against software patents and I campaigned for the
> decision that the EU parliament took to ban them despite significant
> lobby from US corporations that would have wanted to limit and
> monopolize software development.
>
> As we know US companies even patent human genome, which is absurd.
I happen to agree but IANAL.
>
> I am proud of the EU decision and I believe that OpenWrt should be
> aligned with that spirit.
Do you believe that BUILD_PATENTED should be turned on by default?
https://github.com/openwrt/openwrt/blob/master/config/Config-build.in#L64
>
>
> Best regards,
> Mauro
>
> On 07/08/2020 21:41, Rosen Penev wrote:
> > On Mon, Aug 3, 2020 at 9:11 AM Etienne Champetier
> >  wrote:
> >> Hi Rosen,
> >>
> >> Le lun. 3 août 2020 à 00:04, Rosen Penev  a écrit :
> >>> Recently there's been a pull request to get patented functionality in
> >>> the packages feed: https://github.com/openwrt/packages/pull/12992
> >>>
> >>> Which pointed me to this lovely description: 
> >>> https://www.videolan.org/legal.html
> >>>
> >>> Two excerpts:
> >>>
> >>> In the USA, you should check out the US Copyright Office decision that
> >>> allows circumvention in some cases.
> >>> VideoLAN is NOT a US-based organization and is therefore outside US
> >>> jurisdiction.
> >>>
> >>> Neither French law nor European conventions recognize software as
> >>> patentable (see French section below).
> >>> Therefore, software patents licenses do not apply on VideoLAN software.
> >>>
> >>> The commit that disabled patented packages is:
> >>> https://github.com/openwrt/openwrt/commit/dc555d003c21679c8c94ac7f5c74cbd5cd089ae0
> >>>
> >>> This caused controversy regarding ffmpeg at the time since it meant
> >>> that minidlna would be unavailable.
> >>>
> >>> Which brings me to my question. How should BUILD_PATENTED be treated?
> >>> OpenWrt as far as I know is not US based.
> >> OpenWrt is represented by a US non profit, so not sure where it is based.
> >> https://openwrt.org/about
> >>> The remerged OpenWrt project is legally represented by the Software in 
> >>> the Public Interest (SPI) - an US 501(c)(3) non-profit organization which 
> >>> is managing our OpenWrt trademark, handling our donations and helping us 
> >>> with legal problems.
> >> Software Freedom Conservancy (future replacement of SPI) is also US based
> > Sounds problematic then.
> >> Best
> >>
> >> Etienne
> >>
> >>> Whenever discussion about patents arise, I usually point to Fedora
> >>> whose parent company is Red Hat, which is based in the US. There are
> >>> many things that they do not distribute that OpenWrt does for legal
> >>> reasons. Should Fedora's practices be mirrored or should a more
> >>> liberal policy regarding patented functionality be taken?
> >>>
> >>> ___
> >>> openwrt-devel mailing list
> >>> openwrt-devel@lists.openwrt.org
> >>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> > ___
> > openwrt-devel mailing list
> > openwrt-devel@lists.openwrt.org
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Policy on BUILD_PATENTED

2020-08-08 Thread Mauro Mozzarelli
Since OpenWrt is NOT US Based and in fact it appears to be mostly 
supported with EU contributions, we should be following the more liberal 
EU policies.


Personally I am against software patents and I campaigned for the 
decision that the EU parliament took to ban them despite significant 
lobby from US corporations that would have wanted to limit and 
monopolize software development.


As we know US companies even patent human genome, which is absurd.

I am proud of the EU decision and I believe that OpenWrt should be 
aligned with that spirit.



Best regards,
Mauro

On 07/08/2020 21:41, Rosen Penev wrote:

On Mon, Aug 3, 2020 at 9:11 AM Etienne Champetier
 wrote:

Hi Rosen,

Le lun. 3 août 2020 à 00:04, Rosen Penev  a écrit :

Recently there's been a pull request to get patented functionality in
the packages feed: https://github.com/openwrt/packages/pull/12992

Which pointed me to this lovely description: https://www.videolan.org/legal.html

Two excerpts:

In the USA, you should check out the US Copyright Office decision that
allows circumvention in some cases.
VideoLAN is NOT a US-based organization and is therefore outside US
jurisdiction.

Neither French law nor European conventions recognize software as
patentable (see French section below).
Therefore, software patents licenses do not apply on VideoLAN software.

The commit that disabled patented packages is:
https://github.com/openwrt/openwrt/commit/dc555d003c21679c8c94ac7f5c74cbd5cd089ae0

This caused controversy regarding ffmpeg at the time since it meant
that minidlna would be unavailable.

Which brings me to my question. How should BUILD_PATENTED be treated?
OpenWrt as far as I know is not US based.

OpenWrt is represented by a US non profit, so not sure where it is based.
https://openwrt.org/about

The remerged OpenWrt project is legally represented by the Software in the 
Public Interest (SPI) - an US 501(c)(3) non-profit organization which is 
managing our OpenWrt trademark, handling our donations and helping us with 
legal problems.

Software Freedom Conservancy (future replacement of SPI) is also US based

Sounds problematic then.

Best

Etienne


Whenever discussion about patents arise, I usually point to Fedora
whose parent company is Red Hat, which is based in the US. There are
many things that they do not distribute that OpenWrt does for legal
reasons. Should Fedora's practices be mirrored or should a more
liberal policy regarding patented functionality be taken?

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH] kernel: Create UBIFS v5 volume

2020-08-08 Thread Hauke Mehrtens
In commit 87b35c16adcf ("kernel: ubifs: create use file system format 4
by default") we changed the default UBIFS version used when the kernel
creates a new volume from 5 to 4. UBIFS v5 was added in kernel 4.10 and
only kernel 4.10 and later can read it.
We changed the kernel to create version 4 volumes also on more recent
kernel versions to make it possible to downgrade to an OpenWrt version
with kernel 4.9, the upgrade still works. This is probably not needed
any more and we can remove this patch.

Signed-off-by: Hauke Mehrtens 
---
 target/linux/generic/config-4.14  |  1 -
 target/linux/generic/config-4.19  |  1 -
 target/linux/generic/config-5.4   |  1 -
 ...-to-create-UBI-FS-version-4-on-empty.patch | 63 --
 ...-to-create-UBI-FS-version-4-on-empty.patch | 63 --
 ...-to-create-UBI-FS-version-4-on-empty.patch | 66 ---
 6 files changed, 195 deletions(-)
 delete mode 100644 
target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
 delete mode 100644 
target/linux/generic/pending-4.19/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
 delete mode 100644 
target/linux/generic/pending-5.4/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch

diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
index 778eee008bb8..2fa90032dd5d 100644
--- a/target/linux/generic/config-4.14
+++ b/target/linux/generic/config-4.14
@@ -5149,7 +5149,6 @@ CONFIG_TTY=y
 # CONFIG_UACCESS_WITH_MEMCPY is not set
 # CONFIG_UBIFS_ATIME_SUPPORT is not set
 # CONFIG_UBIFS_FS_ENCRYPTION is not set
-CONFIG_UBIFS_FS_FORMAT4=y
 # CONFIG_UBIFS_FS_SECURITY is not set
 # CONFIG_UBSAN is not set
 # CONFIG_UCB1400_CORE is not set
diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19
index 977829c86776..7becf21e20ce 100644
--- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -5423,7 +5423,6 @@ CONFIG_TTY=y
 # CONFIG_UACCESS_WITH_MEMCPY is not set
 # CONFIG_UBIFS_ATIME_SUPPORT is not set
 # CONFIG_UBIFS_FS_ENCRYPTION is not set
-CONFIG_UBIFS_FS_FORMAT4=y
 # CONFIG_UBIFS_FS_SECURITY is not set
 # CONFIG_UBIFS_FS_XATTR is not set
 # CONFIG_UBSAN is not set
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4
index 3279aabe64a1..d1c2ffa19cc3 100644
--- a/target/linux/generic/config-5.4
+++ b/target/linux/generic/config-5.4
@@ -5784,7 +5784,6 @@ CONFIG_TTY=y
 # CONFIG_UBIFS_ATIME_SUPPORT is not set
 # CONFIG_UBIFS_FS_AUTHENTICATION is not set
 # CONFIG_UBIFS_FS_ENCRYPTION is not set
-CONFIG_UBIFS_FS_FORMAT4=y
 # CONFIG_UBIFS_FS_SECURITY is not set
 # CONFIG_UBIFS_FS_XATTR is not set
 # CONFIG_UBSAN is not set
diff --git 
a/target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
 
b/target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
deleted file mode 100644
index 4b413996f2a1..
--- 
a/target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 93c33e6a7f3b0aef99d02252e6232a3d8b80f2d5 Mon Sep 17 00:00:00 2001
-From: Hauke Mehrtens 
-Date: Sun, 21 Jan 2018 15:47:50 +0100
-Subject: ubifs: Add option to create UBI FS version 4 on empty UBI volume
-
-Instead of creating an ubifs file system with format version 5 by
-default on empty UBI volumes add a compile option to create an older ubi
-with file system format version 4 instated. This allows it to be mount
-as a volume on kernel versions < 4.10, which does not support format
-version 5.
-We saw that some people can not access their older data when they
-downgraded from kernel 4.14 to kernel 4.9 to prevent this this option
-would help.
-
-Signed-off-by: Hauke Mehrtens 

- fs/ubifs/Kconfig | 13 +
- fs/ubifs/sb.c|  6 ++
- 2 files changed, 19 insertions(+)
-
 a/fs/ubifs/Kconfig
-+++ b/fs/ubifs/Kconfig
-@@ -74,3 +74,16 @@ config UBIFS_FS_SECURITY
- the extended attribute support in advance.
- 
- If you are not using a security module, say N.
-+
-+config UBIFS_FS_FORMAT4
-+  bool "Use file system format version 4 for new file systems"
-+  depends on UBIFS_FS
-+  help
-+Instead of creating new file systems with the new ubifs file
-+system version 5, use the old format version 4 for implicitly
-+by the driver created file systems on an empty UBI volume. This
-+makes it possible to  mount these file systems also with kernel
-+versions before 4.10. The driver will still support file system
-+format version 5 for ubifs file systems created with version 5.
-+
-+If you are unsure, say N.
 a/fs/ubifs/sb.c
-+++ b/fs/ubifs/sb.c
-@@ -176,7 +176,9 @@ static int create_default_filesystem(str
-   tmp64 = (long long)max_buds * c->leb_size;
-   if (big_lpt)
-   sup_flags |= 

[PATCH 2/2] kernel: Update kernel 4.14 to version 4.14.193

2020-08-08 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens 
---
 include/kernel-version.mk   | 4 ++--
 .../ar71xx/patches-4.14/910-unaligned_access_hacks.patch| 2 +-
 .../025-tcp-allow-drivers-to-tweak-TSQ-logic.patch  | 4 ++--
 ...0-USB-serial-option-fix-dwm-158-3g-modem-interface.patch | 2 +-
 .../950-tty-serial-exar-generalize-rs485-setup.patch| 4 ++--
 target/linux/generic/hack-4.14/220-gc_sections.patch| 4 ++--
 target/linux/generic/hack-4.14/221-module_exports.patch | 6 +++---
 .../pending-4.14/810-pci_disable_common_quirks.patch| 6 +++---
 .../patches-4.14/0069-awake-rt305x-dwc2-controller.patch| 2 +-
 9 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index a061efeb753f..1ff1a0967f74 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -6,11 +6,11 @@ ifdef CONFIG_TESTING_KERNEL
   KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
 endif
 
-LINUX_VERSION-4.14 = .187
+LINUX_VERSION-4.14 = .193
 LINUX_VERSION-4.19 = .138
 LINUX_VERSION-5.4 = .52
 
-LINUX_KERNEL_HASH-4.14.187 = 
5b223475eaeea196aa7e127d3f253bca5c35d8afdc72ca75230ce1ecdd1454bd
+LINUX_KERNEL_HASH-4.14.193 = 
0b0fb41d4430e1a42738b341cbfd2f41951aa5cd02acabbd53f076119c8b9f03
 LINUX_KERNEL_HASH-4.19.138 = 
d15c27d05f6c527269b75b30cc72972748e55720e7e00ad8abbaa4fe3b1d5e02
 LINUX_KERNEL_HASH-5.4.52 = 
037efa531120b1c20ff55e78cd3e17288b1804b3a57dc31de760837b3bea5d3a
 
diff --git a/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch 
b/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
index 52f48d0d0e38..6938f9655144 100644
--- a/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
+++ b/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
@@ -757,7 +757,7 @@
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -3878,14 +3878,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -3879,14 +3879,16 @@ static bool tcp_parse_aligned_timestamp(
  {
const __be32 *ptr = (const __be32 *)(th + 1);
  
diff --git 
a/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
 
b/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
index a098c4416c55..4f6f5d2cfad5 100644
--- 
a/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
+++ 
b/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
@@ -65,7 +65,7 @@ Cc: Kir Kolyshkin 
 * Before updating sk_refcnt, we must commit prior changes to memory
 --- a/net/ipv4/tcp_output.c
 +++ b/net/ipv4/tcp_output.c
-@@ -1697,7 +1697,7 @@ u32 tcp_tso_autosize(const struct sock *
+@@ -1699,7 +1699,7 @@ u32 tcp_tso_autosize(const struct sock *
  {
u32 bytes, segs;
  
@@ -74,7 +74,7 @@ Cc: Kir Kolyshkin 
sk->sk_gso_max_size - 1 - MAX_TCP_HEADER);
  
/* Goal is to send at least one packet per ms,
-@@ -2215,7 +2215,7 @@ static bool tcp_small_queue_check(struct
+@@ -2217,7 +2217,7 @@ static bool tcp_small_queue_check(struct
  {
unsigned int limit;
  
diff --git 
a/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
 
b/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
index 2e08e514b723..0e6aa87f9dfe 100644
--- 
a/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
+++ 
b/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
@@ -30,7 +30,7 @@ Signed-off-by: Johan Hovold 
 
 --- a/drivers/usb/serial/option.c
 +++ b/drivers/usb/serial/option.c
-@@ -1987,7 +1987,8 @@ static const struct usb_device_id option
+@@ -1990,7 +1990,8 @@ static const struct usb_device_id option
{ USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d01, 0xff) },   
/* D-Link DWM-156 (variant) */
{ USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d02, 0xff) },
{ USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d03, 0xff) },
diff --git 
a/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
 
b/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
index 353dc14949e9..c4c4cfcb717f 100644
--- 
a/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
+++ 
b/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch
@@ -19,7 +19,7 @@ Signed-off-by: Greg Kroah-Hartman 
 
 --- a/drivers/tty/serial/8250/8250_exar.c
 +++ b/drivers/tty/serial/8250/8250_exar.c
-@@ -283,8 +283,32 @@ static int xr17v35x_register_gpio(struct
+@@ -293,8 +293,32 @@ static int xr17v35x_register_gpio(struct
return 0;
  }
  
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman 
  };
  
  static int iot2040_rs485_config(struct uart_port *port,
-@@ -317,19 +341,7 @@ static int iot2040_rs485_config(struct u
+@@ -327,19 

[PATCH 1/2] kernel: Update kernel 4.19 to version 4.19.138

2020-08-08 Thread Hauke Mehrtens
Compile and run tested on lantiq/xrx200

Signed-off-by: Hauke Mehrtens 
---
 include/kernel-version.mk |   4 +-
 ...mware-loader-for-uPD720201-and-uPD72.patch |   6 +-
 .../910-unaligned_access_hacks.patch  |   4 +-
 ...antage-of-skb-hash-where-appropriate.patch |   2 +-
 ...atory-attach-detach-methods-for-sfp-.patch |   4 +-
 ...et-sfp-remove-sfp-bus-use-of-netdevs.patch |  12 +-
 ...ve-fwnode-parsing-into-sfp-bus-layer.patch |   2 +-
 5-net-sfp-rework-upstream-interface.patch |  12 +-
 ...fix-sfp_bus_put-kernel-documentation.patch |   2 +-
 ...et-sfp-add-support-for-module-quirks.patch | 111 --
 ...sfp-add-some-quirks-for-GPON-modules.patch |  52 
 .../generic/hack-4.19/204-module_strip.patch  |   4 +-
 .../hack-4.19/221-module_exports.patch|   6 +-
 .../hack-4.19/259-regmap_dynamic.patch|   2 +-
 ...protocol-handling-in-the-presence-of.patch |   4 +-
 ...-EHB-in-mtc0-mfc0-sequence-for-DSPen.patch |  61 --
 .../810-pci_disable_common_quirks.patch   |   6 +-
 ...-mvebu-armada-38x-enable-libata-leds.patch |   2 +-
 18 files changed, 36 insertions(+), 260 deletions(-)
 delete mode 100644 
target/linux/generic/backport-4.19/742-v5.5-net-sfp-add-support-for-module-quirks.patch
 delete mode 100644 
target/linux/generic/backport-4.19/743-v5.5-net-sfp-add-some-quirks-for-GPON-modules.patch
 delete mode 100644 
target/linux/generic/pending-4.19/350-MIPS-Add-missing-EHB-in-mtc0-mfc0-sequence-for-DSPen.patch

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 8bfce3ecfeb7..a061efeb753f 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -7,11 +7,11 @@ ifdef CONFIG_TESTING_KERNEL
 endif
 
 LINUX_VERSION-4.14 = .187
-LINUX_VERSION-4.19 = .131
+LINUX_VERSION-4.19 = .138
 LINUX_VERSION-5.4 = .52
 
 LINUX_KERNEL_HASH-4.14.187 = 
5b223475eaeea196aa7e127d3f253bca5c35d8afdc72ca75230ce1ecdd1454bd
-LINUX_KERNEL_HASH-4.19.131 = 
19dfb9f6cc4ba30104b65dcce7d78240a4ae188cb366747d5f8eae35e98964ba
+LINUX_KERNEL_HASH-4.19.138 = 
d15c27d05f6c527269b75b30cc72972748e55720e7e00ad8abbaa4fe3b1d5e02
 LINUX_KERNEL_HASH-5.4.52 = 
037efa531120b1c20ff55e78cd3e17288b1804b3a57dc31de760837b3bea5d3a
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1
diff --git 
a/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
 
b/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
index f3bd671cf7a1..e5000c911fa8 100644
--- 
a/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
+++ 
b/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
@@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter 
  
  #include "xhci.h"
  #include "xhci-trace.h"
-@@ -265,6 +267,458 @@ static void xhci_pme_acpi_rtd3_enable(st
+@@ -268,6 +270,458 @@ static void xhci_pme_acpi_rtd3_enable(st
  static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
  #endif /* CONFIG_ACPI */
  
@@ -503,7 +503,7 @@ Signed-off-by: Christian Lamparter 
  /* called during probe() after chip reset completes */
  static int xhci_pci_setup(struct usb_hcd *hcd)
  {
-@@ -306,6 +760,22 @@ static int xhci_pci_probe(struct pci_dev
+@@ -309,6 +763,22 @@ static int xhci_pci_probe(struct pci_dev
struct hc_driver *driver;
struct usb_hcd *hcd;
  
@@ -526,7 +526,7 @@ Signed-off-by: Christian Lamparter 
driver = (struct hc_driver *)id->driver_data;
  
/* Prevent runtime suspending between USB-2 and USB-3 initialization */
-@@ -364,6 +834,16 @@ static void xhci_pci_remove(struct pci_d
+@@ -367,6 +837,16 @@ static void xhci_pci_remove(struct pci_d
  {
struct xhci_hcd *xhci;
  
diff --git a/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch 
b/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch
index 61695ae55f37..fc77e6e42a87 100644
--- a/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch
+++ b/target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch
@@ -578,7 +578,7 @@
  #include 
 --- a/include/net/inet_ecn.h
 +++ b/include/net/inet_ecn.h
-@@ -125,9 +125,9 @@ static inline int IP6_ECN_set_ce(struct
+@@ -126,9 +126,9 @@ static inline int IP6_ECN_set_ce(struct
if (INET_ECN_is_not_ect(ipv6_get_dsfield(iph)))
return 0;
  
@@ -728,7 +728,7 @@
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -3906,14 +3906,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -3907,14 +3907,16 @@ static bool tcp_parse_aligned_timestamp(
  {
const __be32 *ptr = (const __be32 *)(th + 1);
  
diff --git 
a/target/linux/generic/backport-4.19/395-v5.8-net-sch_cake-Take-advantage-of-skb-hash-where-appropriate.patch
 
b/target/linux/generic/backport-4.19/395-v5.8-net-sch_cake-Take-advantage-of-skb-hash-where-appropriate.patch
index 

[PATCH 18.06 2/2] kernel: update kernel 4.9 to version 4.9.232

2020-08-08 Thread Hauke Mehrtens
821-usb-Remove-annoying-warning-about-bogus-URB.patch does not apply any
more and was also deleted in master and nobody complained. ;-)

Compile and runtime tested on lantiq/xrx200.

Signed-off-by: Hauke Mehrtens 
---
 include/kernel-version.mk |  4 +-
 .../910-unaligned_access_hacks.patch  |  2 +-
 ...smsx95xx-fix-crimes-against-truesize.patch |  4 +-
 ...024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch | 10 +--
 ...ve-one-locked-operation-in-tcp_wfree.patch |  4 +-
 ...tsq-add-shortcut-in-tcp_tasklet_func.patch |  6 +-
 ...cp-tsq-avoid-one-atomic-in-tcp_wfree.patch |  4 +-
 ...-a-shortcut-in-tcp_small_queue_check.patch |  2 +-
 ...cp_mtu_probe-is-likely-to-exit-early.patch |  2 +-
 ...ove-tsq_flags-close-to-sk_wmem_alloc.patch | 14 ++--
 ...-missing-barrier-in-tcp_tasklet_func.patch |  2 +-
 ...tcp-allow-drivers-to-tweak-TSQ-logic.patch |  4 +-
 ...ove-annoying-warning-about-bogus-URB.patch | 76 ---
 .../0040-USB-DWC2-enable-usb-power-gpio.patch |  4 +-
 ...e-lantiq-settings-match-vendor-drive.patch |  2 +-
 .../815-spi-support-layerscape.patch  |  2 +-
 16 files changed, 33 insertions(+), 109 deletions(-)
 delete mode 100644 
target/linux/generic/pending-4.9/821-usb-Remove-annoying-warning-about-bogus-URB.patch

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 9602912bdb..07b056fb5b 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -2,10 +2,10 @@
 
 LINUX_RELEASE?=1
 
-LINUX_VERSION-4.9 = .229
+LINUX_VERSION-4.9 = .232
 LINUX_VERSION-4.14 = .193
 
-LINUX_KERNEL_HASH-4.9.229 = 
3256c2835fd95a1a739603e78b02d363eac2ce73a39fa19b13b32da4fc370fdc
+LINUX_KERNEL_HASH-4.9.232 = 
58f472e82345dc719a1d6d7bae01e5aa73387cd83308acd2c92371f7d5bc4f60
 LINUX_KERNEL_HASH-4.14.193 = 
0b0fb41d4430e1a42738b341cbfd2f41951aa5cd02acabbd53f076119c8b9f03
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1
diff --git a/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch 
b/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch
index ebf44b21bd..4a235b8d30 100644
--- a/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch
+++ b/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch
@@ -795,7 +795,7 @@
  
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -3934,14 +3934,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -3935,14 +3935,16 @@ static bool tcp_parse_aligned_timestamp(
  {
const __be32 *ptr = (const __be32 *)(th + 1);
  
diff --git 
a/target/linux/brcm2708/patches-4.9/950-0001-smsx95xx-fix-crimes-against-truesize.patch
 
b/target/linux/brcm2708/patches-4.9/950-0001-smsx95xx-fix-crimes-against-truesize.patch
index b0de3f211a..a563cb9c16 100644
--- 
a/target/linux/brcm2708/patches-4.9/950-0001-smsx95xx-fix-crimes-against-truesize.patch
+++ 
b/target/linux/brcm2708/patches-4.9/950-0001-smsx95xx-fix-crimes-against-truesize.patch
@@ -25,7 +25,7 @@ Signed-off-by: Steve Glendinning 
  static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index,
u32 *data, int in_pm)
  {
-@@ -1961,7 +1965,8 @@ static int smsc95xx_rx_fixup(struct usbn
+@@ -1968,7 +1972,8 @@ static int smsc95xx_rx_fixup(struct usbn
if (dev->net->features & NETIF_F_RXCSUM)
smsc95xx_rx_csum_offload(skb);
skb_trim(skb, skb->len - 4); /* remove fcs */
@@ -35,7 +35,7 @@ Signed-off-by: Steve Glendinning 
  
return 1;
}
-@@ -1979,7 +1984,8 @@ static int smsc95xx_rx_fixup(struct usbn
+@@ -1986,7 +1991,8 @@ static int smsc95xx_rx_fixup(struct usbn
if (dev->net->features & NETIF_F_RXCSUM)
smsc95xx_rx_csum_offload(ax_skb);
skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */
diff --git 
a/target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch 
b/target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch
index 853b7d6cc0..63cd4a1ade 100644
--- 
a/target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch
+++ 
b/target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch
@@ -18,7 +18,7 @@ Signed-off-by: David S. Miller 
 
 --- a/include/linux/tcp.h
 +++ b/include/linux/tcp.h
-@@ -368,7 +368,7 @@ struct tcp_sock {
+@@ -370,7 +370,7 @@ struct tcp_sock {
u32 *saved_syn;
  };
  
@@ -27,7 +27,7 @@ Signed-off-by: David S. Miller 
TSQ_THROTTLED,
TSQ_QUEUED,
TCP_TSQ_DEFERRED,  /* tcp_tasklet_func() found socket was owned 
*/
-@@ -379,6 +379,15 @@ enum tsq_flags {
+@@ -381,6 +381,15 @@ enum tsq_flags {
*/
  };
  
@@ -45,7 +45,7 @@ Signed-off-by: David S. Miller 
return (struct tcp_sock *)sk;
 --- a/net/ipv4/tcp_output.c
 +++ b/net/ipv4/tcp_output.c
-@@ 

[PATCH 18.06 1/2] kernel: Update kernel 4.14 to version 4.14.193

2020-08-08 Thread Hauke Mehrtens
Compile and runtime tested on x86/64.

Signed-off-by: Hauke Mehrtens 
---
 include/kernel-version.mk   | 4 ++--
 ...b-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch | 6 +++---
 .../025-tcp-allow-drivers-to-tweak-TSQ-logic.patch  | 4 ++--
 ...0-USB-serial-option-fix-dwm-158-3g-modem-interface.patch | 2 +-
 target/linux/generic/hack-4.14/220-gc_sections.patch| 4 ++--
 target/linux/generic/hack-4.14/221-module_exports.patch | 6 +++---
 .../pending-4.14/810-pci_disable_common_quirks.patch| 6 +++---
 ...b-xhci-mtk-use-ports-count-from-xhci-in-xhci_mtk_s.patch | 2 +-
 ...91-usb-xhci-allow-imod-interval-to-be-configurable.patch | 2 +-
 .../0199-thermal-mtk-Cleanup-unused-defines.patch   | 2 +-
 .../0200-thermal-mediatek-add-support-for-MT7622-SoC.patch  | 2 +-
 .../patches-4.14/0069-awake-rt305x-dwc2-controller.patch| 2 +-
 12 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 3caa941b72..9602912bdb 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -3,10 +3,10 @@
 LINUX_RELEASE?=1
 
 LINUX_VERSION-4.9 = .229
-LINUX_VERSION-4.14 = .187
+LINUX_VERSION-4.14 = .193
 
 LINUX_KERNEL_HASH-4.9.229 = 
3256c2835fd95a1a739603e78b02d363eac2ce73a39fa19b13b32da4fc370fdc
-LINUX_KERNEL_HASH-4.14.187 = 
5b223475eaeea196aa7e127d3f253bca5c35d8afdc72ca75230ce1ecdd1454bd
+LINUX_KERNEL_HASH-4.14.193 = 
0b0fb41d4430e1a42738b341cbfd2f41951aa5cd02acabbd53f076119c8b9f03
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1
 sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst 
-,_,$(subst /,_,$(1)))
diff --git 
a/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
 
b/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
index 8e405b3af1..b00393e8d7 100644
--- 
a/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
+++ 
b/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
@@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter 
  
  #include "xhci.h"
  #include "xhci-trace.h"
-@@ -269,6 +271,458 @@ static void xhci_pme_acpi_rtd3_enable(st
+@@ -272,6 +274,458 @@ static void xhci_pme_acpi_rtd3_enable(st
  static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
  #endif /* CONFIG_ACPI */
  
@@ -503,7 +503,7 @@ Signed-off-by: Christian Lamparter 
  /* called during probe() after chip reset completes */
  static int xhci_pci_setup(struct usb_hcd *hcd)
  {
-@@ -307,6 +761,22 @@ static int xhci_pci_probe(struct pci_dev
+@@ -310,6 +764,22 @@ static int xhci_pci_probe(struct pci_dev
struct hc_driver *driver;
struct usb_hcd *hcd;
  
@@ -526,7 +526,7 @@ Signed-off-by: Christian Lamparter 
driver = (struct hc_driver *)id->driver_data;
  
/* For some HW implementation, a XHCI reset is just not enough... */
-@@ -368,6 +838,16 @@ static void xhci_pci_remove(struct pci_d
+@@ -371,6 +841,16 @@ static void xhci_pci_remove(struct pci_d
  {
struct xhci_hcd *xhci;
  
diff --git 
a/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
 
b/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
index a098c4416c..4f6f5d2cfa 100644
--- 
a/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
+++ 
b/target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch
@@ -65,7 +65,7 @@ Cc: Kir Kolyshkin 
 * Before updating sk_refcnt, we must commit prior changes to memory
 --- a/net/ipv4/tcp_output.c
 +++ b/net/ipv4/tcp_output.c
-@@ -1697,7 +1697,7 @@ u32 tcp_tso_autosize(const struct sock *
+@@ -1699,7 +1699,7 @@ u32 tcp_tso_autosize(const struct sock *
  {
u32 bytes, segs;
  
@@ -74,7 +74,7 @@ Cc: Kir Kolyshkin 
sk->sk_gso_max_size - 1 - MAX_TCP_HEADER);
  
/* Goal is to send at least one packet per ms,
-@@ -2215,7 +2215,7 @@ static bool tcp_small_queue_check(struct
+@@ -2217,7 +2217,7 @@ static bool tcp_small_queue_check(struct
  {
unsigned int limit;
  
diff --git 
a/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
 
b/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
index 2e08e514b7..0e6aa87f9d 100644
--- 
a/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
+++ 
b/target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch
@@ -30,7 +30,7 @@ Signed-off-by: Johan Hovold 
 
 --- a/drivers/usb/serial/option.c
 +++ b/drivers/usb/serial/option.c
-@@ -1987,7 +1987,8 @@ static const struct usb_device_id option
+@@ -1990,7 +1990,8 @@ static const struct usb_device_id option
{ USB_DEVICE_INTERFACE_CLASS(0x2001, 

[PATCH 19.07] kernel: update kernel 4.14 to version 4.14.193

2020-08-08 Thread Hauke Mehrtens
Compile and runtime tested on lantiq/xrx200 and ipq40xx.

Signed-off-by: Hauke Mehrtens 
---
 include/kernel-version.mk |   4 +-
 ...mware-loader-for-uPD720201-and-uPD72.patch |   6 +-
 .../910-unaligned_access_hacks.patch  |   2 +-
 .../910-unaligned_access_hacks.patch  |   2 +-
 ...smsx95xx-fix-crimes-against-truesize.patch |   4 +-
 ...e-link-events-to-minimize-poll-storm.patch |   2 +-
 ...tcp-allow-drivers-to-tweak-TSQ-logic.patch |   4 +-
 ...ption-fix-dwm-158-3g-modem-interface.patch |   2 +-
 ...y-serial-exar-generalize-rs485-setup.patch |   4 +-
 .../generic/hack-4.14/220-gc_sections.patch   |   4 +-
 .../hack-4.14/221-module_exports.patch|   6 +-
 .../810-pci_disable_common_quirks.patch   |   6 +-
 .../716-essedma-vlan-double-tag.patch | 123 +-
 .../301-arch-support-layerscape.patch |   2 +-
 .../802-dma-support-layerscape.patch  |   4 +-
 .../816-pcie-support-layerscape.patch |   2 +-
 .../818-qspi-support-layerscape.patch |  13 --
 ...-ports-count-from-xhci-in-xhci_mtk_s.patch |   2 +-
 ...low-imod-interval-to-be-configurable.patch |   2 +-
 ...9-thermal-mtk-Cleanup-unused-defines.patch |   2 +-
 ...-mediatek-add-support-for-MT7622-SoC.patch |   2 +-
 .../0069-awake-rt305x-dwc2-controller.patch   |   2 +-
 22 files changed, 61 insertions(+), 139 deletions(-)

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 9e7855e6dc..008cc44c78 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -6,9 +6,9 @@ ifdef CONFIG_TESTING_KERNEL
   KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
 endif
 
-LINUX_VERSION-4.14 = .187
+LINUX_VERSION-4.14 = .193
 
-LINUX_KERNEL_HASH-4.14.187 = 
5b223475eaeea196aa7e127d3f253bca5c35d8afdc72ca75230ce1ecdd1454bd
+LINUX_KERNEL_HASH-4.14.193 = 
0b0fb41d4430e1a42738b341cbfd2f41951aa5cd02acabbd53f076119c8b9f03
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1
 sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst 
-,_,$(subst /,_,$(1)))
diff --git 
a/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
 
b/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
index f95fdf3d7f..43abd735b2 100644
--- 
a/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
+++ 
b/target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
@@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter 
  
  #include "xhci.h"
  #include "xhci-trace.h"
-@@ -269,6 +271,458 @@ static void xhci_pme_acpi_rtd3_enable(st
+@@ -272,6 +274,458 @@ static void xhci_pme_acpi_rtd3_enable(st
  static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
  #endif /* CONFIG_ACPI */
  
@@ -503,7 +503,7 @@ Signed-off-by: Christian Lamparter 
  /* called during probe() after chip reset completes */
  static int xhci_pci_setup(struct usb_hcd *hcd)
  {
-@@ -307,6 +761,22 @@ static int xhci_pci_probe(struct pci_dev
+@@ -310,6 +764,22 @@ static int xhci_pci_probe(struct pci_dev
struct hc_driver *driver;
struct usb_hcd *hcd;
  
@@ -526,7 +526,7 @@ Signed-off-by: Christian Lamparter 
driver = (struct hc_driver *)id->driver_data;
  
/* For some HW implementation, a XHCI reset is just not enough... */
-@@ -368,6 +838,16 @@ static void xhci_pci_remove(struct pci_d
+@@ -371,6 +841,16 @@ static void xhci_pci_remove(struct pci_d
  {
struct xhci_hcd *xhci;
  
diff --git a/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch 
b/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
index 52f48d0d0e..6938f96551 100644
--- a/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
+++ b/target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
@@ -757,7 +757,7 @@
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -3878,14 +3878,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -3879,14 +3879,16 @@ static bool tcp_parse_aligned_timestamp(
  {
const __be32 *ptr = (const __be32 *)(th + 1);
  
diff --git a/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch 
b/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
index 5eaa14d327..f3332ba5c2 100644
--- a/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
+++ b/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
@@ -737,7 +737,7 @@
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -3878,14 +3878,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -3879,14 +3879,16 @@ static bool tcp_parse_aligned_timestamp(
  {
const __be32 *ptr = (const __be32 *)(th + 1);
  
diff --git 
a/target/linux/brcm2708/patches-4.14/950-0002-smsx95xx-fix-crimes-against-truesize.patch
 

[PATCH 19.07] mac80211: Update to 4.19.137-1

2020-08-08 Thread Hauke Mehrtens
b43 and b43legacy now support ieee80211w, hardware crypto will be
deactivated in such caes.

Signed-off-by: Hauke Mehrtens 
---
 package/kernel/mac80211/Makefile |  6 +++---
 package/kernel/mac80211/broadcom.mk  |  4 ++--
 .../ath/930-ath10k_add_tpt_led_trigger.patch |  4 ++--
 ...handling-for-VHT160-in-recent-firmwares.patch |  2 +-
 ...ontrolling-support-for-various-chipsets.patch |  6 +++---
 .../975-ath10k-use-tpt-trigger-by-default.patch  |  2 +-
 ...pport-for-configuring-management-packet.patch |  4 ++--
 ...ssible-out-of-bound-access-of-ath10k_ra.patch |  2 +-
 ...correct-multicast-broadcast-rate-settin.patch |  4 ++--
 ...ve-set-but-not-used-variables-sfdoff-an.patch |  4 ++--
 ...board_type-used-for-nvram-file-selectio.patch |  2 +-
 ...c-add-support-for-CYW43012-SDIO-chipset.patch | 16 
 ...te-43012-F2-watermark-setting-to-fix-DM.patch |  2 +-
 ...fmac-disable-command-decode-in-sdio_aos.patch |  2 +-
 ...ck-and-dump-trap-info-during-sdio-probe.patch | 10 +-
 ...t-brcmf_attach-and-brcmf_detach-functio.patch |  2 +-
 ...set-F2-blocksize-and-watermark-for-4359.patch |  2 +-
 ...-Fix-OOB-interrupt-initialization-on-br.patch |  4 ++--
 .../mac80211/patches/subsys/210-ap_scan.patch|  2 +-
 ...trel-Enable-STBC-and-LDPC-for-VHT-Rates.patch |  2 +-
 ...mac80211-fix-tx-status-for-no-ack-cases.patch | 14 +++---
 ...airtime-accounting-and-scheduling-to-TX.patch |  2 +-
 ...0211-add-TX_NEEDS_ALIGNED4_SKBS-hw-flag.patch | 12 ++--
 ...-drop-redundant-rcu_read_lock-unlock-ca.patch | 10 +-
 .../357-mac80211-optimize-skb-resizing.patch |  2 +-
 ...211-un-schedule-TXQs-on-powersave-start.patch |  2 +-
 .../522-mac80211_configure_antenna_gain.patch|  4 ++--
 27 files changed, 64 insertions(+), 64 deletions(-)

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index b5812b85e9..af059cc680 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -10,10 +10,10 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=mac80211
 
-PKG_VERSION:=4.19.120-1
+PKG_VERSION:=4.19.137-1
 PKG_RELEASE:=1
-PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v4.19.120/
-PKG_HASH:=2bafd75da301a30a5f2b98f433b6545d7b58c1fc3af15e9e9aa085df7f9db1d4
+PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v4.19.137/
+PKG_HASH:=dc5eea4f77fc5c43b69e38f46fbf766880fa4bdeef83dcc8dcc85aa6b645bb7c
 
 PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
diff --git a/package/kernel/mac80211/broadcom.mk 
b/package/kernel/mac80211/broadcom.mk
index eaf736e07c..55e6b779e1 100644
--- a/package/kernel/mac80211/broadcom.mk
+++ b/package/kernel/mac80211/broadcom.mk
@@ -105,7 +105,7 @@ define KernelPackage/b43
CONFIG_HW_RANDOM=y
   # Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
   DEPENDS += \
-   @PCI_SUPPORT +kmod-mac80211 \
+   @PCI_SUPPORT +@DRIVER_11W_SUPPORT +kmod-mac80211 \
$(if $(CONFIG_PACKAGE_B43_USE_SSB),+kmod-ssb) \
$(if $(CONFIG_PACKAGE_B43_USE_BCMA),+kmod-bcma)
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43/b43.ko
@@ -347,7 +347,7 @@ define KernelPackage/b43legacy
   URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
   KCONFIG:= \
CONFIG_HW_RANDOM=y
-  DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb 
@!TARGET_brcm47xx_mips74k +b43legacy-firmware
+  DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb 
@!TARGET_brcm47xx_mips74k +b43legacy-firmware +@DRIVER_11W_SUPPORT
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
   AUTOLOAD:=$(call AutoProbe,b43legacy)
   MENU:=1
diff --git 
a/package/kernel/mac80211/patches/ath/930-ath10k_add_tpt_led_trigger.patch 
b/package/kernel/mac80211/patches/ath/930-ath10k_add_tpt_led_trigger.patch
index 4bcde171a9..bdf08710e6 100644
--- a/package/kernel/mac80211/patches/ath/930-ath10k_add_tpt_led_trigger.patch
+++ b/package/kernel/mac80211/patches/ath/930-ath10k_add_tpt_led_trigger.patch
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath10k/mac.c
 +++ b/drivers/net/wireless/ath/ath10k/mac.c
-@@ -8297,6 +8297,21 @@ static int ath10k_mac_init_rd(struct ath
+@@ -8300,6 +8300,21 @@ static int ath10k_mac_init_rd(struct ath
return 0;
  }
  
@@ -22,7 +22,7 @@
  int ath10k_mac_register(struct ath10k *ar)
  {
static const u32 cipher_suites[] = {
-@@ -8581,6 +8596,12 @@ int ath10k_mac_register(struct ath10k *a
+@@ -8584,6 +8599,12 @@ int ath10k_mac_register(struct ath10k *a
  
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
  
diff --git 
a/package/kernel/mac80211/patches/ath/973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch
 
b/package/kernel/mac80211/patches/ath/973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch
index 4984fc6699..c26ea96095 100644

[PATCH] mac80211: Update to version 5.8

2020-08-08 Thread Hauke Mehrtens
The removed patches were applied upstream.

Signed-off-by: Hauke Mehrtens 
---
 package/kernel/mac80211/Makefile  |   6 +-
 ...pointer-dereference-in-AHB-device-pr.patch | 262 --
 .../subsys/140-tweak-TSQ-setting.patch|   2 +-
 .../mac80211/patches/subsys/210-ap_scan.patch |   2 +-
 .../300-mac80211-optimize-skb-resizing.patch  |   2 +-
 ...11-improve-AQL-tx-airtime-estimation.patch |   4 +-
 ...STA-txq-pending-airtime-underflow-wa.patch |  31 ---
 ...unction-for-running-rx-without-passi.patch |  14 +-
 .../500-mac80211_configure_antenna_gain.patch |   4 +-
 ...600-fix-warning-in-6-ghz-ie-addition.patch |  64 -
 10 files changed, 17 insertions(+), 374 deletions(-)
 delete mode 100644 
package/kernel/mac80211/patches/ath/910-ath10k-Fix-NULL-pointer-dereference-in-AHB-device-pr.patch
 delete mode 100644 
package/kernel/mac80211/patches/subsys/306-mac80211-remove-STA-txq-pending-airtime-underflow-wa.patch
 delete mode 100644 
package/kernel/mac80211/patches/subsys/600-fix-warning-in-6-ghz-ie-addition.patch

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 6a799496126f..bf88484b78aa 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -10,10 +10,10 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=mac80211
 
-PKG_VERSION:=5.8-rc2-1
+PKG_VERSION:=5.8-1
 PKG_RELEASE:=1
-PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.8-rc2/
-PKG_HASH:=363a648a6bded577044b505289dd711b160b8334cd73cbc6301e341e6b4c78fc
+PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.8/
+PKG_HASH:=19b4174d89bf11ee221458e11f1e8dace26558498774b823051156f522d2036b
 
 PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
diff --git 
a/package/kernel/mac80211/patches/ath/910-ath10k-Fix-NULL-pointer-dereference-in-AHB-device-pr.patch
 
b/package/kernel/mac80211/patches/ath/910-ath10k-Fix-NULL-pointer-dereference-in-AHB-device-pr.patch
deleted file mode 100644
index 6886b6c3e9f5..
--- 
a/package/kernel/mac80211/patches/ath/910-ath10k-Fix-NULL-pointer-dereference-in-AHB-device-pr.patch
+++ /dev/null
@@ -1,262 +0,0 @@
-From 1cfd3426ef989b83fa6176490a38777057e57f6c Mon Sep 17 00:00:00 2001
-From: Hauke Mehrtens 
-Date: Tue, 14 Jul 2020 22:58:02 +0200
-Subject: [PATCH] ath10k: Fix NULL pointer dereference in AHB device probe
-
-This fixes a NULL pointer dereference in the probe path for AHB devices.
-There attr parameter in the ath10k_ce_alloc_pipe() function is not
-initialized, but accessed. This function is called by
-ath10k_pci_setup_resource() which is called by ath10k_ahb_probe().
-
-The struct ath10k_pci is also used for AHB devices and not only for PCI
-devices.
-
-The initialization of the new members of struct ath10k_pci is moved to
-ath10k_pci_setup_resource() which is used by the PCI and the AHB code.
-
-This also fixes a use after free bug in ath10k_pci_remove() when ar_pci
-is accessed after ath10k_core_destroy() was called, which calls
-ieee80211_free_hw() and frees this memory.
-
-This fixes the following bug seen with backports-5.8-rc2 on OpenWrt on a
-IPQ4019 device:
-
-[   11.117462] 8<--- cut here ---
-[   11.117494] Unable to handle kernel NULL pointer dereference at virtual 
address 
-[   11.119510] pgd = f377fd58
-[   11.127657] [] *pgd=8e9a0835, *pte=, *ppte=
-[   11.130206] Internal error: Oops: 17 [#1] SMP ARM
-[   11.136339] Modules linked in: ath10k_pci(+) ath10k_core ath xt_state 
xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD pppox ppp_generic 
nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack 
mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac 
xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 
nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt 
compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables 
ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd 
dwc3 dwc3_qcom gpio_button_hotplug
-[   11.174355] CPU: 2 PID: 257 Comm: kmodloader Not tainted 5.4.51 #0
-[   11.196585] Hardware name: Generic DT based system
-[   11.202746] PC is at ath10k_ce_alloc_pipe+0x58/0x180 [ath10k_core]
-[   11.207459] LR is at ath10k_pci_alloc_pipes+0x94/0xc8 [ath10k_pci]
-[   11.213600] pc : []lr : []psr: 8013
-[   11.219760] sp : cea0dc90  ip : cf4001f0  fp : 0001
-[   11.225923] r10:   r9 : 0018  r8 : ce4963b4
-[   11.231133] r7 :   r6 : ce491ea0  r5 :   r4 : ce4963b4
-[   11.236342] r3 : 0004a000  r2 : 0004a000  r1 : bf2d0d70  r0 : 0006
-[   11.242942] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment 
none
-[   11.249452] Control: 10c5387d  Table: 8e9c006a  DAC: 0051
-[   11.256656] Process kmodloader (pid: 257, stack limit = 0xaba286ca)
-[   11.262386] Stack: (0xcea0dc90 to 0xcea0e000)
-[   

Re: [PATCH 1/4] tools: add fakeroot

2020-08-08 Thread Felix Fietkau
On 2020-08-07 23:12, Paul Spooren wrote:
> From: Thomas Petazzoni 
> 
> SELinux support requires setting the appropriate SELinux security context
> to files and directories, which needs to happen at build time in order
> to support read-only root filesystem scenarios. In order to create these
> security contexts, we will have to run some SELinux-specific tools on
> the host machine, but that requires root access. This adds support for
> fakeroot, which the build process will use to run the SELinux security
> context creation and the image creation.
> 
> Signed-off-by: Thomas Petazzoni 
> 
> Apply to current master, and adjust commit message
> 
> Thomas' original work is available at
> http://lists.infradead.org/pipermail/openwrt-devel/2019-November/025976.html.
> 
> Signed-off-by: W. Michael Petullo 
> [add rules.mk FAKEROOT variable]
> Signed-off-by: Paul Spooren 
> ---
> --- /dev/null
> +++ b/tools/fakeroot/Makefile
> @@ -0,0 +1,20 @@
> +#
> +# This is free software, licensed under the GNU General Public License v2.
> +# See /LICENSE for more information.
> +#
> +include $(TOPDIR)/rules.mk
> +
> +PKG_NAME:=fakeroot
> +PKG_VERSION:=1.20.2
This version is rather ancient and also breaks on macOS.
I've updated it, fixed macOS support and pushed the result to my staging
tree at https://git.openwrt.org/?p=openwrt/staging/nbd.git;a=summary

Feel free to pick my version from there if you respin or merge the
series. When you do, please test it on a Linux machine again to make
sure I didn't break anything with my fixes :)

- Felix

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel