From cbfce5383188be93ec84d0c485aba8a48a784258 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 30 Apr 2012 08:38:11 +0000 Subject: [PATCH] kernel: update linux 3.3 to 3.3.4 SVN-Revision: 31541 --- include/kernel-version.mk | 4 +- target/linux/adm5120/Makefile | 2 +- target/linux/adm8668/Makefile | 2 +- target/linux/ar71xx/Makefile | 2 +- target/linux/at91/Makefile | 2 +- target/linux/avr32/Makefile | 2 +- target/linux/brcm63xx/Makefile | 2 +- ...er-for-bcm63xx-integrated-controller.patch | 2 +- .../brcm63xx/patches-3.3/501-board-NB4.patch | 2 +- .../patches-3.3/550-alice_gate2_leds.patch | 2 +- .../brcm63xx/patches-3.3/800-wl_exports.patch | 2 +- target/linux/cns21xx/Makefile | 2 +- .../patches-3.3/100-overlayfs_v12.patch | 2 +- .../patches-3.3/120-ppp_txqueue_restart.patch | 75 ------------------- .../patches-3.3/642-bridge_port_isolate.patch | 2 +- .../644-bridge_optimize_netfilter_hooks.patch | 4 +- .../0044-MIPS-lantiq-adds-dwc_otg.patch | 2 +- target/linux/malta/Makefile | 2 +- target/linux/mpc52xx/Makefile | 2 +- target/linux/ppc40x/Makefile | 2 +- target/linux/ramips/Makefile | 2 +- .../patches-3.3/200-rt3883-ehci-glue.patch | 2 +- target/linux/uml/Makefile | 2 +- target/linux/x86/geos/target.mk | 2 +- 24 files changed, 25 insertions(+), 100 deletions(-) delete mode 100644 target/linux/generic/patches-3.3/120-ppp_txqueue_restart.patch diff --git a/include/kernel-version.mk b/include/kernel-version.mk index cb8691a40e..820b784a92 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -38,8 +38,8 @@ endif ifeq ($(LINUX_VERSION),3.2.16) LINUX_KERNEL_MD5SUM:=246e6bd28ea44c90ec66c7f8b56e4803 endif -ifeq ($(LINUX_VERSION),3.3.3) - LINUX_KERNEL_MD5SUM:=a6897310b4785b5f912c567cdc93402e +ifeq ($(LINUX_VERSION),3.3.4) + LINUX_KERNEL_MD5SUM:=113baeccd2a3341ecc62ae5e73c2ed1d endif # disable the md5sum check for unknown kernel versions diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index 067ada2378..8c2d6f464d 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.3.3 +LINUX_VERSION:=3.3.4 SUBTARGETS:=router_le router_be rb1xx INITRAMFS_EXTRA_FILES:= diff --git a/target/linux/adm8668/Makefile b/target/linux/adm8668/Makefile index 8418d2be39..d0edaa38d8 100644 --- a/target/linux/adm8668/Makefile +++ b/target/linux/adm8668/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Infineon WildPass ADM8668 FEATURES:=squashfs MAINTAINER:=Florian Fainelli -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += wpad-mini kmod-rt61-pci diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index c7eb8e2dff..fa18d21a5b 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 SUBTARGETS:=generic nand -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index 3151fb88fd..01d942a8ed 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -14,7 +14,7 @@ FEATURES:=squashfs jffs2 targz ext2 usb CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves SUBTARGETS:=9g20 9260 9263 -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 DEVICE_TYPE= include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile index ecb23f3d9c..8ff370e3ca 100644 --- a/target/linux/avr32/Makefile +++ b/target/linux/avr32/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32 FEATURES:=squashfs MAINTAINER:=Imre Kaloz -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/brcm63xx/Makefile b/target/linux/brcm63xx/Makefile index 5f64ee7c02..f00704bd3c 100644 --- a/target/linux/brcm63xx/Makefile +++ b/target/linux/brcm63xx/Makefile @@ -10,7 +10,7 @@ ARCH:=mips BOARD:=brcm63xx BOARDNAME:=Broadcom BCM63xx FEATURES:=squashfs jffs2 usb atm pci pcmcia -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 MAINTAINER:=Florian Fainelli include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch b/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch index b4de9fa53c..3319e752bd 100644 --- a/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch +++ b/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch @@ -226,7 +226,7 @@ Subject: [PATCH 25/63] ehci: add driver for bcm63xx integrated controller. +MODULE_ALIAS("platform:bcm63xx_ehci"); --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c -@@ -1376,6 +1376,11 @@ MODULE_LICENSE ("GPL"); +@@ -1381,6 +1381,11 @@ MODULE_LICENSE ("GPL"); #define PLATFORM_DRIVER ehci_mv_driver #endif diff --git a/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch b/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch index e1e85ba838..0ac69f1567 100644 --- a/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch +++ b/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch @@ -2,7 +2,7 @@ +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -17,6 +17,9 @@ #include - #include + #include #include +#include +#include diff --git a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch index b6bf40f636..480c0f7396 100644 --- a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch +++ b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch @@ -110,4 +110,4 @@ + struct gpio_led leds[14]; /* Buttons */ - struct gpio_button buttons[4]; + struct gpio_keys_button buttons[4]; diff --git a/target/linux/brcm63xx/patches-3.3/800-wl_exports.patch b/target/linux/brcm63xx/patches-3.3/800-wl_exports.patch index b9fcf26c56..85e0c76406 100644 --- a/target/linux/brcm63xx/patches-3.3/800-wl_exports.patch +++ b/target/linux/brcm63xx/patches-3.3/800-wl_exports.patch @@ -2,7 +2,7 @@ +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -17,6 +17,7 @@ #include - #include + #include #include +#include #include diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile index 5cb57bc3b3..600ff852ef 100644 --- a/target/linux/cns21xx/Makefile +++ b/target/linux/cns21xx/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx FEATURES:=squashfs broken CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/generic/patches-3.3/100-overlayfs_v12.patch b/target/linux/generic/patches-3.3/100-overlayfs_v12.patch index 683152792d..14e655897b 100644 --- a/target/linux/generic/patches-3.3/100-overlayfs_v12.patch +++ b/target/linux/generic/patches-3.3/100-overlayfs_v12.patch @@ -3166,7 +3166,7 @@ +module_exit(ovl_exit); --- a/fs/splice.c +++ b/fs/splice.c -@@ -1299,6 +1299,7 @@ long do_splice_direct(struct file *in, l +@@ -1302,6 +1302,7 @@ long do_splice_direct(struct file *in, l return ret; } diff --git a/target/linux/generic/patches-3.3/120-ppp_txqueue_restart.patch b/target/linux/generic/patches-3.3/120-ppp_txqueue_restart.patch deleted file mode 100644 index e157133e9d..0000000000 --- a/target/linux/generic/patches-3.3/120-ppp_txqueue_restart.patch +++ /dev/null @@ -1,75 +0,0 @@ -commit 9a5d2bd99e0dfe9a31b3c160073ac445ba3d773f -Author: David Woodhouse -Date: Sun Apr 8 10:01:44 2012 +0000 - - ppp: Fix race condition with queue start/stop - - Commit e675f0cc9a872fd152edc0c77acfed19bf28b81e ("ppp: Don't stop and - restart queue on every TX packet") introduced a race condition which - could leave the net queue stopped even when the channel is no longer - busy. By calling netif_stop_queue() from ppp_start_xmit(), based on the - return value from ppp_xmit_process() but *after* all the locks have been - dropped, we could potentially do so *after* the channel has actually - finished transmitting and attempted to re-wake the queue. - - Fix this by moving the netif_stop_queue() into ppp_xmit_process() under - the xmit lock. I hadn't done this previously, because it gets called - from other places than ppp_start_xmit(). But I now think it's the better - option. The net queue *should* be stopped if the channel becomes - congested due to writes from pppd, anyway. - - Signed-off-by: David Woodhouse - Signed-off-by: David S. Miller - -commit e675f0cc9a872fd152edc0c77acfed19bf28b81e -Author: David Woodhouse -Date: Mon Mar 26 00:03:42 2012 +0000 - - ppp: Don't stop and restart queue on every TX packet - - For every transmitted packet, ppp_start_xmit() will stop the netdev - queue and then, if appropriate, restart it. This causes the TX softirq - to run, entirely gratuitously. - - This is "only" a waste of CPU time in the normal case, but it's actively - harmful when the PPP device is a TEQL slave — the wakeup will cause the - offending device to receive the next TX packet from the TEQL queue, when - it *should* have gone to the next slave in the list. We end up seeing - large bursts of packets on just *one* slave device, rather than using - the full available bandwidth over all slaves. - - This patch fixes the problem by *not* unconditionally stopping the queue - in ppp_start_xmit(). It adds a return value from ppp_xmit_process() - which indicates whether the queue should be stopped or not. - - It *doesn't* remove the call to netif_wake_queue() from - ppp_xmit_process(), because other code paths (especially from - ppp_output_wakeup()) need it there and it's messy to push it out to the - other callers to do it based on the return value. So we leave it in - place — it's a no-op in the case where the queue wasn't stopped, so it's - harmless in the TX path. - - Signed-off-by: David Woodhouse - Signed-off-by: David S. Miller - - - ---- a/drivers/net/ppp/ppp_generic.c -+++ b/drivers/net/ppp/ppp_generic.c -@@ -968,7 +968,6 @@ ppp_start_xmit(struct sk_buff *skb, stru - proto = npindex_to_proto[npi]; - put_unaligned_be16(proto, pp); - -- netif_stop_queue(dev); - skb_queue_tail(&ppp->file.xq, skb); - ppp_xmit_process(ppp); - return NETDEV_TX_OK; -@@ -1063,6 +1062,8 @@ ppp_xmit_process(struct ppp *ppp) - code that we can accept some more. */ - if (!ppp->xmit_pending && !skb_peek(&ppp->file.xq)) - netif_wake_queue(ppp->dev); -+ else -+ netif_stop_queue(ppp->dev); - } - ppp_xmit_unlock(ppp); - } diff --git a/target/linux/generic/patches-3.3/642-bridge_port_isolate.patch b/target/linux/generic/patches-3.3/642-bridge_port_isolate.patch index 7c467fd62b..68434bfc29 100644 --- a/target/linux/generic/patches-3.3/642-bridge_port_isolate.patch +++ b/target/linux/generic/patches-3.3/642-bridge_port_isolate.patch @@ -1,6 +1,6 @@ --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h -@@ -139,6 +139,7 @@ struct net_bridge_port +@@ -135,6 +135,7 @@ struct net_bridge_port unsigned long flags; #define BR_HAIRPIN_MODE 0x00000001 diff --git a/target/linux/generic/patches-3.3/644-bridge_optimize_netfilter_hooks.patch b/target/linux/generic/patches-3.3/644-bridge_optimize_netfilter_hooks.patch index 3b02c5cf94..dafe420817 100644 --- a/target/linux/generic/patches-3.3/644-bridge_optimize_netfilter_hooks.patch +++ b/target/linux/generic/patches-3.3/644-bridge_optimize_netfilter_hooks.patch @@ -58,7 +58,7 @@ default: --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c -@@ -827,7 +827,7 @@ static void __br_multicast_send_query(st +@@ -753,7 +753,7 @@ static void __br_multicast_send_query(st if (port) { __skb_push(skb, sizeof(struct ethhdr)); skb->dev = port->dev; @@ -87,7 +87,7 @@ if (vlan_tx_tag_present(skb)) --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h -@@ -490,15 +490,29 @@ static inline bool br_multicast_is_route +@@ -486,15 +486,29 @@ static inline bool br_multicast_is_route /* br_netfilter.c */ #ifdef CONFIG_BRIDGE_NETFILTER diff --git a/target/linux/lantiq/patches-3.3/0044-MIPS-lantiq-adds-dwc_otg.patch b/target/linux/lantiq/patches-3.3/0044-MIPS-lantiq-adds-dwc_otg.patch index 3cd895ead1..bece3c1f70 100644 --- a/target/linux/lantiq/patches-3.3/0044-MIPS-lantiq-adds-dwc_otg.patch +++ b/target/linux/lantiq/patches-3.3/0044-MIPS-lantiq-adds-dwc_otg.patch @@ -69,7 +69,7 @@ Subject: [PATCH 44/70] MIPS: lantiq: adds dwc_otg obj-$(CONFIG_USB_WDM) += class/ --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c -@@ -2938,11 +2938,11 @@ hub_port_init (struct usb_hub *hub, stru +@@ -2935,11 +2935,11 @@ hub_port_init (struct usb_hub *hub, stru udev->ttport = hdev->ttport; } else if (udev->speed != USB_SPEED_HIGH && hdev->speed == USB_SPEED_HIGH) { diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index 34da1d40a0..fbe5974ad5 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -13,7 +13,7 @@ SUBTARGETS:=le be INITRAMFS_EXTRA_FILES:= MAINTAINER:=Florian Fainelli -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile index b5ff5cec9e..602e4704cd 100644 --- a/target/linux/mpc52xx/Makefile +++ b/target/linux/mpc52xx/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Freescale MPC52xx CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=603e FEATURES:=targz ext4 -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile index 3c3bc09f6a..164a039e4c 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 -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index 9c2c3a0435..7241be7485 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 FEATURES:=squashfs -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES+=\ diff --git a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch index 63560e8fa7..636b6b2103 100644 --- a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch +++ b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch @@ -18,7 +18,7 @@ depends on USB --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c -@@ -1376,6 +1376,11 @@ MODULE_LICENSE ("GPL"); +@@ -1381,6 +1381,11 @@ MODULE_LICENSE ("GPL"); #define PLATFORM_DRIVER ehci_mv_driver #endif diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile index fd9f42ca25..66171fefbe 100644 --- a/target/linux/uml/Makefile +++ b/target/linux/uml/Makefile @@ -23,7 +23,7 @@ BOARDNAME:=User Mode Linux FEATURES:=ext4 audio MAINTAINER:=Florian Fainelli -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk index 5ff7aa018b..cd4c7cf7df 100644 --- a/target/linux/x86/geos/target.mk +++ b/target/linux/x86/geos/target.mk @@ -1,4 +1,4 @@ -LINUX_VERSION:=3.3.3 +LINUX_VERSION:=3.3.4 BOARDNAME:=Traverse Geos FEATURES:=squashfs jffs2 ext4 pci usb gpio DEFAULT_PACKAGES += \ -- 2.30.2