diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-01-18 11:44:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-01-18 11:44:42 +0000 |
commit | 0de21d9747688e37cc9a9fb92c41abcdde9ef09f (patch) | |
tree | 51801994cc7cff255ad19e00fccc9bfd511928fe /target/linux | |
parent | 5a122f7e5f6129edf7f37c5638f6c19859c3513c (diff) | |
download | mtk-20170518-0de21d9747688e37cc9a9fb92c41abcdde9ef09f.zip mtk-20170518-0de21d9747688e37cc9a9fb92c41abcdde9ef09f.tar.gz mtk-20170518-0de21d9747688e37cc9a9fb92c41abcdde9ef09f.tar.bz2 |
kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35216
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/adm5120/Makefile | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/Makefile | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch | 4 | ||||
-rw-r--r-- | target/linux/cns21xx/Makefile | 2 | ||||
-rw-r--r-- | target/linux/generic/patches-3.7/025-bcma_backport.patch | 8 | ||||
-rw-r--r-- | target/linux/generic/patches-3.7/203-kallsyms_uncompressed.patch | 12 | ||||
-rw-r--r-- | target/linux/lantiq/Makefile | 2 | ||||
-rw-r--r-- | target/linux/malta/Makefile | 2 | ||||
-rw-r--r-- | target/linux/mpc83xx/Makefile | 2 | ||||
-rw-r--r-- | target/linux/ppc40x/Makefile | 2 | ||||
-rw-r--r-- | target/linux/ppc40x/patches-3.7/001-powerpc-add-missing-NULL-terminator-to-avoid-boot-pa.patch | 53 | ||||
-rw-r--r-- | target/linux/ppc44x/Makefile | 2 | ||||
-rw-r--r-- | target/linux/ramips/Makefile | 2 | ||||
-rw-r--r-- | target/linux/rb532/Makefile | 2 | ||||
-rw-r--r-- | target/linux/x86/geos/target.mk | 2 |
16 files changed, 23 insertions, 78 deletions
diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index 89f8926..462de16 100644 --- a/target/linux/adm5120/Makefile +++ b/target/linux/adm5120/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk BOARD:=adm5120 BOARDNAME:=Infineon/ADMtek ADM5120 -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 SUBTARGETS:=router_le router_be rb1xx INITRAMFS_EXTRA_FILES:= diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index b95d258..2a197ed 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs jffs2 targz CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely SUBTARGETS:=generic nand -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch b/target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch index d07aba7..3559a27 100644 --- a/target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch +++ b/target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch @@ -1,6 +1,6 @@ --- a/arch/mips/Makefile +++ b/arch/mips/Makefile -@@ -175,6 +175,7 @@ endif +@@ -180,6 +180,7 @@ endif # libs-$(CONFIG_ARC) += arch/mips/fw/arc/ libs-$(CONFIG_CFE) += arch/mips/fw/cfe/ diff --git a/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch index fc05676..e7e1712 100644 --- a/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch +++ b/target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch @@ -288,7 +288,7 @@ #include <asm/uaccess.h> #include <linux/proc_fs.h> -@@ -851,10 +852,10 @@ static void tcp_v6_send_response(struct +@@ -851,10 +852,10 @@ static void tcp_v6_send_response(struct topt = (__be32 *)(t1 + 1); if (ts) { @@ -415,7 +415,7 @@ if (t->parms.flags & IP6_TNL_F_USE_ORIG_FWMARK) fl6.flowi6_mark = skb->mark; -@@ -1256,7 +1256,7 @@ static int ip6gre_header(struct sk_buff +@@ -1256,7 +1256,7 @@ static int ip6gre_header(struct sk_buff struct ipv6hdr *ipv6h = (struct ipv6hdr *)skb_push(skb, t->hlen); __be16 *p = (__be16 *)(ipv6h+1); diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile index 8835fe9..c13a1cb 100644 --- a/target/linux/cns21xx/Makefile +++ b/target/linux/cns21xx/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx FEATURES:=squashfs CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/generic/patches-3.7/025-bcma_backport.patch b/target/linux/generic/patches-3.7/025-bcma_backport.patch index fa0ff31..4bd1b11 100644 --- a/target/linux/generic/patches-3.7/025-bcma_backport.patch +++ b/target/linux/generic/patches-3.7/025-bcma_backport.patch @@ -734,17 +734,15 @@ } EXPORT_SYMBOL(bcma_core_mips_irq); -@@ -114,8 +121,8 @@ static void bcma_core_mips_set_irq(struc +@@ -114,7 +121,7 @@ static void bcma_core_mips_set_irq(struc bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0), bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) & ~(1 << irqflag)); - else -- bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq), 0); + else if (oldirq != 5) -+ bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0); + bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0); /* assign the new one */ - if (irq == 0) { @@ -123,9 +130,9 @@ static void bcma_core_mips_set_irq(struc bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) | (1 << irqflag)); @@ -1357,7 +1355,7 @@ #endif /* LINUX_BCMA_REGS_H_ */ --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c -@@ -4656,7 +4656,7 @@ static int b43_wireless_core_init(struct +@@ -4684,7 +4684,7 @@ static int b43_wireless_core_init(struct switch (dev->dev->bus_type) { #ifdef CONFIG_B43_BCMA case B43_BUS_BCMA: diff --git a/target/linux/generic/patches-3.7/203-kallsyms_uncompressed.patch b/target/linux/generic/patches-3.7/203-kallsyms_uncompressed.patch index 57655aa..c3da46c 100644 --- a/target/linux/generic/patches-3.7/203-kallsyms_uncompressed.patch +++ b/target/linux/generic/patches-3.7/203-kallsyms_uncompressed.patch @@ -1,6 +1,6 @@ --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c -@@ -83,6 +83,7 @@ static struct text_range text_ranges[] = +@@ -54,6 +54,7 @@ static struct text_range text_ranges[] = static struct sym_entry *table; static unsigned int table_size, table_cnt; static int all_symbols = 0; @@ -8,7 +8,7 @@ static char symbol_prefix_char = '\0'; int token_profit[0x10000]; -@@ -389,6 +390,9 @@ static void write_src(void) +@@ -360,6 +361,9 @@ static void write_src(void) free(markers); @@ -18,7 +18,7 @@ output_label("kallsyms_token_table"); off = 0; for (i = 0; i < 256; i++) { -@@ -447,6 +451,9 @@ static void *find_token(unsigned char *s +@@ -418,6 +422,9 @@ static void *find_token(unsigned char *s { int i; @@ -28,7 +28,7 @@ for (i = 0; i < len - 1; i++) { if (str[i] == token[0] && str[i+1] == token[1]) return &str[i]; -@@ -519,6 +526,9 @@ static void optimize_result(void) +@@ -490,6 +497,9 @@ static void optimize_result(void) { int i, best; @@ -38,7 +38,7 @@ /* using the '\0' symbol last allows compress_symbols to use standard * fast string functions */ for (i = 255; i >= 0; i--) { -@@ -675,7 +685,9 @@ int main(int argc, char **argv) +@@ -646,7 +656,9 @@ int main(int argc, char **argv) if ((*p == '"' && *(p+2) == '"') || (*p == '\'' && *(p+2) == '\'')) p++; symbol_prefix_char = *p; @@ -51,7 +51,7 @@ } else if (argc != 1) --- a/init/Kconfig +++ b/init/Kconfig -@@ -1198,6 +1198,17 @@ config KALLSYMS_ALL +@@ -1194,6 +1194,17 @@ config KALLSYMS_ALL Say N unless you really need all symbols. diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile index 77aaf8d..74ba4f0 100644 --- a/target/linux/lantiq/Makefile +++ b/target/linux/lantiq/Makefile @@ -11,7 +11,7 @@ BOARDNAME:=Lantiq GPON/XWAY/SVIP FEATURES:=squashfs jffs2 SUBTARGETS=xway ase falcon -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index 1f2d0c3..da05f10 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -13,7 +13,7 @@ SUBTARGETS:=le be INITRAMFS_EXTRA_FILES:= MAINTAINER:=Florian Fainelli <florian@openwrt.org> -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 DEVICE_TYPE:=developerboard diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile index f410835..5670439 100644 --- a/target/linux/mpc83xx/Makefile +++ b/target/linux/mpc83xx/Makefile @@ -13,7 +13,7 @@ CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=603e FEATURES:=squashfs targz MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile index c202bc2..36c10b3 100644 --- a/target/linux/ppc40x/Makefile +++ b/target/linux/ppc40x/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=405 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ppc40x/patches-3.7/001-powerpc-add-missing-NULL-terminator-to-avoid-boot-pa.patch b/target/linux/ppc40x/patches-3.7/001-powerpc-add-missing-NULL-terminator-to-avoid-boot-pa.patch deleted file mode 100644 index fb7bf7b..0000000 --- a/target/linux/ppc40x/patches-3.7/001-powerpc-add-missing-NULL-terminator-to-avoid-boot-pa.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 107b76e67aa0447fc4ea5594823f8ffd2699fbc7 Mon Sep 17 00:00:00 2001 -From: Gabor Juhos <juhosg@openwrt.org> -Date: Thu, 20 Dec 2012 14:22:38 +0100 -Subject: [PATCH] powerpc: add missing NULL terminator to avoid boot panic on - PPC40x - -The missing NULL terminator can cause a panic on -PPC405 boards during boot: - - Linux/PowerPC load: console=ttyS0,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit - Finalizing device tree... flat tree at 0x6a5160 - bootconsole [udbg0] enabled - Page fault in user mode with in_atomic() = 1 mm = (null) - NIP = c0275f50 MSR = fffffffe - Oops: Weird page fault, sig: 11 [#1] - PowerPC 40x Platform - Modules linked in: - NIP: c0275f50 LR: c0275f60 CTR: c0280000 - REGS: c0275eb0 TRAP: 636f7265 Not tainted (3.7.1) - MSR: fffffffe <VEC,VSX,EE,PR,FP,ME,SE,BE,IR,DR,PMM,RI> CR: c06a6190 XER: 00000001 - TASK = c02662a8[0] 'swapper' THREAD: c0274000 - GPR00: c0275ec0 c000c658 c027c4bf 00000000 c0275ee0 c000a0ec c020a1a8 c020a1f0 - GPR08: c020f631 c020f404 c025f078 c025f080 c0275f10 - Call Trace: - ---[ end trace 31fd0ba7d8756001 ]--- - - Kernel panic - not syncing: Attempted to kill the idle task! - -The panic happens since commit 9597abe00c1bab2aedce6b49866bf6d1e81c9eed -(sections: fix section conflicts in arch/powerpc), however the root -cause of this is that the NULL terminator were not added in commit -a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c (of/flattree: Add of_flat_dt_match() -helper function). - -Cc: Grant Likely <grant.likely@secretlab.ca> -Cc: <stable@vger.kernel.org> -Signed-off-by: Gabor Juhos <juhosg@openwrt.org> ---- - arch/powerpc/platforms/40x/ppc40x_simple.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/arch/powerpc/platforms/40x/ppc40x_simple.c -+++ b/arch/powerpc/platforms/40x/ppc40x_simple.c -@@ -57,7 +57,8 @@ static const char * const board[] __init - "amcc,makalu", - "apm,klondike", - "est,hotfoot", -- "plathome,obs600" -+ "plathome,obs600", -+ NULL - }; - - static int __init ppc40x_probe(void) diff --git a/target/linux/ppc44x/Makefile b/target/linux/ppc44x/Makefile index cf57b79..9abd715 100644 --- a/target/linux/ppc44x/Makefile +++ b/target/linux/ppc44x/Makefile @@ -13,7 +13,7 @@ FEATURES:=squashfs broken CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=440 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index bacfcad..82d20b6 100644 --- a/target/linux/ramips/Makefile +++ b/target/linux/ramips/Makefile @@ -13,7 +13,7 @@ SUBTARGETS:=rt288x rt305x rt3883 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely FEATURES:=squashfs -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES+=\ diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile index 88d1303..a4f195a 100644 --- a/target/linux/rb532/Makefile +++ b/target/linux/rb532/Makefile @@ -11,7 +11,7 @@ BOARD:=rb532 BOARDNAME:=Mikrotik RouterBoard 532 FEATURES:=jffs2 pci targz broken -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += wpad-mini kmod-madwifi kmod-input-rb532 diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk index 72ca2f3..53cef2a 100644 --- a/target/linux/x86/geos/target.mk +++ b/target/linux/x86/geos/target.mk @@ -21,7 +21,7 @@ DEFAULT_PACKAGES += \ kmod-cpu-msr \ soloscli linux-atm br2684ctl ppp-mod-pppoa pppdump pppstats \ hwclock wpad flashrom tc -LINUX_VERSION:=3.7.2 +LINUX_VERSION:=3.7.3 CS5535_MASK:=0x0E000048 CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ |