kernel: bump 5.10 to 5.10.80
authorRui Salvaterra <rsalvaterra@gmail.com>
Thu, 18 Nov 2021 18:24:32 +0000 (18:24 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 19 Nov 2021 09:40:29 +0000 (09:40 +0000)
Deleted (upstreamed):
ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [1]
bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [2]
lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [3]
lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [4]
lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [5]
lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [6]

Manually rebased:
ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=47462c5e600fbaffd755cd13dedd80d04e41ff83
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=2fde76df1885a6bec04317e457121326070450eb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=9b366f5221d8aa64b22f35be137a5749326444ce
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=5af57ce8a6155fe3e4270d28d171abf8903bebc0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=b92a5df2c7adc79a57481445f67de0c1c716581f
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=6b72caabc47011d03f44064452b2c65e8ed18326

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
44 files changed:
include/kernel-version.mk
target/linux/apm821xx/patches-5.10/802-usb-xhci-force-msi-renesas-xhci.patch
target/linux/ath79/patches-5.10/910-unaligned_access_hacks.patch
target/linux/ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [deleted file]
target/linux/bcm27xx/patches-5.10/950-0198-media-videodev2.h-Add-a-format-for-column-YUV4-2-0-m.patch
target/linux/bcm27xx/patches-5.10/950-0210-media-uapi-v4l2-core-Add-sensor-ancillary-data-V4L2-.patch
target/linux/bcm27xx/patches-5.10/950-0219-media-uapi-v4l2-core-Add-ISP-statistics-output-V4L2-.patch
target/linux/bcm27xx/patches-5.10/950-0278-media-Add-a-pixel-format-for-MIPI-packed-12bit-luma-.patch
target/linux/bcm27xx/patches-5.10/950-0279-media-Add-a-pixel-format-for-MIPI-packed-14bit-luma-.patch
target/linux/bcm27xx/patches-5.10/950-0355-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch
target/linux/bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [deleted file]
target/linux/generic/backport-5.10/103-v5.13-MIPS-select-CPU_MIPS64-for-remaining-MIPS64-CPUs.patch
target/linux/generic/backport-5.10/600-v5.12-net-extract-napi-poll-functionality-to-__napi_poll.patch
target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
target/linux/generic/backport-5.10/602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch
target/linux/generic/backport-5.10/603-v5.12-net-fix-race-between-napi-kthread-mode-and-busy-poll.patch
target/linux/generic/backport-5.10/604-v5.12-net-fix-hangup-on-napi_disable-for-threaded-napi.patch
target/linux/generic/backport-5.10/610-v5.13-56-netfilter-conntrack-Introduce-udp-offload-timeout-co.patch
target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch
target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
target/linux/generic/hack-5.10/661-use_fq_codel_by_default.patch
target/linux/generic/hack-5.10/721-net-add-packet-mangeling.patch
target/linux/generic/hack-5.10/904-debloat_dma_buf.patch
target/linux/generic/pending-5.10/300-mips_expose_boot_raw.patch
target/linux/generic/pending-5.10/680-NET-skip-GRO-for-foreign-MAC-addresses.patch
target/linux/ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch
target/linux/lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [deleted file]
target/linux/lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [deleted file]
target/linux/lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [deleted file]
target/linux/lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [deleted file]
target/linux/lantiq/patches-5.10/0152-lantiq-VPE.patch
target/linux/mediatek/patches-5.10/410-bt-mtk-serial-fix.patch
target/linux/mpc85xx/patches-5.10/100-powerpc-85xx-tl-wdr4900-v1-support.patch
target/linux/mpc85xx/patches-5.10/101-powerpc-85xx-hiveap-330-support.patch
target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch
target/linux/mpc85xx/patches-5.10/105-powerpc-85xx-panda-support.patch
target/linux/mpc85xx/patches-5.10/106-powerpc-85xx-ws-ap3710i-support.patch
target/linux/octeontx/patches-5.10/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch
target/linux/ramips/patches-5.10/720-Revert-net-phy-simplify-phy_link_change-arguments.patch
target/linux/ramips/patches-5.10/721-NET-no-auto-carrier-off-support.patch
target/linux/ramips/patches-5.10/810-uvc-add-iPassion-iP2970-support.patch
target/linux/ramips/patches-5.10/840-serial-add-ugly-custom-baud-rate-hack.patch
target/linux/realtek/patches-5.10/302-clocksource-add-rtl9300-driver.patch

index 466931583cc6db8615086b063910b082097c28c1..f393a370afc033999c19d2410620148c174822d9 100644 (file)
@@ -7,10 +7,10 @@ ifdef CONFIG_TESTING_KERNEL
 endif
 
 LINUX_VERSION-5.4 = .158
-LINUX_VERSION-5.10 = .79
+LINUX_VERSION-5.10 = .80
 
 LINUX_KERNEL_HASH-5.4.158 = 6e018fecdc8fc24553756e582d83b82d65b10a6b03ef36262a24911f839b8d59
-LINUX_KERNEL_HASH-5.10.79 = e49955e16a2ee26d0b3ca1521912daba5ab8f7a6b2c9e5f538bb0ae7b837a8ad
+LINUX_KERNEL_HASH-5.10.80 = 477ce8f7624263e4346c0fc25ffc334af06bcac4d6bebdd5a7fe4681557fdb39
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
 sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1)))))))
index 3b17a27e79b758ff14f66d363e0b29d31a81da30..1d7fe484896b8be204e0b9a0ba3e164d111283c0 100644 (file)
@@ -13,7 +13,7 @@ produce a noisy warning.
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -267,6 +267,7 @@ static void xhci_pci_quirks(struct devic
+@@ -274,6 +274,7 @@ static void xhci_pci_quirks(struct devic
            pdev->device == 0x0015) {
                xhci->quirks |= XHCI_RESET_ON_RESUME;
                xhci->quirks |= XHCI_ZERO_64B_REGS;
index 1ade1e9181e00a9d88c4b539c3660c1b8badad79..161ed445bd42cba8e4a578d234166ba469b0a068 100644 (file)
        ptr = ip6hoff + sizeof(struct ipv6hdr);
 --- a/include/net/neighbour.h
 +++ b/include/net/neighbour.h
-@@ -274,8 +274,10 @@ static inline bool neigh_key_eq128(const
+@@ -275,8 +275,10 @@ static inline bool neigh_key_eq128(const
        const u32 *n32 = (const u32 *)n->primary_key;
        const u32 *p32 = pkey;
  
diff --git a/target/linux/ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch b/target/linux/ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch
deleted file mode 100644 (file)
index 9785fbf..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From 4d3c17975c7814884a721fe693b3adf5c426d759 Mon Sep 17 00:00:00 2001
-From: Hauke Mehrtens <hauke@hauke-m.de>
-Date: Tue, 10 Nov 2015 22:18:39 +0100
-Subject: [RFC] serial: core: add support for boot console with arbitrary
- baud rates
-
-The Arduino Yun uses a baud rate of 250000 by default. The serial is
-going over the Atmel ATmega and is used to connect to this chip.
-Without this patch Linux wants to switch the console to 9600 Baud.
-
-With this patch Linux will use the configured baud rate and not a
-default one specified in uart_register_driver().
-
-Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-[rebased to 4.14, slightly reworded commit message]
-Signed-off-by: Sungbo Eo <mans0n@gorani.run>
----
- drivers/tty/serial/serial_core.c | 6 +++++-
- include/linux/console.h          | 1 +
- 2 files changed, 6 insertions(+), 1 deletions(-)
-
---- a/drivers/tty/serial/serial_core.c
-+++ b/drivers/tty/serial/serial_core.c
-@@ -222,6 +222,8 @@ static int uart_port_startup(struct tty_
-       if (retval == 0) {
-               if (uart_console(uport) && uport->cons->cflag) {
-                       tty->termios.c_cflag = uport->cons->cflag;
-+                      tty->termios.c_ospeed = uport->cons->baud;
-+                      tty->termios.c_ispeed = uport->cons->baud;
-                       uport->cons->cflag = 0;
-               }
-               /*
-@@ -2123,8 +2125,10 @@ uart_set_options(struct uart_port *port,
-        * Allow the setting of the UART parameters with a NULL console
-        * too:
-        */
--      if (co)
-+      if (co) {
-               co->cflag = termios.c_cflag;
-+              co->baud = baud;
-+      }
-       return 0;
- }
---- a/include/linux/console.h
-+++ b/include/linux/console.h
-@@ -150,6 +150,7 @@ struct console {
-       short   flags;
-       short   index;
-       int     cflag;
-+      int     baud;
-       void    *data;
-       struct   console *next;
- };
index abeddf9c76914e8f5ee2b80b6bb3e18b8d79fe69..d0bb71b621348265c578affc9c3be1a904f05a56 100644 (file)
@@ -278,7 +278,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
      pixfmt-nv24
 --- a/drivers/media/v4l2-core/v4l2-ioctl.c
 +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
-@@ -1325,6 +1325,8 @@ static void v4l_fill_fmtdesc(struct v4l2
+@@ -1343,6 +1343,8 @@ static void v4l_fill_fmtdesc(struct v4l2
        case V4L2_PIX_FMT_NV61M:        descr = "Y/CrCb 4:2:2 (N-C)"; break;
        case V4L2_PIX_FMT_NV12MT:       descr = "Y/CbCr 4:2:0 (64x32 MB, N-C)"; break;
        case V4L2_PIX_FMT_NV12MT_16X16: descr = "Y/CbCr 4:2:0 (16x16 MB, N-C)"; break;
index a89ce1a8d6ba8d578d10243f110ef4b8abcf36cb..5f2fbe7cb61cd6679aad9704879469768cc2258d 100644 (file)
@@ -65,7 +65,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
 +
 --- a/drivers/media/v4l2-core/v4l2-ioctl.c
 +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
-@@ -1404,6 +1404,7 @@ static void v4l_fill_fmtdesc(struct v4l2
+@@ -1422,6 +1422,7 @@ static void v4l_fill_fmtdesc(struct v4l2
        case V4L2_META_FMT_UVC:         descr = "UVC Payload Header Metadata"; break;
        case V4L2_META_FMT_D4XX:        descr = "Intel D4xx UVC Metadata"; break;
        case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break;
index a2974a98b427d7bd0226775b0f57d66882ca8035..43f3c2c57621d96810ea980582775ee643de7625 100644 (file)
@@ -74,7 +74,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
 +
 --- a/drivers/media/v4l2-core/v4l2-ioctl.c
 +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
-@@ -1405,6 +1405,7 @@ static void v4l_fill_fmtdesc(struct v4l2
+@@ -1423,6 +1423,7 @@ static void v4l_fill_fmtdesc(struct v4l2
        case V4L2_META_FMT_D4XX:        descr = "Intel D4xx UVC Metadata"; break;
        case V4L2_META_FMT_VIVID:       descr = "Vivid Metadata"; break;
        case V4L2_META_FMT_SENSOR_DATA: descr = "Sensor Ancillary Metadata"; break;
index fb27792ca351242c59e806d1477eb71428dc95d2..576e20a58fb0e7b13c4b306d75ba31a3d2c2d3ce 100644 (file)
@@ -75,7 +75,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
      pixfmt-y10p
 --- a/drivers/media/v4l2-core/v4l2-ioctl.c
 +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
-@@ -1283,6 +1283,7 @@ static void v4l_fill_fmtdesc(struct v4l2
+@@ -1301,6 +1301,7 @@ static void v4l_fill_fmtdesc(struct v4l2
        case V4L2_PIX_FMT_Y16_BE:       descr = "16-bit Greyscale BE"; break;
        case V4L2_PIX_FMT_Y10BPACK:     descr = "10-bit Greyscale (Packed)"; break;
        case V4L2_PIX_FMT_Y10P:         descr = "10-bit Greyscale (MIPI Packed)"; break;
index e6b27905cbd44da7d2b1f3615a4b596108f41b39..210c128f43bf618776a807781b4b3a06bddab21b 100644 (file)
@@ -84,7 +84,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
      pixfmt-y16
 --- a/drivers/media/v4l2-core/v4l2-ioctl.c
 +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
-@@ -1284,6 +1284,7 @@ static void v4l_fill_fmtdesc(struct v4l2
+@@ -1302,6 +1302,7 @@ static void v4l_fill_fmtdesc(struct v4l2
        case V4L2_PIX_FMT_Y10BPACK:     descr = "10-bit Greyscale (Packed)"; break;
        case V4L2_PIX_FMT_Y10P:         descr = "10-bit Greyscale (MIPI Packed)"; break;
        case V4L2_PIX_FMT_Y12P:         descr = "12-bit Greyscale (MIPI Packed)"; break;
index 825b5969df4e8c12543026d1fe051067a0130c10..5f451a01d42e9b73393269b0a5ba7210e0942665 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -279,6 +279,7 @@ static void xhci_pci_quirks(struct devic
+@@ -286,6 +286,7 @@ static void xhci_pci_quirks(struct devic
        if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) {
                xhci->quirks |= XHCI_LPM_SUPPORT;
                xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
index bf7c09482c384f5921fcaba65e2d2925893a567f..aa3aeeaa42724bec01927af1ab55aa6a7daf7cd5 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/kernel/cgroup/cgroup.c
 +++ b/kernel/cgroup/cgroup.c
-@@ -5667,6 +5667,9 @@ int __init cgroup_init_early(void)
+@@ -5690,6 +5690,9 @@ int __init cgroup_init_early(void)
        return 0;
  }
  
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  /**
   * cgroup_init - cgroup initialization
   *
-@@ -5705,6 +5708,12 @@ int __init cgroup_init(void)
+@@ -5728,6 +5731,12 @@ int __init cgroup_init(void)
  
        mutex_unlock(&cgroup_mutex);
  
@@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        for_each_subsys(ss, ssid) {
                if (ss->early_init) {
                        struct cgroup_subsys_state *css =
-@@ -6242,6 +6251,10 @@ static int __init cgroup_disable(char *s
+@@ -6265,6 +6274,10 @@ static int __init cgroup_disable(char *s
                            strcmp(token, ss->legacy_name))
                                continue;
  
@@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
                        static_branch_disable(cgroup_subsys_enabled_key[i]);
                        pr_info("Disabling %s control group subsystem\n",
                                ss->name);
-@@ -6251,6 +6264,31 @@ static int __init cgroup_disable(char *s
+@@ -6274,6 +6287,31 @@ static int __init cgroup_disable(char *s
  }
  __setup("cgroup_disable=", cgroup_disable);
  
diff --git a/target/linux/bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch b/target/linux/bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch
deleted file mode 100644 (file)
index fda2240..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-From def3d0357e0539e6f6b82f079ff156def6ec2107 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Thu, 19 Aug 2021 08:57:02 +0200
-Subject: [PATCH] ARM: dts: BCM5301X: Fix memory nodes names
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Thix fixes:
-arch/arm/boot/dts/bcm4708-netgear-r6250.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
-arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
-arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
-arch/arm/boot/dts/bcm4709-linksys-ea9200.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
-arch/arm/boot/dts/bcm4709-netgear-r7000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
-arch/arm/boot/dts/bcm4709-netgear-r8000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
-arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
-arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
-arch/arm/boot/dts/bcm53016-meraki-mr32.dt.yaml: /: memory: False schema does not allow {'reg': [[0, 134217728]], 'device_type': ['memory']}
-arch/arm/boot/dts/bcm94708.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
-arch/arm/boot/dts/bcm94709.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
-
-Signed-off-by: RafaÅ‚ MiÅ‚ecki <rafal@milecki.pl>
-Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
----
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 2 +-
- arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts       | 2 +-
- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 2 +-
- arch/arm/boot/dts/bcm4709-linksys-ea9200.dts      | 2 +-
- arch/arm/boot/dts/bcm4709-netgear-r7000.dts       | 2 +-
- arch/arm/boot/dts/bcm4709-netgear-r8000.dts       | 2 +-
- arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 2 +-
- arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts     | 2 +-
- arch/arm/boot/dts/bcm53016-meraki-mr32.dts        | 2 +-
- arch/arm/boot/dts/bcm94708.dts                    | 2 +-
- arch/arm/boot/dts/bcm94709.dts                    | 2 +-
- 11 files changed, 11 insertions(+), 11 deletions(-)
-
---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -20,7 +20,7 @@
-               bootargs = "console=ttyS0,115200 earlycon";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x08000000>;
---- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
-@@ -19,7 +19,7 @@
-               bootargs = "console=ttyS0,115200";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x08000000>;
---- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -19,7 +19,7 @@
-               bootargs = "console=ttyS0,115200";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x18000000>;
---- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-+++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-@@ -16,7 +16,7 @@
-               bootargs = "console=ttyS0,115200";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x08000000>;
---- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
-@@ -19,7 +19,7 @@
-               bootargs = "console=ttyS0,115200";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x08000000>;
---- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -30,7 +30,7 @@
-               bootargs = "console=ttyS0,115200";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x08000000>;
---- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-+++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
-@@ -15,7 +15,7 @@
-               bootargs = "console=ttyS0,115200 earlycon";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>;
-       };
---- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
-+++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
-@@ -16,7 +16,7 @@
-               bootargs = "earlycon";
-       };
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>,
-                     <0x88000000 0x18000000>;
---- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
-+++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
-@@ -20,7 +20,7 @@
-               bootargs = " console=ttyS0,115200n8 earlycon";
-       };
--      memory {
-+      memory@0 {
-               reg = <0x00000000 0x08000000>;
-               device_type = "memory";
-       };
---- a/arch/arm/boot/dts/bcm94708.dts
-+++ b/arch/arm/boot/dts/bcm94708.dts
-@@ -38,7 +38,7 @@
-       model = "NorthStar SVK (BCM94708)";
-       compatible = "brcm,bcm94708", "brcm,bcm4708";
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>;
-       };
---- a/arch/arm/boot/dts/bcm94709.dts
-+++ b/arch/arm/boot/dts/bcm94709.dts
-@@ -38,7 +38,7 @@
-       model = "NorthStar SVK (BCM94709)";
-       compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
--      memory {
-+      memory@0 {
-               device_type = "memory";
-               reg = <0x00000000 0x08000000>;
-       };
index 7e34bae8b4d072fcad448e8dda767acd2484ce24..83c99d32e7c28cb87561cf13a2167a2c75e2c048 100644 (file)
@@ -25,7 +25,7 @@ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
 
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -2080,7 +2080,7 @@ config CPU_MIPS32
+@@ -2081,7 +2081,7 @@ config CPU_MIPS32
  config CPU_MIPS64
        bool
        default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \
index 58cfd5da932619404830b041f70109ee94cd3a50..680b88d8d36f0d93168dd0bd4553603137ebcadd 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -6799,15 +6799,10 @@ void __netif_napi_del(struct napi_struct
+@@ -6802,15 +6802,10 @@ void __netif_napi_del(struct napi_struct
  }
  EXPORT_SYMBOL(__netif_napi_del);
  
@@ -35,7 +35,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        weight = n->weight;
  
        /* This NAPI_STATE_SCHED test is for avoiding a race
-@@ -6827,7 +6822,7 @@ static int napi_poll(struct napi_struct
+@@ -6830,7 +6825,7 @@ static int napi_poll(struct napi_struct
                            n->poll, work, weight);
  
        if (likely(work < weight))
@@ -44,7 +44,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  
        /* Drivers must not modify the NAPI state if they
         * consume the entire weight.  In such cases this code
-@@ -6836,7 +6831,7 @@ static int napi_poll(struct napi_struct
+@@ -6839,7 +6834,7 @@ static int napi_poll(struct napi_struct
         */
        if (unlikely(napi_disable_pending(n))) {
                napi_complete(n);
@@ -53,7 +53,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        }
  
        if (n->gro_bitmask) {
-@@ -6854,12 +6849,29 @@ static int napi_poll(struct napi_struct
+@@ -6857,12 +6852,29 @@ static int napi_poll(struct napi_struct
        if (unlikely(!list_empty(&n->poll_list))) {
                pr_warn_once("%s: Budget exhausted after napi rescheduled\n",
                             n->dev ? n->dev->name : "backlog");
index 4fde0bb7081eb6759177014ffc7028a8289056b8..ef94cc8e01e2fe63911eb715491d6dc20557ff5c 100644 (file)
@@ -131,7 +131,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack)
  {
        const struct net_device_ops *ops = dev->netdev_ops;
-@@ -4261,6 +4283,21 @@ int gro_normal_batch __read_mostly = 8;
+@@ -4264,6 +4286,21 @@ int gro_normal_batch __read_mostly = 8;
  static inline void ____napi_schedule(struct softnet_data *sd,
                                     struct napi_struct *napi)
  {
@@ -153,7 +153,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        list_add_tail(&napi->poll_list, &sd->poll_list);
        __raise_softirq_irqoff(NET_RX_SOFTIRQ);
  }
-@@ -6752,6 +6789,12 @@ void netif_napi_add(struct net_device *d
+@@ -6755,6 +6792,12 @@ void netif_napi_add(struct net_device *d
        set_bit(NAPI_STATE_NPSVC, &napi->state);
        list_add_rcu(&napi->dev_list, &dev->napi_list);
        napi_hash_add(napi);
@@ -166,7 +166,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  }
  EXPORT_SYMBOL(netif_napi_add);
  
-@@ -6768,9 +6811,28 @@ void napi_disable(struct napi_struct *n)
+@@ -6771,9 +6814,28 @@ void napi_disable(struct napi_struct *n)
        hrtimer_cancel(&n->timer);
  
        clear_bit(NAPI_STATE_DISABLE, &n->state);
@@ -195,7 +195,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  static void flush_gro_hash(struct napi_struct *napi)
  {
        int i;
-@@ -6796,6 +6858,11 @@ void __netif_napi_del(struct napi_struct
+@@ -6799,6 +6861,11 @@ void __netif_napi_del(struct napi_struct
  
        flush_gro_hash(napi);
        napi->gro_bitmask = 0;
@@ -207,7 +207,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  }
  EXPORT_SYMBOL(__netif_napi_del);
  
-@@ -6877,6 +6944,51 @@ static int napi_poll(struct napi_struct
+@@ -6880,6 +6947,51 @@ static int napi_poll(struct napi_struct
        return work;
  }
  
index dfe8b68d4a4aad6809ef69deba280e20889fd5ee..de1cd08df4a80bb9b32055a277aa1c68183bdb07 100644 (file)
@@ -57,7 +57,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
   *    @n: NAPI context
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -4287,8 +4287,9 @@ static inline void ____napi_schedule(str
+@@ -4290,8 +4290,9 @@ static inline void ____napi_schedule(str
  
        if (test_bit(NAPI_STATE_THREADED, &napi->state)) {
                /* Paired with smp_mb__before_atomic() in
@@ -69,7 +69,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
                 * wake_up_process() when it's not NULL.
                 */
                thread = READ_ONCE(napi->thread);
-@@ -6762,6 +6763,49 @@ static void init_gro_hash(struct napi_st
+@@ -6765,6 +6766,49 @@ static void init_gro_hash(struct napi_st
        napi->gro_bitmask = 0;
  }
  
@@ -121,7 +121,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  {
 --- a/net/core/net-sysfs.c
 +++ b/net/core/net-sysfs.c
-@@ -538,6 +538,45 @@ static ssize_t phys_switch_id_show(struc
+@@ -587,6 +587,45 @@ static ssize_t phys_switch_id_show(struc
  }
  static DEVICE_ATTR_RO(phys_switch_id);
  
@@ -167,7 +167,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  static struct attribute *net_class_attrs[] __ro_after_init = {
        &dev_attr_netdev_group.attr,
        &dev_attr_type.attr,
-@@ -570,6 +609,7 @@ static struct attribute *net_class_attrs
+@@ -619,6 +658,7 @@ static struct attribute *net_class_attrs
        &dev_attr_proto_down.attr,
        &dev_attr_carrier_up_count.attr,
        &dev_attr_carrier_down_count.attr,
index 6617ee172e49d80dafc85dce74eaad0b46434781..a9e83a6d234470c68c18f8dad2b279bbd664d5bf 100644 (file)
@@ -45,7 +45,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
  enum gro_result {
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -4294,6 +4294,8 @@ static inline void ____napi_schedule(str
+@@ -4297,6 +4297,8 @@ static inline void ____napi_schedule(str
                 */
                thread = READ_ONCE(napi->thread);
                if (thread) {
@@ -54,7 +54,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
                        wake_up_process(thread);
                        return;
                }
-@@ -6554,7 +6556,8 @@ bool napi_complete_done(struct napi_stru
+@@ -6557,7 +6559,8 @@ bool napi_complete_done(struct napi_stru
  
                WARN_ON_ONCE(!(val & NAPIF_STATE_SCHED));
  
@@ -64,7 +64,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
  
                /* If STATE_MISSED was set, leave STATE_SCHED set,
                 * because we will call napi->poll() one more time.
-@@ -6990,16 +6993,25 @@ static int napi_poll(struct napi_struct
+@@ -6993,16 +6996,25 @@ static int napi_poll(struct napi_struct
  
  static int napi_thread_wait(struct napi_struct *napi)
  {
index 1ea38ed286cc39fb528ad7beb419753c296ffa8d..d012f49bf591b72a609928754ae8b38bf43e3475 100644 (file)
@@ -34,7 +34,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -6997,7 +6997,7 @@ static int napi_thread_wait(struct napi_
+@@ -7000,7 +7000,7 @@ static int napi_thread_wait(struct napi_
  
        set_current_state(TASK_INTERRUPTIBLE);
  
@@ -43,7 +43,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
                /* Testing SCHED_THREADED bit here to make sure the current
                 * kthread owns this napi and could poll on this napi.
                 * Testing SCHED bit is not enough because SCHED bit might be
-@@ -7015,6 +7015,7 @@ static int napi_thread_wait(struct napi_
+@@ -7018,6 +7018,7 @@ static int napi_thread_wait(struct napi_
                set_current_state(TASK_INTERRUPTIBLE);
        }
        __set_current_state(TASK_RUNNING);
index 8a70f375ed45f1ff99e427329615629e6d7a275a..416e20356dd37083002fa27fc637b939fb127f15 100644 (file)
@@ -33,7 +33,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  struct nf_icmp_net {
 --- a/net/netfilter/nf_conntrack_proto_udp.c
 +++ b/net/netfilter/nf_conntrack_proto_udp.c
-@@ -270,6 +270,11 @@ void nf_conntrack_udp_init_net(struct ne
+@@ -273,6 +273,11 @@ void nf_conntrack_udp_init_net(struct ne
  
        for (i = 0; i < UDP_CT_MAX; i++)
                un->timeouts[i] = udp_timeouts[i];
index 340efbd7bc18e3c13e118e9c3c1e98d21379d193..ab723b7b42519e3d49c02fc47b28284b363f6c38 100644 (file)
@@ -1501,7 +1501,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
                        if (ret)
 --- a/drivers/net/ethernet/ti/davinci_emac.c
 +++ b/drivers/net/ethernet/ti/davinci_emac.c
-@@ -1687,7 +1687,6 @@ davinci_emac_of_get_pdata(struct platfor
+@@ -1699,7 +1699,6 @@ davinci_emac_of_get_pdata(struct platfor
        const struct of_device_id *match;
        const struct emac_platform_data *auxdata;
        struct emac_platform_data *pdata = NULL;
@@ -1509,7 +1509,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  
        if (!IS_ENABLED(CONFIG_OF) || !pdev->dev.of_node)
                return dev_get_platdata(&pdev->dev);
-@@ -1699,11 +1698,8 @@ davinci_emac_of_get_pdata(struct platfor
+@@ -1711,11 +1710,8 @@ davinci_emac_of_get_pdata(struct platfor
        np = pdev->dev.of_node;
        pdata->version = EMAC_VERSION_2;
  
index 41d4fd54fcd65d37367d427647935983faf149d7..c0b3c253394c19bc23c8a7587bcf32169fd2721a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/block/blk.h
 +++ b/block/blk.h
-@@ -355,6 +355,7 @@ char *disk_name(struct gendisk *hd, int
+@@ -361,6 +361,7 @@ char *disk_name(struct gendisk *hd, int
  #define ADDPART_FLAG_NONE     0
  #define ADDPART_FLAG_RAID     1
  #define ADDPART_FLAG_WHOLEDISK        2
index 460fb8654236730538c0e9956b36303e7d0f49a6..70200f3eb3a66b8a07119c7d4b61b58ce974c03f 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/include/net/sch_generic.h
 +++ b/include/net/sch_generic.h
-@@ -623,12 +623,13 @@ extern struct Qdisc_ops noop_qdisc_ops;
+@@ -625,12 +625,13 @@ extern struct Qdisc_ops noop_qdisc_ops;
  extern struct Qdisc_ops pfifo_fast_ops;
  extern struct Qdisc_ops mq_qdisc_ops;
  extern struct Qdisc_ops noqueue_qdisc_ops;
index b6fe6c65d384e0088fa24ed4b3df852c1a814420..67808c35f83d358f9de73f5a054f38651c353166 100644 (file)
@@ -105,7 +105,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        help
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -3644,6 +3644,11 @@ static int xmit_one(struct sk_buff *skb,
+@@ -3646,6 +3646,11 @@ static int xmit_one(struct sk_buff *skb,
        if (dev_nit_active(dev))
                dev_queue_xmit_nit(skb, dev);
  
index cd63206d43214fb80882fbe7c9fdeea048c6b25d..f6228189da21ba955223c3163d339da22e2e3078 100644 (file)
@@ -63,7 +63,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +dma-shared-buffer-objs :=  $(dma-buf-objs-y)
 --- a/drivers/dma-buf/dma-buf.c
 +++ b/drivers/dma-buf/dma-buf.c
-@@ -1418,4 +1418,5 @@ static void __exit dma_buf_deinit(void)
+@@ -1419,4 +1419,5 @@ static void __exit dma_buf_deinit(void)
        dma_buf_uninit_debugfs();
        kern_unmount(dma_buf_mnt);
  }
index 59f399d3cf37be9ee94986c2ab68be5cf052ab5f..240c367e5935d1240b8aad4be9b1f4ac86162623 100644 (file)
@@ -19,7 +19,7 @@ Acked-by: Rob Landley <rob@landley.net>
  config CEVT_BCM1480
        bool
  
-@@ -3174,6 +3171,18 @@ choice
+@@ -3175,6 +3172,18 @@ choice
                bool "Extend builtin kernel arguments with bootloader arguments"
  endchoice
  
index 5140b509241e50ed37910e05a0e7a58811b9a53b..6f11ba18f5063532cb75bd9346383efbfd57c746 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        __u16                   tc_index;       /* traffic control index */
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -6056,6 +6056,9 @@ static enum gro_result dev_gro_receive(s
+@@ -6059,6 +6059,9 @@ static enum gro_result dev_gro_receive(s
        int same_flow;
        int grow;
  
@@ -42,7 +42,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (netif_elide_gro(skb->dev))
                goto normal;
  
-@@ -8033,6 +8036,48 @@ static void __netdev_adjacent_dev_unlink
+@@ -8036,6 +8039,48 @@ static void __netdev_adjacent_dev_unlink
                                           &upper_dev->adj_list.lower);
  }
  
@@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  static int __netdev_upper_dev_link(struct net_device *dev,
                                   struct net_device *upper_dev, bool master,
                                   void *upper_priv, void *upper_info,
-@@ -8084,6 +8129,7 @@ static int __netdev_upper_dev_link(struc
+@@ -8087,6 +8132,7 @@ static int __netdev_upper_dev_link(struc
        if (ret)
                return ret;
  
@@ -99,7 +99,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        ret = call_netdevice_notifiers_info(NETDEV_CHANGEUPPER,
                                            &changeupper_info.info);
        ret = notifier_to_errno(ret);
-@@ -8180,6 +8226,7 @@ static void __netdev_upper_dev_unlink(st
+@@ -8183,6 +8229,7 @@ static void __netdev_upper_dev_unlink(st
  
        __netdev_adjacent_dev_unlink_neighbour(dev, upper_dev);
  
@@ -107,7 +107,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        call_netdevice_notifiers_info(NETDEV_CHANGEUPPER,
                                      &changeupper_info.info);
  
-@@ -8966,6 +9013,7 @@ int dev_set_mac_address(struct net_devic
+@@ -8969,6 +9016,7 @@ int dev_set_mac_address(struct net_devic
        if (err)
                return err;
        dev->addr_assign_type = NET_ADDR_SET;
index 5a970e87ac868c9cfeaca5918cb79fba7f03cacf..a1a0371fbc48de6c1e1a8a64ac23975df13d2173 100644 (file)
@@ -13,9 +13,9 @@ Signed-off-by: John Crispin <john@phrozen.org>
 @@ -61,7 +61,7 @@ KBUILD_CFLAGS        += $(call cc-option,-fno-i
  # macro, but instead defines a whole series of macros which makes
  # testing for a specific architecture or later rather impossible.
- arch-$(CONFIG_CPU_32v7M)      =-D__LINUX_ARM_ARCH__=7 -march=armv7-m -Wa,-march=armv7-m
--arch-$(CONFIG_CPU_32v7)               =-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a)
+ arch-$(CONFIG_CPU_32v7M)      =-D__LINUX_ARM_ARCH__=7 -march=armv7-m
+-arch-$(CONFIG_CPU_32v7)               =-D__LINUX_ARM_ARCH__=7 -march=armv7-a
 +arch-$(CONFIG_CPU_32v7)               =-D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15
- arch-$(CONFIG_CPU_32v6)               =-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6)
+ arch-$(CONFIG_CPU_32v6)               =-D__LINUX_ARM_ARCH__=6 -march=armv6
  # Only override the compiler option if ARMv6. The ARMv6K extensions are
  # always available in ARMv7
diff --git a/target/linux/lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch b/target/linux/lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch
deleted file mode 100644 (file)
index 4f23cc9..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-From ae9a2ac4d283b2925a97523a05ea024499329c16 Mon Sep 17 00:00:00 2001
-From: Miquel Raynal <miquel.raynal@bootlin.com>
-Date: Wed, 29 Sep 2021 00:22:58 +0200
-Subject: [PATCH] mtd: rawnand: xway: Keep the driver compatible with on-die
- ECC engines
-
-Following the introduction of the generic ECC engine infrastructure, it
-was necessary to reorganize the code and move the ECC configuration in
-the ->attach_chip() hook. Failing to do that properly lead to a first
-series of fixes supposed to stabilize the situation. Unfortunately, this
-only fixed the use of software ECC engines, preventing any other kind of
-engine to be used, including on-die ones.
-
-It is now time to (finally) fix the situation by ensuring that we still
-provide a default (eg. software ECC) but will still support different
-ECC engines such as on-die ECC engines if properly described in the
-device tree.
-
-There are no changes needed on the core side in order to do this, but we
-just need to leverage the logic there which allows:
-1- a subsystem default (set to Host engines in the raw NAND world)
-2- a driver specific default (here set to software ECC engines)
-3- any type of engine requested by the user (ie. described in the DT)
-
-As the raw NAND subsystem has not yet been fully converted to the ECC
-engine infrastructure, in order to provide a default ECC engine for this
-driver we need to set chip->ecc.engine_type *before* calling
-nand_scan(). During the initialization step, the core will consider this
-entry as the default engine for this driver. This value may of course
-be overloaded by the user if the usual DT properties are provided.
-
-Fixes: d525914b5bd8 ("mtd: rawnand: xway: Move the ECC initialization to ->attach_chip()")
-Cc: stable@vger.kernel.org
-Cc: Jan Hoffmann <jan@3e8.eu>
-Cc: Kestrel seventyfour <kestrelseventyfour@gmail.com>
-Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
----
- drivers/mtd/nand/raw/xway_nand.c | 12 +++++++++---
- 1 file changed, 9 insertions(+), 3 deletions(-)
-
---- a/drivers/mtd/nand/raw/xway_nand.c
-+++ b/drivers/mtd/nand/raw/xway_nand.c
-@@ -148,9 +148,8 @@ static void xway_write_buf(struct nand_c
- static int xway_attach_chip(struct nand_chip *chip)
- {
--      chip->ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT;
--
--      if (chip->ecc.algo == NAND_ECC_ALGO_UNKNOWN)
-+      if (chip->ecc.engine_type == NAND_ECC_ENGINE_TYPE_SOFT &&
-+          chip->ecc.algo == NAND_ECC_ALGO_UNKNOWN)
-               chip->ecc.algo = NAND_ECC_ALGO_HAMMING;
-       return 0;
-@@ -219,6 +218,13 @@ static int xway_nand_probe(struct platfo
-                   | NAND_CON_SE_P | NAND_CON_WP_P | NAND_CON_PRE_P
-                   | cs_flag, EBU_NAND_CON);
-+      /*
-+       * This driver assumes that the default ECC engine should be TYPE_SOFT.
-+       * Set ->engine_type before registering the NAND devices in order to
-+       * provide a driver specific default value.
-+       */
-+      data->chip.ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT;
-+
-       /* Scan to find existence of the device */
-       err = nand_scan(&data->chip, 1);
-       if (err)
diff --git a/target/linux/lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch b/target/linux/lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch
deleted file mode 100644 (file)
index 05227c8..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 497acc03cd3918baabe25d46e30c5c62b998e24d Mon Sep 17 00:00:00 2001
-From: Aleksander Jan Bajkowski <olek2@wp.pl>
-Date: Sat, 19 Jun 2021 13:38:12 +0200
-Subject: [PATCH 1/5] MIPS: lantiq: dma: add small delay after reset
-
-Reading the DMA registers immediately after the reset causes
-Data Bus Error. Adding a small delay fixes this problem.
-
-Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
----
- arch/mips/lantiq/xway/dma.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/arch/mips/lantiq/xway/dma.c
-+++ b/arch/mips/lantiq/xway/dma.c
-@@ -11,6 +11,7 @@
- #include <linux/export.h>
- #include <linux/spinlock.h>
- #include <linux/clk.h>
-+#include <linux/delay.h>
- #include <linux/err.h>
- #include <lantiq_soc.h>
-@@ -221,6 +222,8 @@ ltq_dma_init(struct platform_device *pde
-       clk_enable(clk);
-       ltq_dma_w32_mask(0, DMA_RESET, LTQ_DMA_CTRL);
-+      usleep_range(1, 10);
-+
-       /* disable all interrupts */
-       ltq_dma_w32(0, LTQ_DMA_IRNEN);
diff --git a/target/linux/lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch b/target/linux/lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch
deleted file mode 100644 (file)
index 5d1862d..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-From d31260c2f6a5cdddb052ab7cb09560eb23ce6597 Mon Sep 17 00:00:00 2001
-From: Aleksander Jan Bajkowski <olek2@wp.pl>
-Date: Thu, 15 Apr 2021 21:28:24 +0200
-Subject: [PATCH 2/5] MIPS: lantiq: dma: reset correct number of channel
-
-Different SoCs have a different number of channels, e.g .:
-* amazon-se has 10 channels,
-* danube+ar9 have 20 channels,
-* vr9 has 28 channels,
-* ar10 has 24 channels.
-
-We can read the ID register and, depending on the reported
-number of channels, reset the appropriate number of channels.
-
-Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
----
- arch/mips/lantiq/xway/dma.c | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
---- a/arch/mips/lantiq/xway/dma.c
-+++ b/arch/mips/lantiq/xway/dma.c
-@@ -30,6 +30,7 @@
- #define LTQ_DMA_PCTRL         0x44
- #define LTQ_DMA_IRNEN         0xf4
-+#define DMA_ID_CHNR           GENMASK(26, 20) /* channel number */
- #define DMA_DESCPT            BIT(3)          /* descriptor complete irq */
- #define DMA_TX                        BIT(8)          /* TX channel direction */
- #define DMA_CHAN_ON           BIT(0)          /* channel on / off bit */
-@@ -40,7 +41,6 @@
- #define DMA_POLL              BIT(31)         /* turn on channel polling */
- #define DMA_CLK_DIV4          BIT(6)          /* polling clock divider */
- #define DMA_2W_BURST          BIT(1)          /* 2 word burst length */
--#define DMA_MAX_CHANNEL               20              /* the soc has 20 channels */
- #define DMA_ETOP_ENDIANNESS   (0xf << 8) /* endianness swap etop channels */
- #define DMA_WEIGHT    (BIT(17) | BIT(16))     /* default channel wheight */
-@@ -206,7 +206,7 @@ ltq_dma_init(struct platform_device *pde
- {
-       struct clk *clk;
-       struct resource *res;
--      unsigned id;
-+      unsigned int id, nchannels;
-       int i;
-       res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-@@ -228,17 +228,18 @@ ltq_dma_init(struct platform_device *pde
-       ltq_dma_w32(0, LTQ_DMA_IRNEN);
-       /* reset/configure each channel */
--      for (i = 0; i < DMA_MAX_CHANNEL; i++) {
-+      id = ltq_dma_r32(LTQ_DMA_ID);
-+      nchannels = ((id & DMA_ID_CHNR) >> 20);
-+      for (i = 0; i < nchannels; i++) {
-               ltq_dma_w32(i, LTQ_DMA_CS);
-               ltq_dma_w32(DMA_CHAN_RST, LTQ_DMA_CCTRL);
-               ltq_dma_w32(DMA_POLL | DMA_CLK_DIV4, LTQ_DMA_CPOLL);
-               ltq_dma_w32_mask(DMA_CHAN_ON, 0, LTQ_DMA_CCTRL);
-       }
--      id = ltq_dma_r32(LTQ_DMA_ID);
-       dev_info(&pdev->dev,
-               "Init done - hw rev: %X, ports: %d, channels: %d\n",
--              id & 0x1f, (id >> 16) & 0xf, id >> 20);
-+              id & 0x1f, (id >> 16) & 0xf, nchannels);
-       return 0;
- }
diff --git a/target/linux/lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch b/target/linux/lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch
deleted file mode 100644 (file)
index 67423d2..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7d9ea9052d6680d2910b8b005c397d95b3a8b012 Mon Sep 17 00:00:00 2001
-From: Aleksander Jan Bajkowski <olek2@wp.pl>
-Date: Wed, 7 Apr 2021 21:04:39 +0200
-Subject: [PATCH 3/5] MIPS: lantiq: dma: fix burst length for DEU
-
-The current definition of 2W burst length is invalid.
-This patch fixes it. Current downstream DEU driver doesn't
-use DMA. An incorrect burst length value doesn't cause any
-errors. This patch also adds other burst length values.
-
-Fixes: dfec1a827d2b ("MIPS: Lantiq: Add DMA support")
-Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
----
- arch/mips/lantiq/xway/dma.c | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
---- a/arch/mips/lantiq/xway/dma.c
-+++ b/arch/mips/lantiq/xway/dma.c
-@@ -40,7 +40,11 @@
- #define DMA_IRQ_ACK           0x7e            /* IRQ status register */
- #define DMA_POLL              BIT(31)         /* turn on channel polling */
- #define DMA_CLK_DIV4          BIT(6)          /* polling clock divider */
--#define DMA_2W_BURST          BIT(1)          /* 2 word burst length */
-+#define DMA_PCTRL_2W_BURST    0x1             /* 2 word burst length */
-+#define DMA_PCTRL_4W_BURST    0x2             /* 4 word burst length */
-+#define DMA_PCTRL_8W_BURST    0x3             /* 8 word burst length */
-+#define DMA_TX_BURST_SHIFT    4               /* tx burst shift */
-+#define DMA_RX_BURST_SHIFT    2               /* rx burst shift */
- #define DMA_ETOP_ENDIANNESS   (0xf << 8) /* endianness swap etop channels */
- #define DMA_WEIGHT    (BIT(17) | BIT(16))     /* default channel wheight */
-@@ -191,7 +195,8 @@ ltq_dma_init_port(int p)
-               break;
-       case DMA_PORT_DEU:
--              ltq_dma_w32((DMA_2W_BURST << 4) | (DMA_2W_BURST << 2),
-+              ltq_dma_w32((DMA_PCTRL_2W_BURST << DMA_TX_BURST_SHIFT) |
-+                      (DMA_PCTRL_2W_BURST << DMA_RX_BURST_SHIFT),
-                       LTQ_DMA_PCTRL);
-               break;
index 2444f12df8fb6aff9296c2ef8e05c33ba057e5d5..49285500bf347514ed0b7a2cf908144944e6b0ed 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -2430,6 +2430,12 @@ config MIPS_VPE_LOADER
+@@ -2431,6 +2431,12 @@ config MIPS_VPE_LOADER
          Includes a loader for loading an elf relocatable object
          onto another VPE and running it.
  
index 5a819293a54c0606ac118287f3b6c88764b90e01..d18f49e1b76b0e3773aaab337f389defc599a4e9 100644 (file)
@@ -19,7 +19,7 @@
        },
        [PORT_NPCM] = {
                .name           = "Nuvoton 16550",
-@@ -2719,6 +2719,11 @@ serial8250_do_set_termios(struct uart_po
+@@ -2732,6 +2732,11 @@ serial8250_do_set_termios(struct uart_po
        unsigned long flags;
        unsigned int baud, quot, frac = 0;
  
index 4da431ec23a23ade12e6c8a05222b3c845f0c36c..9bf9154e91aa130d87bb9cd8bbc6269516cb15fc 100644 (file)
@@ -73,7 +73,7 @@ Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
        help
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
-@@ -26,6 +26,7 @@ obj-$(CONFIG_CORENET_GENERIC)   += coren
+@@ -28,6 +28,7 @@ obj-$(CONFIG_CORENET_GENERIC)   += coren
  obj-$(CONFIG_FB_FSL_DIU)      += t1042rdb_diu.o
  obj-$(CONFIG_STX_GP3)   += stx_gp3.o
  obj-$(CONFIG_TQM85xx)   += tqm85xx.o
index 34568398c2ff067a65b7fa2592f3e504be48d93b..da95cd2716210954129a953b288d567e49573443 100644 (file)
@@ -20,7 +20,7 @@
        select DEFAULT_UIMAGE
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
-@@ -10,6 +10,7 @@ obj-y += common.o
+@@ -12,6 +12,7 @@ obj-y += common.o
  obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o
  obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o
  obj-$(CONFIG_C293_PCIE)   += c293pcie.o
index 2900a1bea290d4702954f98ebadddae882d7bd35..3c64b068470f7d29679bc10ab2017f436ea25297 100644 (file)
@@ -19,7 +19,7 @@
        help
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
-@@ -25,6 +25,7 @@ obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o
+@@ -27,6 +27,7 @@ obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o
  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o
  obj-$(CONFIG_CORENET_GENERIC)   += corenet_generic.o
  obj-$(CONFIG_FB_FSL_DIU)      += t1042rdb_diu.o
index a08bc302f21139fcdedba9d6ef15dfcaed450e61..4913c614a803255f3344acc36d0ca653e16e8c66 100644 (file)
@@ -20,7 +20,7 @@
        select DEFAULT_UIMAGE
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
-@@ -22,6 +22,7 @@ obj-$(CONFIG_P1010_RDB)   += p1010rdb.o
+@@ -24,6 +24,7 @@ obj-$(CONFIG_P1010_RDB)   += p1010rdb.o
  obj-$(CONFIG_P1022_DS)    += p1022_ds.o
  obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o
  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o
index 4bacedbcd73eaad4521f4500b9c1550fc81d602e..124376ffd9972e3a9cd0a5dffca8a734594fbfd2 100644 (file)
@@ -20,7 +20,7 @@
        select DEFAULT_UIMAGE
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
-@@ -24,6 +24,7 @@ obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o
+@@ -26,6 +26,7 @@ obj-$(CONFIG_P1022_RDK)   += p1022_rdk.o
  obj-$(CONFIG_P1023_RDB)   += p1023_rdb.o
  obj-$(CONFIG_PANDA)       += panda.o
  obj-$(CONFIG_TWR_P102x)   += twr_p102x.o
index d4cf5af31fbfc948b43a335d5478a7b22cea1fe2..9bedaa1a87d5578f1ee8fec12d13d255bf33d21d 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  #include <linux/platform_data/x86/apple.h>
  #include <linux/pm_runtime.h>
  #include <linux/suspend.h>
-@@ -5762,3 +5763,34 @@ static void apex_pci_fixup_class(struct
+@@ -5763,3 +5764,34 @@ static void apex_pci_fixup_class(struct
  }
  DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a,
                               PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);
index c9fcefe18b0856c78ebdea2e509c5bde153f0782..ca8550e15fbe408071f6c1f58ae30a1750feeaaf 100644 (file)
@@ -60,7 +60,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
        }
  
        return 0;
-@@ -1186,7 +1186,7 @@ void phy_state_machine(struct work_struc
+@@ -1191,7 +1191,7 @@ void phy_state_machine(struct work_struc
        case PHY_HALTED:
                if (phydev->link) {
                        phydev->link = 0;
index 0ef06615b6ea72f30fa5dba87dc6998b81936c0e..b83daffd4f45d0ce32ac6806034c58c870b0b59c 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
        }
  
        return 0;
-@@ -1186,7 +1189,10 @@ void phy_state_machine(struct work_struc
+@@ -1191,7 +1194,10 @@ void phy_state_machine(struct work_struc
        case PHY_HALTED:
                if (phydev->link) {
                        phydev->link = 0;
index a01f3a10783ef738646d35944293cfa27839e192..4708076e8952e06ec2d2b2ca98158d1379a91989 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/drivers/media/usb/uvc/uvc_driver.c
 +++ b/drivers/media/usb/uvc/uvc_driver.c
-@@ -3004,6 +3004,18 @@ static const struct usb_device_id uvc_id
+@@ -3009,6 +3009,18 @@ static const struct usb_device_id uvc_id
          .bInterfaceSubClass   = 1,
          .bInterfaceProtocol   = 0,
          .driver_info          = UVC_INFO_META(V4L2_META_FMT_D4XX) },
@@ -64,7 +64,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  
  #include <media/v4l2-common.h>
  
-@@ -1183,9 +1188,149 @@ static void uvc_video_decode_data(struct
+@@ -1188,9 +1193,149 @@ static void uvc_video_decode_data(struct
        uvc_urb->async_operations++;
  }
  
@@ -214,7 +214,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
        /* Mark the buffer as done if the EOF marker is set. */
        if (data[1] & UVC_STREAM_EOF && buf->bytesused != 0) {
                uvc_trace(UVC_TRACE_FRAME, "Frame complete (EOF found).\n");
-@@ -1742,6 +1887,8 @@ static int uvc_init_video_isoc(struct uv
+@@ -1747,6 +1892,8 @@ static int uvc_init_video_isoc(struct uv
        if (npackets == 0)
                return -ENOMEM;
  
index 634033d18d3fe5862d94037dca524a5d75e68b06..6712af295aa37dc6209dad153022b5f46b3bbebb 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/drivers/tty/serial/serial_core.c
 +++ b/drivers/tty/serial/serial_core.c
-@@ -418,6 +418,9 @@ uart_get_baud_rate(struct uart_port *por
+@@ -425,6 +425,9 @@ uart_get_baud_rate(struct uart_port *por
                break;
        }
  
index a78f070d63dc11ae4f5410d5cbb9035ed72b41c3..365a62bf30927432eb39b6113bc114448074bd7f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/clocksource/Kconfig
 +++ b/drivers/clocksource/Kconfig
-@@ -126,6 +126,15 @@ config RDA_TIMER
+@@ -127,6 +127,15 @@ config RDA_TIMER
        help
          Enables the support for the RDA Micro timer driver.