diff options
author | Luka Perkov <luka@openwrt.org> | 2014-06-11 23:39:54 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-06-11 23:39:54 +0000 |
commit | f45b1a671a2bfb4b74a0a45f49723a78d270764b (patch) | |
tree | df2cea987db125da27fe150e04929430b17624a3 | |
parent | 089f09592693276db9735d76640986fad9be7ade (diff) | |
download | upstream-f45b1a671a2bfb4b74a0a45f49723a78d270764b.tar.gz upstream-f45b1a671a2bfb4b74a0a45f49723a78d270764b.tar.bz2 upstream-f45b1a671a2bfb4b74a0a45f49723a78d270764b.zip |
kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41150
21 files changed, 39 insertions, 132 deletions
diff --git a/include/kernel-version.mk b/include/kernel-version.mk index bc42b02290..926d2f3f1f 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -23,8 +23,8 @@ endif ifeq ($(LINUX_VERSION),3.13.7) LINUX_KERNEL_MD5SUM:=370adced5e5c1cb1d0d621c2dae2723f endif -ifeq ($(LINUX_VERSION),3.14.5) - LINUX_KERNEL_MD5SUM:=db2f2b8a83239852b72e560811eb80de +ifeq ($(LINUX_VERSION),3.14.7) + LINUX_KERNEL_MD5SUM:=046c448e477d534780ff7dad369b499f endif # disable the md5sum check for unknown kernel versions diff --git a/target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch b/target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch index 50e9e2fd86..609deecf95 100644 --- a/target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch +++ b/target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch @@ -41,8 +41,6 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> 7 files changed, 718 insertions(+) create mode 100644 drivers/mtd/ubi/block.c -diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig -index 36663af..783fb18 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -87,4 +87,19 @@ config MTD_UBI_GLUEBI @@ -65,8 +63,6 @@ index 36663af..783fb18 100644 + If in doubt, say "N". + endif # MTD_UBI -diff --git a/drivers/mtd/ubi/Makefile b/drivers/mtd/ubi/Makefile -index b46b0c97..4e3c3d7 100644 --- a/drivers/mtd/ubi/Makefile +++ b/drivers/mtd/ubi/Makefile @@ -3,5 +3,6 @@ obj-$(CONFIG_MTD_UBI) += ubi.o @@ -76,9 +72,6 @@ index b46b0c97..4e3c3d7 100644 +ubi-$(CONFIG_MTD_UBI_BLOCK) += block.o obj-$(CONFIG_MTD_UBI_GLUEBI) += gluebi.o -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -new file mode 100644 -index 0000000..cea7d1c --- /dev/null +++ b/drivers/mtd/ubi/block.c @@ -0,0 +1,646 @@ @@ -728,8 +721,6 @@ index 0000000..cea7d1c + ubiblock_detach_all(); + unregister_blkdev(ubiblock_major, "ubiblock"); +} -diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c -index 57deae9..6e30a3c 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -1298,6 +1298,15 @@ static int __init ubi_init(void) @@ -757,11 +748,9 @@ index 57deae9..6e30a3c 100644 for (i = 0; i < UBI_MAX_DEVICES; i++) if (ubi_devices[i]) { mutex_lock(&ubi_devices_mutex); -diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c -index 8ca49f2..39d3774 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c -@@ -561,6 +561,26 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, +@@ -561,6 +561,26 @@ static long vol_cdev_ioctl(struct file * break; } @@ -788,11 +777,9 @@ index 8ca49f2..39d3774 100644 default: err = -ENOTTY; break; -diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h -index 8ea6297..e76ff98 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h -@@ -864,6 +864,20 @@ int ubi_update_fastmap(struct ubi_device *ubi); +@@ -864,6 +864,20 @@ int ubi_update_fastmap(struct ubi_device int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, int fm_anchor); @@ -813,8 +800,6 @@ index 8ea6297..e76ff98 100644 /* * ubi_rb_for_each_entry - walk an RB-tree. * @rb: a pointer to type 'struct rb_node' to use as a loop counter -diff --git a/include/uapi/mtd/ubi-user.h b/include/uapi/mtd/ubi-user.h -index 723c324..b98585a 100644 --- a/include/uapi/mtd/ubi-user.h +++ b/include/uapi/mtd/ubi-user.h @@ -134,6 +134,13 @@ @@ -842,6 +827,3 @@ index 723c324..b98585a 100644 /* Maximum MTD device name length supported by UBI */ #define MAX_UBI_MTD_NAME_LEN 127 --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch b/target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch index bcbb92c6b2..e93446184d 100644 --- a/target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch +++ b/target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch @@ -14,8 +14,6 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> drivers/mtd/ubi/ubi.h | 14 ++++++++++---- 3 files changed, 32 insertions(+), 25 deletions(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index cea7d1c..6402e41 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -29,10 +29,10 @@ @@ -33,7 +31,7 @@ index cea7d1c..6402e41 100644 */ #include <linux/module.h> -@@ -374,7 +374,7 @@ static const struct block_device_operations ubiblock_ops = { +@@ -374,7 +374,7 @@ static const struct block_device_operati .getgeo = ubiblock_getgeo, }; @@ -42,7 +40,7 @@ index cea7d1c..6402e41 100644 { struct ubiblock *dev; struct gendisk *gd; -@@ -464,7 +464,7 @@ static void ubiblock_cleanup(struct ubiblock *dev) +@@ -464,7 +464,7 @@ static void ubiblock_cleanup(struct ubib put_disk(dev->gd); } @@ -51,7 +49,7 @@ index cea7d1c..6402e41 100644 { struct ubiblock *dev; -@@ -503,7 +503,8 @@ static void ubiblock_resize(struct ubi_volume_info *vi) +@@ -503,7 +503,8 @@ static void ubiblock_resize(struct ubi_v /* * Need to lock the device list until we stop using the device, @@ -61,7 +59,7 @@ index cea7d1c..6402e41 100644 */ mutex_lock(&devices_mutex); dev = find_dev_nolock(vi->ubi_num, vi->vol_id); -@@ -528,12 +529,12 @@ static int ubiblock_notify(struct notifier_block *nb, +@@ -528,12 +529,12 @@ static int ubiblock_notify(struct notifi switch (notification_type) { case UBI_VOLUME_ADDED: /* @@ -76,7 +74,7 @@ index cea7d1c..6402e41 100644 break; case UBI_VOLUME_RESIZED: ubiblock_resize(&nt->vi); -@@ -561,7 +562,7 @@ open_volume_desc(const char *name, int ubi_num, int vol_id) +@@ -561,7 +562,7 @@ open_volume_desc(const char *name, int u return ubi_open_volume(ubi_num, vol_id, UBI_READONLY); } @@ -85,7 +83,7 @@ index cea7d1c..6402e41 100644 { int i, ret; struct ubiblock_param *p; -@@ -582,7 +583,7 @@ static int __init ubiblock_attach_from_param(void) +@@ -582,7 +583,7 @@ static int __init ubiblock_attach_from_p ubi_get_volume_info(desc, &vi); ubi_close_volume(desc); @@ -94,7 +92,7 @@ index cea7d1c..6402e41 100644 if (ret) { ubi_err("block: can't add '%s' volume, err=%d\n", vi.name, ret); -@@ -592,7 +593,7 @@ static int __init ubiblock_attach_from_param(void) +@@ -592,7 +593,7 @@ static int __init ubiblock_attach_from_p return ret; } @@ -139,11 +137,9 @@ index cea7d1c..6402e41 100644 + ubiblock_remove_all(); unregister_blkdev(ubiblock_major, "ubiblock"); } -diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c -index 39d3774..11c8473 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c -@@ -567,7 +567,7 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, +@@ -567,7 +567,7 @@ static long vol_cdev_ioctl(struct file * struct ubi_volume_info vi; ubi_get_volume_info(desc, &vi); @@ -152,7 +148,7 @@ index 39d3774..11c8473 100644 break; } -@@ -577,7 +577,7 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, +@@ -577,7 +577,7 @@ static long vol_cdev_ioctl(struct file * struct ubi_volume_info vi; ubi_get_volume_info(desc, &vi); @@ -161,11 +157,9 @@ index 39d3774..11c8473 100644 break; } -diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h -index e76ff98..2e588a9 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h -@@ -868,13 +868,19 @@ int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, +@@ -868,13 +868,19 @@ int ubi_scan_fastmap(struct ubi_device * #ifdef CONFIG_MTD_UBI_BLOCK int ubiblock_init(void); void ubiblock_exit(void); @@ -189,6 +183,3 @@ index e76ff98..2e588a9 100644 #endif --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch b/target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch index 181cecb4af..54660992c2 100644 --- a/target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch +++ b/target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch @@ -24,11 +24,9 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> drivers/mtd/ubi/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 6402e41..cd6be98 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c -@@ -156,7 +156,7 @@ static int __init ubiblock_set_param(const char *val, +@@ -156,7 +156,7 @@ static int __init ubiblock_set_param(con return 0; } @@ -37,6 +35,3 @@ index 6402e41..cd6be98 100644 .set = ubiblock_set_param, }; module_param_cb(block, &ubiblock_param_ops, NULL, 0); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch b/target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch index 648b42f67d..260927d024 100644 --- a/target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch +++ b/target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch @@ -15,11 +15,9 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> drivers/mtd/ubi/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index cd6be98..16e6731 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c -@@ -201,7 +201,7 @@ static int ubiblock_read(struct ubiblock *dev, char *buffer, +@@ -201,7 +201,7 @@ static int ubiblock_read(struct ubiblock int ret, leb, offset; int bytes_left = len; int to_read = len; @@ -28,6 +26,3 @@ index cd6be98..16e6731 100644 /* Get LEB:offset address to read from */ offset = do_div(pos, dev->leb_size); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch b/target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch index a010a3cf4a..ec71b05252 100644 --- a/target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch +++ b/target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch @@ -16,8 +16,6 @@ Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> include/uapi/mtd/ubi-user.h | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 16e6731..69a74fd 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -32,7 +32,7 @@ @@ -29,11 +27,9 @@ index 16e6731..69a74fd 100644 */ #include <linux/module.h> -diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c -index 11c8473..f54562a 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c -@@ -561,8 +561,8 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, +@@ -561,8 +561,8 @@ static long vol_cdev_ioctl(struct file * break; } @@ -44,7 +40,7 @@ index 11c8473..f54562a 100644 { struct ubi_volume_info vi; -@@ -571,8 +571,8 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, +@@ -571,8 +571,8 @@ static long vol_cdev_ioctl(struct file * break; } @@ -55,8 +51,6 @@ index 11c8473..f54562a 100644 { struct ubi_volume_info vi; -diff --git a/include/uapi/mtd/ubi-user.h b/include/uapi/mtd/ubi-user.h -index b98585a..9c885e2 100644 --- a/include/uapi/mtd/ubi-user.h +++ b/include/uapi/mtd/ubi-user.h @@ -138,9 +138,9 @@ @@ -87,6 +81,3 @@ index b98585a..9c885e2 100644 /* Maximum MTD device name length supported by UBI */ #define MAX_UBI_MTD_NAME_LEN 127 --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch b/target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch index f5ae72469b..badfcb0afe 100644 --- a/target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch +++ b/target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch @@ -17,11 +17,9 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> drivers/mtd/ubi/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 69a74fd..7ff473c 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c -@@ -156,7 +156,7 @@ static int __init ubiblock_set_param(const char *val, +@@ -156,7 +156,7 @@ static int __init ubiblock_set_param(con return 0; } @@ -30,6 +28,3 @@ index 69a74fd..7ff473c 100644 .set = ubiblock_set_param, }; module_param_cb(block, &ubiblock_param_ops, NULL, 0); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch b/target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch index 86f0d63cd4..41ef6b8499 100644 --- a/target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch +++ b/target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch @@ -12,11 +12,9 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> drivers/mtd/ubi/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 7ff473c..8d659e6 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c -@@ -431,7 +431,7 @@ int ubiblock_create(struct ubi_volume_info *vi) +@@ -431,7 +431,7 @@ int ubiblock_create(struct ubi_volume_in * Create one workqueue per volume (per registered block device). * Rembember workqueues are cheap, they're not threads. */ @@ -25,6 +23,3 @@ index 7ff473c..8d659e6 100644 if (!dev->wq) goto out_free_queue; INIT_WORK(&dev->work, ubiblock_do_work); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch b/target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch index 0a0230fafe..e9aab2a181 100644 --- a/target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch +++ b/target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch @@ -16,8 +16,6 @@ Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> include/uapi/mtd/ubi-user.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) -diff --git a/include/uapi/mtd/ubi-user.h b/include/uapi/mtd/ubi-user.h -index 9c885e2..1927b0d 100644 --- a/include/uapi/mtd/ubi-user.h +++ b/include/uapi/mtd/ubi-user.h @@ -138,9 +138,12 @@ @@ -58,6 +56,3 @@ index 9c885e2..1927b0d 100644 +} __packed; + #endif /* __UBI_USER_H__ */ --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/060-hso_devices.patch b/target/linux/generic/patches-3.14/060-hso_devices.patch index 367eafb5ea..153daa7f30 100644 --- a/target/linux/generic/patches-3.14/060-hso_devices.patch +++ b/target/linux/generic/patches-3.14/060-hso_devices.patch @@ -15,7 +15,7 @@ {USB_DEVICE(0x0af0, 0xd155)}, --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h -@@ -1266,6 +1266,18 @@ UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0 +@@ -1280,6 +1280,18 @@ UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0 ), diff --git a/target/linux/generic/patches-3.14/204-module_strip.patch b/target/linux/generic/patches-3.14/204-module_strip.patch index 6790ac041f..f5fb465c8d 100644 --- a/target/linux/generic/patches-3.14/204-module_strip.patch +++ b/target/linux/generic/patches-3.14/204-module_strip.patch @@ -115,7 +115,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> config INIT_ALL_POSSIBLE --- a/kernel/module.c +++ b/kernel/module.c -@@ -2664,6 +2664,7 @@ static struct module *setup_load_info(st +@@ -2661,6 +2661,7 @@ static struct module *setup_load_info(st static int check_modinfo(struct module *mod, struct load_info *info, int flags) { @@ -123,7 +123,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> const char *modmagic = get_modinfo(info, "vermagic"); int err; -@@ -2689,6 +2690,7 @@ static int check_modinfo(struct module * +@@ -2686,6 +2687,7 @@ static int check_modinfo(struct module * pr_warn("%s: module is from the staging directory, the quality " "is unknown, you have been warned.\n", mod->name); } diff --git a/target/linux/generic/patches-3.14/320-ppc4xx_optimization.patch b/target/linux/generic/patches-3.14/320-ppc4xx_optimization.patch index e69275d4c5..064cc79649 100644 --- a/target/linux/generic/patches-3.14/320-ppc4xx_optimization.patch +++ b/target/linux/generic/patches-3.14/320-ppc4xx_optimization.patch @@ -3,7 +3,7 @@ they still want to support gcc 3.3 -- well, we don't. --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile -@@ -189,7 +189,8 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y) +@@ -191,7 +191,8 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y) KBUILD_CFLAGS += -mno-sched-epilog endif diff --git a/target/linux/generic/patches-3.14/321-powerpc_crtsavres_prereq.patch b/target/linux/generic/patches-3.14/321-powerpc_crtsavres_prereq.patch index 6a2458108e..b999b85961 100644 --- a/target/linux/generic/patches-3.14/321-powerpc_crtsavres_prereq.patch +++ b/target/linux/generic/patches-3.14/321-powerpc_crtsavres_prereq.patch @@ -1,6 +1,6 @@ --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile -@@ -156,7 +156,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS) +@@ -158,7 +158,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS) CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ diff --git a/target/linux/generic/patches-3.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch b/target/linux/generic/patches-3.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch index 440c6bf050..ed83666661 100644 --- a/target/linux/generic/patches-3.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch +++ b/target/linux/generic/patches-3.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch @@ -9,11 +9,9 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> drivers/mtd/ubi/build.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c -index 6e30a3c..999a36b 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c -@@ -1209,6 +1209,36 @@ static struct mtd_info * __init open_mtd_device(const char *mtd_dev) +@@ -1209,6 +1209,36 @@ static struct mtd_info * __init open_mtd return mtd; } @@ -63,6 +61,3 @@ index 6e30a3c..999a36b 100644 err = ubiblock_init(); if (err) { ubi_err("block: cannot initialize, error %d", err); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch b/target/linux/generic/patches-3.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch index e1992c9a29..3d59b44472 100644 --- a/target/linux/generic/patches-3.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch +++ b/target/linux/generic/patches-3.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch @@ -9,11 +9,9 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> drivers/mtd/ubi/block.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 8d659e6..2dbe2f4 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c -@@ -593,6 +593,44 @@ static int __init ubiblock_create_from_param(void) +@@ -593,6 +593,44 @@ static int __init ubiblock_create_from_p return ret; } @@ -69,6 +67,3 @@ index 8d659e6..2dbe2f4 100644 /* * Block devices are only created upon user requests, so we ignore * existing volumes. --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch b/target/linux/generic/patches-3.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch index 75a0bc02ca..c36dbe3243 100644 --- a/target/linux/generic/patches-3.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch +++ b/target/linux/generic/patches-3.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch @@ -9,8 +9,6 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> init/do_mounts.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) -diff --git a/init/do_mounts.c b/init/do_mounts.c -index 82f2288..faba9c6 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -432,7 +432,27 @@ retry: @@ -53,6 +51,3 @@ index 82f2288..faba9c6 100644 #ifdef CONFIG_BLOCK create_dev("/dev/root", ROOT_DEV); mount_block_root("/dev/root", root_mountflags); --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch b/target/linux/generic/patches-3.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch index 4ceedf30f8..cea598d674 100644 --- a/target/linux/generic/patches-3.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch +++ b/target/linux/generic/patches-3.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch @@ -9,8 +9,6 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> drivers/mtd/ubi/block.c | 10 ++++++++++ 1 file changed, 10 insertions(+) -diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c -index 2dbe2f4..eaa29f8 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -48,6 +48,7 @@ @@ -21,7 +19,7 @@ index 2dbe2f4..eaa29f8 100644 #include "ubi-media.h" #include "ubi.h" -@@ -444,6 +445,15 @@ int ubiblock_create(struct ubi_volume_info *vi) +@@ -444,6 +445,15 @@ int ubiblock_create(struct ubi_volume_in add_disk(dev->gd); ubi_msg("%s created from ubi%d:%d(%s)", dev->gd->disk_name, dev->ubi_num, dev->vol_id, vi->name); @@ -37,6 +35,3 @@ index 2dbe2f4..eaa29f8 100644 return 0; out_free_queue: --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/552-ubifs-respect-silent-mount-flag.patch b/target/linux/generic/patches-3.14/552-ubifs-respect-silent-mount-flag.patch index ab89b98705..83b0fdeaaf 100644 --- a/target/linux/generic/patches-3.14/552-ubifs-respect-silent-mount-flag.patch +++ b/target/linux/generic/patches-3.14/552-ubifs-respect-silent-mount-flag.patch @@ -21,11 +21,9 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> fs/ubifs/ubifs.h | 2 +- 5 files changed, 22 insertions(+), 16 deletions(-) -diff --git a/fs/ubifs/commit.c b/fs/ubifs/commit.c -index ff82293..865d13f 100644 --- a/fs/ubifs/commit.c +++ b/fs/ubifs/commit.c -@@ -542,7 +542,7 @@ int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot) +@@ -542,7 +542,7 @@ int dbg_old_index_check_init(struct ubif if (!idx) return -ENOMEM; @@ -34,7 +32,7 @@ index ff82293..865d13f 100644 if (err) goto out; -@@ -610,7 +610,7 @@ int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot) +@@ -610,7 +610,7 @@ int dbg_check_old_index(struct ubifs_inf list_add_tail(&i->list, &list); /* Read the index node */ idx = &i->idx; @@ -43,11 +41,9 @@ index ff82293..865d13f 100644 if (err) goto out_free; /* Validate index node */ -diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c -index e18b988..51c4072 100644 --- a/fs/ubifs/io.c +++ b/fs/ubifs/io.c -@@ -912,7 +912,7 @@ int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, +@@ -912,7 +912,7 @@ int ubifs_read_node_wbuf(struct ubifs_wb if (!overlap) { /* We may safely unlock the write-buffer and read the data */ spin_unlock(&wbuf->lock); @@ -72,7 +68,7 @@ index e18b988..51c4072 100644 { int err, l; struct ubifs_ch *ch = buf; -@@ -988,30 +989,34 @@ int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, +@@ -988,30 +989,34 @@ int ubifs_read_node(const struct ubifs_i return err; if (type != ch->node_type) { @@ -114,11 +110,9 @@ index e18b988..51c4072 100644 return -EINVAL; } -diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c -index 4c37607..b46847d 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c -@@ -482,14 +482,15 @@ failed: +@@ -493,14 +493,15 @@ failed: struct ubifs_sb_node *ubifs_read_sb_node(struct ubifs_info *c) { struct ubifs_sb_node *sup; @@ -136,11 +130,9 @@ index 4c37607..b46847d 100644 if (err) { kfree(sup); return ERR_PTR(err); -diff --git a/fs/ubifs/tnc_misc.c b/fs/ubifs/tnc_misc.c -index f6bf899..e128689 100644 --- a/fs/ubifs/tnc_misc.c +++ b/fs/ubifs/tnc_misc.c -@@ -280,7 +280,7 @@ static int read_znode(struct ubifs_info *c, int lnum, int offs, int len, +@@ -280,7 +280,7 @@ static int read_znode(struct ubifs_info if (!idx) return -ENOMEM; @@ -149,7 +141,7 @@ index f6bf899..e128689 100644 if (err < 0) { kfree(idx); return err; -@@ -472,7 +472,7 @@ int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr, +@@ -472,7 +472,7 @@ int ubifs_tnc_read_node(struct ubifs_inf zbr->lnum, zbr->offs); else err = ubifs_read_node(c, node, type, zbr->len, zbr->lnum, @@ -158,11 +150,9 @@ index f6bf899..e128689 100644 if (err) { dbg_tnck(key, "key "); -diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h -index e8c8cfe..85fdd11 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h -@@ -1481,7 +1481,7 @@ int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len); +@@ -1481,7 +1481,7 @@ int ubifs_wbuf_write_nolock(struct ubifs int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs); int ubifs_wbuf_init(struct ubifs_info *c, struct ubifs_wbuf *wbuf); int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, @@ -171,6 +161,3 @@ index e8c8cfe..85fdd11 100644 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, int lnum, int offs); int ubifs_write_node(struct ubifs_info *c, void *node, int len, int lnum, --- -1.9.2 - diff --git a/target/linux/generic/patches-3.14/811-pci_disable_usb_common_quirks.patch b/target/linux/generic/patches-3.14/811-pci_disable_usb_common_quirks.patch index 68701b86e4..352c814b54 100644 --- a/target/linux/generic/patches-3.14/811-pci_disable_usb_common_quirks.patch +++ b/target/linux/generic/patches-3.14/811-pci_disable_usb_common_quirks.patch @@ -39,7 +39,7 @@ static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask) { u16 cmd; -@@ -1063,3 +1078,4 @@ static void quirk_usb_early_handoff(stru +@@ -1070,3 +1085,4 @@ static void quirk_usb_early_handoff(stru } DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_SERIAL_USB, 8, quirk_usb_early_handoff); diff --git a/target/linux/x86_64/Makefile b/target/linux/x86_64/Makefile index 22e3cbaf3f..3269f45b8e 100644 --- a/target/linux/x86_64/Makefile +++ b/target/linux/x86_64/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=x86_64 FEATURES:=ext4 vdi vmdk targz MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> -LINUX_VERSION:=3.14.5 +LINUX_VERSION:=3.14.7 KERNELNAME:=bzImage diff --git a/target/linux/x86_64/config-default b/target/linux/x86_64/config-default index 3fcca9d78c..48145bebd7 100644 --- a/target/linux/x86_64/config-default +++ b/target/linux/x86_64/config-default @@ -16,6 +16,7 @@ CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set # CONFIG_ACPI_PROCFS is not set +# CONFIG_ACPI_PROCFS_POWER is not set # CONFIG_ACPI_SBS is not set CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_WMI is not set |