453 lines
22 KiB
Diff
453 lines
22 KiB
Diff
From d395583d697c17f00a533d6efa13754c21630eda Mon Sep 17 00:00:00 2001
|
|
From: Koen Vandeputte <koen.vandeputte@ncentric.com>
|
|
Date: Fri, 6 Dec 2019 14:55:57 +0100
|
|
Subject: [PATCH] kernel: bump 4.14 to 4.14.158
|
|
|
|
Refreshed all patches.
|
|
|
|
Altered patches:
|
|
- 400-mtd-add-rootfs-split-support.patch
|
|
|
|
Compile-tested on: cns3xxx
|
|
Runtime-tested on: cns3xxx
|
|
|
|
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
|
|
---
|
|
include/kernel-version.mk | 4 ++--
|
|
.../910-unaligned_access_hacks.patch | 2 +-
|
|
.../910-unaligned_access_hacks.patch | 2 +-
|
|
...l-option-fix-dwm-158-3g-modem-interface.patch | 2 +-
|
|
...s-add-of_match_table-parser-matching-fo.patch | 4 ++--
|
|
...part-parser-to-fixed-partitions-as-it-f.patch | 4 ++--
|
|
...-adding-registering-partitions-to-the-p.patch | 6 +++---
|
|
...s-use-DT-info-for-parsing-partitions-wi.patch | 10 +++++-----
|
|
.../linux/generic/hack-4.14/930-crashlog.patch | 2 +-
|
|
...add-generic-parsing-of-linux-part-probe.patch | 6 +++---
|
|
.../400-mtd-add-rootfs-split-support.patch | 16 ++++++++--------
|
|
...rt-for-different-partition-parser-types.patch | 4 ++--
|
|
...d-parsers-for-rootfs-and-firmware-split.patch | 4 ++--
|
|
.../404-mtd-add-more-helper-functions.patch | 2 +-
|
|
.../pending-4.14/920-mangle_bootargs.patch | 4 ++--
|
|
...ic-Mangle-bootloader-s-kernel-arguments.patch | 2 +-
|
|
.../202-core-linux-support-layerscape.patch | 2 +-
|
|
...bu-Mangle-bootloader-s-kernel-arguments.patch | 2 +-
|
|
...ic-Mangle-bootloader-s-kernel-arguments.patch | 2 +-
|
|
.../0031-uvc-add-iPassion-iP2970-support.patch | 2 +-
|
|
.../patches-4.14/0200-linkit_bootstrap.patch | 2 +-
|
|
21 files changed, 42 insertions(+), 42 deletions(-)
|
|
|
|
diff --git a/include/kernel-version.mk b/include/kernel-version.mk
|
|
index 6a85c7a0b13..9a70b4cdd81 100644
|
|
--- a/include/kernel-version.mk
|
|
+++ b/include/kernel-version.mk
|
|
@@ -7,11 +7,11 @@ ifdef CONFIG_TESTING_KERNEL
|
|
endif
|
|
|
|
LINUX_VERSION-4.9 = .206
|
|
-LINUX_VERSION-4.14 = .156
|
|
+LINUX_VERSION-4.14 = .158
|
|
LINUX_VERSION-4.19 = .86
|
|
|
|
LINUX_KERNEL_HASH-4.9.206 = 1df27899a9bc4dd874f3830ab9e7b638f0026dffd67a2e230444e5d2805ccad6
|
|
-LINUX_KERNEL_HASH-4.14.156 = f8889feb0cbd7df36ff35bd4c72c1e2010567621bfcb218fcfa501bc5c7787c0
|
|
+LINUX_KERNEL_HASH-4.14.158 = 0d49ec72e273f6fc7462ad56849b2285f13fd5f4185e8f932a0074fc2eca1bb3
|
|
LINUX_KERNEL_HASH-4.19.86 = bf2cbba319d43d1bd9e876ac0b55ab83118d1a1e61cce3c929d5371f7567bff6
|
|
|
|
remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
|
|
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 fbad39a5cc4..9d1e4e524e4 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
|
|
@@ -223,7 +223,7 @@
|
|
#include <linux/uaccess.h>
|
|
#include <linux/ipv6.h>
|
|
#include <linux/icmpv6.h>
|
|
-@@ -819,10 +820,10 @@ static void tcp_v6_send_response(const s
|
|
+@@ -820,10 +821,10 @@ static void tcp_v6_send_response(const s
|
|
topt = (__be32 *)(t1 + 1);
|
|
|
|
if (tsecr) {
|
|
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 5d9b84eb9f3..17ee82fe793 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
|
|
@@ -214,7 +214,7 @@
|
|
#include <linux/uaccess.h>
|
|
#include <linux/ipv6.h>
|
|
#include <linux/icmpv6.h>
|
|
-@@ -819,10 +820,10 @@ static void tcp_v6_send_response(const s
|
|
+@@ -820,10 +821,10 @@ static void tcp_v6_send_response(const s
|
|
topt = (__be32 *)(t1 + 1);
|
|
|
|
if (tsecr) {
|
|
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 b708fda5ca1..817b112f902 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 <johan@kernel.org>
|
|
|
|
--- a/drivers/usb/serial/option.c
|
|
+++ b/drivers/usb/serial/option.c
|
|
-@@ -1965,7 +1965,8 @@ static const struct usb_device_id option
|
|
+@@ -1968,7 +1968,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/041-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch b/target/linux/generic/backport-4.14/041-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch
|
|
index bd39a2625e8..765b6b95dfb 100644
|
|
--- a/target/linux/generic/backport-4.14/041-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch
|
|
+++ b/target/linux/generic/backport-4.14/041-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch
|
|
@@ -55,7 +55,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
|
|
#include "mtdcore.h"
|
|
|
|
-@@ -894,6 +895,92 @@ static int mtd_part_do_parse(struct mtd_
|
|
+@@ -919,6 +920,92 @@ static int mtd_part_do_parse(struct mtd_
|
|
}
|
|
|
|
/**
|
|
@@ -148,7 +148,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
* parse_mtd_partitions - parse MTD partitions
|
|
* @master: the master partition (describes whole MTD device)
|
|
* @types: names of partition parsers to try or %NULL
|
|
-@@ -925,19 +1012,30 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -950,19 +1037,30 @@ int parse_mtd_partitions(struct mtd_info
|
|
types = default_mtd_part_types;
|
|
|
|
for ( ; *types; types++) {
|
|
diff --git a/target/linux/generic/backport-4.14/041-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch b/target/linux/generic/backport-4.14/041-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch
|
|
index 66b67d76763..22ad40bf445 100644
|
|
--- a/target/linux/generic/backport-4.14/041-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch
|
|
+++ b/target/linux/generic/backport-4.14/041-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch
|
|
@@ -22,7 +22,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
|
|
--- a/drivers/mtd/mtdpart.c
|
|
+++ b/drivers/mtd/mtdpart.c
|
|
-@@ -940,7 +940,7 @@ static int mtd_part_of_parse(struct mtd_
|
|
+@@ -965,7 +965,7 @@ static int mtd_part_of_parse(struct mtd_
|
|
struct device_node *np;
|
|
struct property *prop;
|
|
const char *compat;
|
|
@@ -31,7 +31,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
int ret, err = 0;
|
|
|
|
np = of_get_child_by_name(mtd_get_of_node(master), "partitions");
|
|
-@@ -960,7 +960,7 @@ static int mtd_part_of_parse(struct mtd_
|
|
+@@ -985,7 +985,7 @@ static int mtd_part_of_parse(struct mtd_
|
|
of_node_put(np);
|
|
|
|
/*
|
|
diff --git a/target/linux/generic/backport-4.14/042-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch b/target/linux/generic/backport-4.14/042-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch
|
|
index 83077431b88..d017fd452b7 100644
|
|
--- a/target/linux/generic/backport-4.14/042-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch
|
|
+++ b/target/linux/generic/backport-4.14/042-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch
|
|
@@ -98,7 +98,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
}
|
|
|
|
static struct mtd_part *allocate_partition(struct mtd_info *parent,
|
|
-@@ -981,30 +968,27 @@ static int mtd_part_of_parse(struct mtd_
|
|
+@@ -1006,30 +993,27 @@ static int mtd_part_of_parse(struct mtd_
|
|
}
|
|
|
|
/**
|
|
@@ -136,7 +136,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
struct mtd_part_parser *parser;
|
|
int ret, err = 0;
|
|
|
|
-@@ -1018,7 +1002,7 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -1043,7 +1027,7 @@ int parse_mtd_partitions(struct mtd_info
|
|
* handled in a separated function.
|
|
*/
|
|
if (!strcmp(*types, "ofpart")) {
|
|
@@ -145,7 +145,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
} else {
|
|
pr_debug("%s: parsing partitions %s\n", master->name,
|
|
*types);
|
|
-@@ -1029,13 +1013,17 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -1054,13 +1038,17 @@ int parse_mtd_partitions(struct mtd_info
|
|
parser ? parser->name : NULL);
|
|
if (!parser)
|
|
continue;
|
|
diff --git a/target/linux/generic/backport-4.14/046-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch b/target/linux/generic/backport-4.14/046-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch
|
|
index 1bb3563f15f..eff1a016922 100644
|
|
--- a/target/linux/generic/backport-4.14/046-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch
|
|
+++ b/target/linux/generic/backport-4.14/046-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch
|
|
@@ -55,9 +55,9 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
static struct mtd_part *allocate_partition(struct mtd_info *parent,
|
|
const struct mtd_partition *part, int partno,
|
|
uint64_t cur_offset)
|
|
-@@ -783,8 +767,8 @@ int add_mtd_partitions(struct mtd_info *
|
|
+@@ -803,8 +787,8 @@ int add_mtd_partitions(struct mtd_info *
|
|
+ }
|
|
|
|
- add_mtd_device(&slave->mtd);
|
|
mtd_add_partition_attrs(slave);
|
|
- if (parts[i].types)
|
|
- mtd_parse_part(slave, parts[i].types);
|
|
@@ -66,7 +66,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
|
|
cur_offset = slave->offset + slave->mtd.size;
|
|
}
|
|
-@@ -860,6 +844,12 @@ static const char * const default_mtd_pa
|
|
+@@ -885,6 +869,12 @@ static const char * const default_mtd_pa
|
|
NULL
|
|
};
|
|
|
|
@@ -79,7 +79,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
static int mtd_part_do_parse(struct mtd_part_parser *parser,
|
|
struct mtd_info *master,
|
|
struct mtd_partitions *pparts,
|
|
-@@ -930,7 +920,9 @@ static int mtd_part_of_parse(struct mtd_
|
|
+@@ -955,7 +945,9 @@ static int mtd_part_of_parse(struct mtd_
|
|
const char *fixed = "fixed-partitions";
|
|
int ret, err = 0;
|
|
|
|
@@ -90,7 +90,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|
|
of_property_for_each_string(np, "compatible", prop, compat) {
|
|
parser = mtd_part_get_compatible_parser(compat);
|
|
if (!parser)
|
|
-@@ -993,7 +985,8 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -1018,7 +1010,8 @@ int parse_mtd_partitions(struct mtd_info
|
|
int ret, err = 0;
|
|
|
|
if (!types)
|
|
diff --git a/target/linux/generic/hack-4.14/930-crashlog.patch b/target/linux/generic/hack-4.14/930-crashlog.patch
|
|
index 1479a4c06d0..9d09dbd760a 100644
|
|
--- a/target/linux/generic/hack-4.14/930-crashlog.patch
|
|
+++ b/target/linux/generic/hack-4.14/930-crashlog.patch
|
|
@@ -54,7 +54,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
depends on BROKEN || !FRV
|
|
--- a/kernel/Makefile
|
|
+++ b/kernel/Makefile
|
|
-@@ -113,6 +113,7 @@ obj-$(CONFIG_CONTEXT_TRACKING) += contex
|
|
+@@ -110,6 +110,7 @@ obj-$(CONFIG_CONTEXT_TRACKING) += contex
|
|
obj-$(CONFIG_TORTURE_TEST) += torture.o
|
|
|
|
obj-$(CONFIG_HAS_IOMEM) += memremap.o
|
|
diff --git a/target/linux/generic/pending-4.14/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch b/target/linux/generic/pending-4.14/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch
|
|
index 5e70756c4e3..bf0c2892276 100644
|
|
--- a/target/linux/generic/pending-4.14/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch
|
|
+++ b/target/linux/generic/pending-4.14/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch
|
|
@@ -110,7 +110,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
#include <linux/err.h>
|
|
#include <linux/of.h>
|
|
|
|
-@@ -844,6 +845,37 @@ void deregister_mtd_parser(struct mtd_pa
|
|
+@@ -869,6 +870,37 @@ void deregister_mtd_parser(struct mtd_pa
|
|
}
|
|
EXPORT_SYMBOL_GPL(deregister_mtd_parser);
|
|
|
|
@@ -148,7 +148,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
/*
|
|
* Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you
|
|
* are changing this array!
|
|
-@@ -993,6 +1025,13 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -1018,6 +1050,13 @@ int parse_mtd_partitions(struct mtd_info
|
|
struct mtd_partitions pparts = { };
|
|
struct mtd_part_parser *parser;
|
|
int ret, err = 0;
|
|
@@ -162,7 +162,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
|
|
if (!types)
|
|
types = mtd_is_partition(master) ? default_subpartition_types :
|
|
-@@ -1034,6 +1073,7 @@ int parse_mtd_partitions(struct mtd_info
|
|
+@@ -1059,6 +1098,7 @@ int parse_mtd_partitions(struct mtd_info
|
|
if (ret < 0 && !err)
|
|
err = ret;
|
|
}
|
|
diff --git a/target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch b/target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch
|
|
index 5f8899ea619..10ad99585de 100644
|
|
--- a/target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch
|
|
+++ b/target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch
|
|
@@ -60,15 +60,15 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
/*
|
|
* Given a pointer to the MTD object in the mtd_part structure, we can retrieve
|
|
* the pointer to that structure.
|
|
-@@ -668,6 +672,7 @@ int mtd_add_partition(struct mtd_info *p
|
|
- mutex_unlock(&mtd_partitions_mutex);
|
|
+@@ -671,6 +675,7 @@ int mtd_add_partition(struct mtd_info *p
|
|
+ if (ret)
|
|
+ goto err_remove_part;
|
|
|
|
- add_mtd_device(&new->mtd);
|
|
+ mtd_partition_split(parent, new);
|
|
-
|
|
mtd_add_partition_attrs(new);
|
|
|
|
-@@ -746,6 +751,29 @@ int mtd_del_partition(struct mtd_info *m
|
|
+ return 0;
|
|
+@@ -757,6 +762,29 @@ int mtd_del_partition(struct mtd_info *m
|
|
}
|
|
EXPORT_SYMBOL_GPL(mtd_del_partition);
|
|
|
|
@@ -98,10 +98,10 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
/*
|
|
* This function, given a master MTD object and a partition table, creates
|
|
* and registers slave MTD objects which are bound to the master according to
|
|
-@@ -777,6 +805,7 @@ int add_mtd_partitions(struct mtd_info *
|
|
- mutex_unlock(&mtd_partitions_mutex);
|
|
+@@ -797,6 +825,7 @@ int add_mtd_partitions(struct mtd_info *
|
|
+ goto err_del_partitions;
|
|
+ }
|
|
|
|
- add_mtd_device(&slave->mtd);
|
|
+ mtd_partition_split(master, slave);
|
|
mtd_add_partition_attrs(slave);
|
|
/* Look for subpartitions */
|
|
diff --git a/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch b/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch
|
|
index 359c4c167bb..057d4736844 100644
|
|
--- a/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch
|
|
+++ b/target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch
|
|
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
/*
|
|
* Given a pointer to the MTD object in the mtd_part structure, we can retrieve
|
|
-@@ -751,6 +755,36 @@ int mtd_del_partition(struct mtd_info *m
|
|
+@@ -762,6 +766,36 @@ int mtd_del_partition(struct mtd_info *m
|
|
}
|
|
EXPORT_SYMBOL_GPL(mtd_del_partition);
|
|
|
|
@@ -57,7 +57,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
#ifdef CONFIG_MTD_SPLIT_FIRMWARE_NAME
|
|
#define SPLIT_FIRMWARE_NAME CONFIG_MTD_SPLIT_FIRMWARE_NAME
|
|
#else
|
|
-@@ -1122,6 +1156,61 @@ void mtd_part_parser_cleanup(struct mtd_
|
|
+@@ -1147,6 +1181,61 @@ void mtd_part_parser_cleanup(struct mtd_
|
|
}
|
|
}
|
|
|
|
diff --git a/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch b/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
|
|
index e8706633554..2cc06dd463b 100644
|
|
--- a/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
|
|
+++ b/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
|
|
@@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
--- a/drivers/mtd/mtdpart.c
|
|
+++ b/drivers/mtd/mtdpart.c
|
|
-@@ -793,6 +793,7 @@ run_parsers_by_type(struct mtd_part *sla
|
|
+@@ -804,6 +804,7 @@ run_parsers_by_type(struct mtd_part *sla
|
|
|
|
static void split_firmware(struct mtd_info *master, struct mtd_part *part)
|
|
{
|
|
@@ -18,7 +18,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
}
|
|
|
|
static void mtd_partition_split(struct mtd_info *master, struct mtd_part *part)
|
|
-@@ -802,6 +803,12 @@ static void mtd_partition_split(struct m
|
|
+@@ -813,6 +814,12 @@ static void mtd_partition_split(struct m
|
|
if (rootfs_found)
|
|
return;
|
|
|
|
diff --git a/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch b/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
|
|
index 94c59df01dc..7b481ffb47a 100644
|
|
--- a/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
|
|
+++ b/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
|
|
@@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
--- a/drivers/mtd/mtdpart.c
|
|
+++ b/drivers/mtd/mtdpart.c
|
|
-@@ -1235,6 +1235,24 @@ int mtd_is_partition(const struct mtd_in
|
|
+@@ -1260,6 +1260,24 @@ int mtd_is_partition(const struct mtd_in
|
|
}
|
|
EXPORT_SYMBOL_GPL(mtd_is_partition);
|
|
|
|
diff --git a/target/linux/generic/pending-4.14/920-mangle_bootargs.patch b/target/linux/generic/pending-4.14/920-mangle_bootargs.patch
|
|
index adeb9f12f93..2f6a52c23d6 100644
|
|
--- a/target/linux/generic/pending-4.14/920-mangle_bootargs.patch
|
|
+++ b/target/linux/generic/pending-4.14/920-mangle_bootargs.patch
|
|
@@ -31,7 +31,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
|
|
help
|
|
--- a/init/main.c
|
|
+++ b/init/main.c
|
|
-@@ -359,6 +359,29 @@ static inline void setup_nr_cpu_ids(void
|
|
+@@ -358,6 +358,29 @@ static inline void setup_nr_cpu_ids(void
|
|
static inline void smp_prepare_cpus(unsigned int maxcpus) { }
|
|
#endif
|
|
|
|
@@ -61,7 +61,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
|
|
/*
|
|
* We need to store the untouched command line for future reference.
|
|
* We also need to store the touched command line since the parameter
|
|
-@@ -540,6 +563,7 @@ asmlinkage __visible void __init start_k
|
|
+@@ -539,6 +562,7 @@ asmlinkage __visible void __init start_k
|
|
add_device_randomness(command_line, strlen(command_line));
|
|
boot_init_stack_canary();
|
|
mm_init_cpumask(&init_mm);
|
|
diff --git a/target/linux/ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch b/target/linux/ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
index b6f1f47424d..5d3243ccb4d 100644
|
|
--- a/target/linux/ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
+++ b/target/linux/ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
@@ -168,7 +168,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
|
|
static int kernel_init(void *);
|
|
|
|
extern void init_IRQ(void);
|
|
-@@ -574,6 +578,18 @@ asmlinkage __visible void __init start_k
|
|
+@@ -573,6 +577,18 @@ asmlinkage __visible void __init start_k
|
|
page_alloc_init();
|
|
|
|
pr_notice("Kernel command line: %s\n", boot_command_line);
|
|
diff --git a/target/linux/layerscape/patches-4.14/202-core-linux-support-layerscape.patch b/target/linux/layerscape/patches-4.14/202-core-linux-support-layerscape.patch
|
|
index 49e528402c6..7be95d49e40 100644
|
|
--- a/target/linux/layerscape/patches-4.14/202-core-linux-support-layerscape.patch
|
|
+++ b/target/linux/layerscape/patches-4.14/202-core-linux-support-layerscape.patch
|
|
@@ -321,7 +321,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
|
} else if (has_acpi_companion(dma_dev)) {
|
|
--- a/drivers/gpu/ipu-v3/ipu-pre.c
|
|
+++ b/drivers/gpu/ipu-v3/ipu-pre.c
|
|
-@@ -124,7 +124,8 @@ ipu_pre_lookup_by_phandle(struct device
|
|
+@@ -125,7 +125,8 @@ ipu_pre_lookup_by_phandle(struct device
|
|
list_for_each_entry(pre, &ipu_pre_list, list) {
|
|
if (pre_node == pre->dev->of_node) {
|
|
mutex_unlock(&ipu_pre_list_mutex);
|
|
diff --git a/target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch b/target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch
|
|
index d15794f2e3e..8f11632d04a 100644
|
|
--- a/target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch
|
|
+++ b/target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch
|
|
@@ -180,7 +180,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
|
|
static int kernel_init(void *);
|
|
|
|
extern void init_IRQ(void);
|
|
-@@ -574,6 +578,18 @@ asmlinkage __visible void __init start_k
|
|
+@@ -573,6 +577,18 @@ asmlinkage __visible void __init start_k
|
|
page_alloc_init();
|
|
|
|
pr_notice("Kernel command line: %s\n", boot_command_line);
|
|
diff --git a/target/linux/oxnas/patches-4.14/996-generic-Mangle-bootloader-s-kernel-arguments.patch b/target/linux/oxnas/patches-4.14/996-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
index 3758ca0dc3a..d3b047f3c4f 100644
|
|
--- a/target/linux/oxnas/patches-4.14/996-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
+++ b/target/linux/oxnas/patches-4.14/996-generic-Mangle-bootloader-s-kernel-arguments.patch
|
|
@@ -168,7 +168,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
|
|
static int kernel_init(void *);
|
|
|
|
extern void init_IRQ(void);
|
|
-@@ -574,6 +578,18 @@ asmlinkage __visible void __init start_k
|
|
+@@ -573,6 +577,18 @@ asmlinkage __visible void __init start_k
|
|
page_alloc_init();
|
|
|
|
pr_notice("Kernel command line: %s\n", boot_command_line);
|
|
diff --git a/target/linux/ramips/patches-4.14/0031-uvc-add-iPassion-iP2970-support.patch b/target/linux/ramips/patches-4.14/0031-uvc-add-iPassion-iP2970-support.patch
|
|
index ff4c5b17fa0..0b305a8105d 100644
|
|
--- a/target/linux/ramips/patches-4.14/0031-uvc-add-iPassion-iP2970-support.patch
|
|
+++ b/target/linux/ramips/patches-4.14/0031-uvc-add-iPassion-iP2970-support.patch
|
|
@@ -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
|
|
-@@ -2735,6 +2735,18 @@ static const struct usb_device_id uvc_id
|
|
+@@ -2737,6 +2737,18 @@ static const struct usb_device_id uvc_id
|
|
.bInterfaceSubClass = 1,
|
|
.bInterfaceProtocol = 0,
|
|
.driver_info = UVC_QUIRK_FORCE_Y8 },
|
|
diff --git a/target/linux/ramips/patches-4.14/0200-linkit_bootstrap.patch b/target/linux/ramips/patches-4.14/0200-linkit_bootstrap.patch
|
|
index 865ae79f43e..cd1462fbcff 100644
|
|
--- a/target/linux/ramips/patches-4.14/0200-linkit_bootstrap.patch
|
|
+++ b/target/linux/ramips/patches-4.14/0200-linkit_bootstrap.patch
|
|
@@ -1,6 +1,6 @@
|
|
--- a/drivers/misc/Makefile
|
|
+++ b/drivers/misc/Makefile
|
|
-@@ -57,6 +57,7 @@ obj-$(CONFIG_CXL_BASE) += cxl/
|
|
+@@ -56,6 +56,7 @@ obj-$(CONFIG_CXL_BASE) += cxl/
|
|
obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
|
|
obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
|
|
obj-$(CONFIG_PCI_ENDPOINT_TEST) += pci_endpoint_test.o
|