diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-01-28 13:07:54 +0100 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-01-28 18:17:32 +0100 |
commit | f003d732d726758f11f0c308758637c434c37c1a (patch) | |
tree | 612a859c7107ce32e8112fcc687e7488a5747636 /target/linux/generic | |
parent | 880a4b334ebc0fc7668343e7feafffa6767d6b08 (diff) | |
download | openwrt-f003d732d726758f11f0c308758637c434c37c1a.tar.gz openwrt-f003d732d726758f11f0c308758637c434c37c1a.tar.bz2 openwrt-f003d732d726758f11f0c308758637c434c37c1a.zip |
kernel: bump 4.19 to 4.19.18
Refreshed all patches.
Removed upstreamed:
- 031-v5.0-MIPS-BCM47XX-Setup-struct-device-for-the-SoC.patch
- 142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch
Removed upstreamed hunk in:
- 800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic')
12 files changed, 20 insertions, 95 deletions
diff --git a/target/linux/generic/backport-4.19/800-v5.0-usb-leds-fix-regression-in-usbport-led-trigger.patch b/target/linux/generic/backport-4.19/800-v5.0-usb-leds-fix-regression-in-usbport-led-trigger.patch index 112a01a8dc..11a0592f3f 100644 --- a/target/linux/generic/backport-4.19/800-v5.0-usb-leds-fix-regression-in-usbport-led-trigger.patch +++ b/target/linux/generic/backport-4.19/800-v5.0-usb-leds-fix-regression-in-usbport-led-trigger.patch @@ -26,7 +26,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- --- a/drivers/usb/core/ledtrig-usbport.c +++ b/drivers/usb/core/ledtrig-usbport.c -@@ -119,11 +119,6 @@ static const struct attribute_group ports_group = { +@@ -119,11 +119,6 @@ static const struct attribute_group port .attrs = ports_attrs, }; @@ -38,7 +38,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> /*************************************** * Adding & removing ports ***************************************/ -@@ -307,6 +302,7 @@ static int usbport_trig_notify(struct notifier_block *nb, unsigned long action, +@@ -307,6 +302,7 @@ static int usbport_trig_notify(struct no static int usbport_trig_activate(struct led_classdev *led_cdev) { struct usbport_trig_data *usbport_data; @@ -46,7 +46,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> usbport_data = kzalloc(sizeof(*usbport_data), GFP_KERNEL); if (!usbport_data) -@@ -315,6 +311,9 @@ static int usbport_trig_activate(struct led_classdev *led_cdev) +@@ -315,6 +311,9 @@ static int usbport_trig_activate(struct /* List of ports */ INIT_LIST_HEAD(&usbport_data->ports); @@ -56,7 +56,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> usb_for_each_dev(usbport_data, usbport_trig_add_usb_dev_ports); usbport_trig_update_count(usbport_data); -@@ -322,8 +321,11 @@ static int usbport_trig_activate(struct led_classdev *led_cdev) +@@ -322,8 +321,11 @@ static int usbport_trig_activate(struct usbport_data->nb.notifier_call = usbport_trig_notify; led_set_trigger_data(led_cdev, usbport_data); usb_register_notify(&usbport_data->nb); @@ -69,7 +69,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> } static void usbport_trig_deactivate(struct led_classdev *led_cdev) -@@ -335,6 +337,8 @@ static void usbport_trig_deactivate(struct led_classdev *led_cdev) +@@ -335,6 +337,8 @@ static void usbport_trig_deactivate(stru usbport_trig_remove_port(usbport_data, port); } @@ -78,7 +78,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> usb_unregister_notify(&usbport_data->nb); kfree(usbport_data); -@@ -344,7 +348,6 @@ static struct led_trigger usbport_led_trigger = { +@@ -344,7 +348,6 @@ static struct led_trigger usbport_led_tr .name = "usbport", .activate = usbport_trig_activate, .deactivate = usbport_trig_deactivate, @@ -86,6 +86,3 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> }; static int __init usbport_trig_init(void) --- -cgit 1.2-0.3.lf.el7 - diff --git a/target/linux/generic/hack-4.19/204-module_strip.patch b/target/linux/generic/hack-4.19/204-module_strip.patch index 9a62a812cd..2630e45b6d 100644 --- a/target/linux/generic/hack-4.19/204-module_strip.patch +++ b/target/linux/generic/hack-4.19/204-module_strip.patch @@ -98,7 +98,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> --- a/init/Kconfig +++ b/init/Kconfig -@@ -1993,6 +1993,13 @@ config TRIM_UNUSED_KSYMS +@@ -1994,6 +1994,13 @@ config TRIM_UNUSED_KSYMS If unsure, or if you need to build out-of-tree modules, say N. diff --git a/target/linux/generic/hack-4.19/301-mips_image_cmdline_hack.patch b/target/linux/generic/hack-4.19/301-mips_image_cmdline_hack.patch index e7593f78e9..7a6948d481 100644 --- a/target/linux/generic/hack-4.19/301-mips_image_cmdline_hack.patch +++ b/target/linux/generic/hack-4.19/301-mips_image_cmdline_hack.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1140,6 +1140,10 @@ config SYNC_R4K +@@ -1143,6 +1143,10 @@ config SYNC_R4K config MIPS_MACHINE def_bool n diff --git a/target/linux/generic/hack-4.19/901-debloat_sock_diag.patch b/target/linux/generic/hack-4.19/901-debloat_sock_diag.patch index e949964cbf..33c8b72317 100644 --- a/target/linux/generic/hack-4.19/901-debloat_sock_diag.patch +++ b/target/linux/generic/hack-4.19/901-debloat_sock_diag.patch @@ -61,7 +61,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie) { struct dst_entry *dst = __sk_dst_get(sk); -@@ -1600,9 +1612,11 @@ static void __sk_free(struct sock *sk) +@@ -1601,9 +1613,11 @@ static void __sk_free(struct sock *sk) if (likely(sk->sk_net_refcnt)) sock_inuse_add(sock_net(sk), -1); diff --git a/target/linux/generic/hack-4.19/902-debloat_proc.patch b/target/linux/generic/hack-4.19/902-debloat_proc.patch index b4eccd3a41..3202542500 100644 --- a/target/linux/generic/hack-4.19/902-debloat_proc.patch +++ b/target/linux/generic/hack-4.19/902-debloat_proc.patch @@ -327,7 +327,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> --- a/net/core/sock.c +++ b/net/core/sock.c -@@ -3482,6 +3482,8 @@ static __net_initdata struct pernet_oper +@@ -3483,6 +3483,8 @@ static __net_initdata struct pernet_oper static int __init proto_init(void) { diff --git a/target/linux/generic/pending-4.19/142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch b/target/linux/generic/pending-4.19/142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch deleted file mode 100644 index 05f83ccfc9..0000000000 --- a/target/linux/generic/pending-4.19/142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch +++ /dev/null @@ -1,62 +0,0 @@ -From a788c5272769ddbcdbab297cf386413eeac04463 Mon Sep 17 00:00:00 2001 -From: Daniel Santos <daniel.santos@pobox.com> -Date: Fri, 19 Oct 2018 03:30:20 -0500 -Subject: [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep - breakage - -jffs2_sync_fs makes the assumption that if CONFIG_JFFS2_FS_WRITEBUFFER -is defined then a write buffer is available and has been initialized. -However, this does is not the case when the mtd device has no -out-of-band buffer: - -int jffs2_nand_flash_setup(struct jffs2_sb_info *c) -{ - if (!c->mtd->oobsize) - return 0; -... - -The resulting call to cancel_delayed_work_sync passing a uninitialized -(but zeroed) delayed_work struct forces lockdep to become disabled. - -[ 90.050639] overlayfs: upper fs does not support tmpfile. -[ 90.652264] INFO: trying to register non-static key. -[ 90.662171] the code is fine but needs lockdep annotation. -[ 90.673090] turning off the locking correctness validator. -[ 90.684021] CPU: 0 PID: 1762 Comm: mount_root Not tainted 4.14.63 #0 -[ 90.696672] Stack : 00000000 00000000 80d8f6a2 00000038 805f0000 80444600 8fe364f4 805dfbe7 -[ 90.713349] 80563a30 000006e2 8068370c 00000001 00000000 00000001 8e2fdc48 ffffffff -[ 90.730020] 00000000 00000000 80d90000 00000000 00000106 00000000 6465746e 312e3420 -[ 90.746690] 6b636f6c 03bf0000 f8000000 20676e69 00000000 80000000 00000000 8e2c2a90 -[ 90.763362] 80d90000 00000001 00000000 8e2c2a90 00000003 80260dc0 08052098 80680000 -[ 90.780033] ... -[ 90.784902] Call Trace: -[ 90.789793] [<8000f0d8>] show_stack+0xb8/0x148 -[ 90.798659] [<8005a000>] register_lock_class+0x270/0x55c -[ 90.809247] [<8005cb64>] __lock_acquire+0x13c/0xf7c -[ 90.818964] [<8005e314>] lock_acquire+0x194/0x1dc -[ 90.828345] [<8003f27c>] flush_work+0x200/0x24c -[ 90.837374] [<80041dfc>] __cancel_work_timer+0x158/0x210 -[ 90.847958] [<801a8770>] jffs2_sync_fs+0x20/0x54 -[ 90.857173] [<80125cf4>] iterate_supers+0xf4/0x120 -[ 90.866729] [<80158fc4>] sys_sync+0x44/0x9c -[ 90.875067] [<80014424>] syscall_common+0x34/0x58 - -Signed-off-by: Daniel Santos <daniel.santos@pobox.com> -Reviewed-by: Hou Tao <houtao1@huawei.com> -Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> ---- - fs/jffs2/super.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/fs/jffs2/super.c -+++ b/fs/jffs2/super.c -@@ -101,7 +101,8 @@ static int jffs2_sync_fs(struct super_bl - struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); - - #ifdef CONFIG_JFFS2_FS_WRITEBUFFER -- cancel_delayed_work_sync(&c->wbuf_dwork); -+ if (jffs2_is_writebuffered(c)) -+ cancel_delayed_work_sync(&c->wbuf_dwork); - #endif - - mutex_lock(&c->alloc_sem); diff --git a/target/linux/generic/pending-4.19/203-kallsyms_uncompressed.patch b/target/linux/generic/pending-4.19/203-kallsyms_uncompressed.patch index 9b3892de28..99922e35d8 100644 --- a/target/linux/generic/pending-4.19/203-kallsyms_uncompressed.patch +++ b/target/linux/generic/pending-4.19/203-kallsyms_uncompressed.patch @@ -13,7 +13,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> --- a/init/Kconfig +++ b/init/Kconfig -@@ -1145,6 +1145,17 @@ config SYSCTL_ARCH_UNALIGN_ALLOW +@@ -1146,6 +1146,17 @@ config SYSCTL_ARCH_UNALIGN_ALLOW the unaligned access emulation. see arch/parisc/kernel/unaligned.c for reference diff --git a/target/linux/generic/pending-4.19/300-mips_expose_boot_raw.patch b/target/linux/generic/pending-4.19/300-mips_expose_boot_raw.patch index 5be7ea7c12..5d10cae86c 100644 --- a/target/linux/generic/pending-4.19/300-mips_expose_boot_raw.patch +++ b/target/linux/generic/pending-4.19/300-mips_expose_boot_raw.patch @@ -9,7 +9,7 @@ Acked-by: Rob Landley <rob@landley.net> --- --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1059,9 +1059,6 @@ config FW_ARC +@@ -1062,9 +1062,6 @@ config FW_ARC config ARCH_MAY_HAVE_PC_FDC bool @@ -19,7 +19,7 @@ Acked-by: Rob Landley <rob@landley.net> config CEVT_BCM1480 bool -@@ -2965,6 +2962,18 @@ choice +@@ -2968,6 +2965,18 @@ choice bool "Extend builtin kernel arguments with bootloader arguments" endchoice diff --git a/target/linux/generic/pending-4.19/304-mips_disable_fpu.patch b/target/linux/generic/pending-4.19/304-mips_disable_fpu.patch index 61f0378a47..6e71c68dc5 100644 --- a/target/linux/generic/pending-4.19/304-mips_disable_fpu.patch +++ b/target/linux/generic/pending-4.19/304-mips_disable_fpu.patch @@ -24,7 +24,7 @@ v2: incorporated changes suggested by Jonas Gorski --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -2889,6 +2889,20 @@ config MIPS_O32_FP64_SUPPORT +@@ -2892,6 +2892,20 @@ config MIPS_O32_FP64_SUPPORT If unsure, say N. diff --git a/target/linux/generic/pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch b/target/linux/generic/pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch index 44d1520639..d28bc7ba99 100644 --- a/target/linux/generic/pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch +++ b/target/linux/generic/pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch @@ -19,7 +19,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1113,7 +1113,6 @@ config DMA_PERDEV_COHERENT +@@ -1116,7 +1116,6 @@ config DMA_PERDEV_COHERENT config DMA_NONCOHERENT bool select ARCH_HAS_SYNC_DMA_FOR_DEVICE @@ -27,7 +27,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> select NEED_DMA_MAP_STATE select DMA_NONCOHERENT_MMAP select DMA_NONCOHERENT_CACHE_SYNC -@@ -1894,9 +1893,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 +@@ -1897,9 +1896,11 @@ config SYS_HAS_CPU_MIPS32_R3_5 config SYS_HAS_CPU_MIPS32_R5 bool @@ -39,7 +39,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> config SYS_HAS_CPU_MIPS64_R1 bool -@@ -1906,6 +1907,7 @@ config SYS_HAS_CPU_MIPS64_R2 +@@ -1909,6 +1910,7 @@ config SYS_HAS_CPU_MIPS64_R2 config SYS_HAS_CPU_MIPS64_R6 bool @@ -47,7 +47,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> config SYS_HAS_CPU_R3000 bool -@@ -1942,6 +1944,7 @@ config SYS_HAS_CPU_R8000 +@@ -1945,6 +1947,7 @@ config SYS_HAS_CPU_R8000 config SYS_HAS_CPU_R10000 bool @@ -55,7 +55,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> config SYS_HAS_CPU_RM7000 bool -@@ -1970,6 +1973,7 @@ config SYS_HAS_CPU_BMIPS4380 +@@ -1973,6 +1976,7 @@ config SYS_HAS_CPU_BMIPS4380 config SYS_HAS_CPU_BMIPS5000 bool select SYS_HAS_CPU_BMIPS diff --git a/target/linux/generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch b/target/linux/generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch index 03ee3b43b1..cb02c71829 100644 --- a/target/linux/generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch +++ b/target/linux/generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch @@ -68,13 +68,3 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl> switch (bus->hosttype) { case BCMA_HOSTTYPE_PCI: ---- a/include/linux/bcma/bcma_soc.h -+++ b/include/linux/bcma/bcma_soc.h -@@ -6,6 +6,7 @@ - - struct bcma_soc { - struct bcma_bus bus; -+ struct device *dev; - }; - - int __init bcma_host_soc_register(struct bcma_soc *soc); diff --git a/target/linux/generic/pending-4.19/920-mangle_bootargs.patch b/target/linux/generic/pending-4.19/920-mangle_bootargs.patch index a2aeaf34ab..74bfb9811d 100644 --- a/target/linux/generic/pending-4.19/920-mangle_bootargs.patch +++ b/target/linux/generic/pending-4.19/920-mangle_bootargs.patch @@ -13,7 +13,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org> --- a/init/Kconfig +++ b/init/Kconfig -@@ -1527,6 +1527,15 @@ config EMBEDDED +@@ -1528,6 +1528,15 @@ config EMBEDDED an embedded system so certain expert options are available for configuration. |