From 604395650ae3ca2c4eda4dbe6f9e4743e041f53f Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 14 Apr 2013 09:25:53 +0000
Subject: [PATCH] kernel: update linux 3.8 to 3.8.7

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
---
 include/kernel-version.mk                     |  4 +-
 target/linux/adm5120/Makefile                 |  2 +-
 target/linux/ar71xx/Makefile                  |  2 +-
 ...ble-resource-conflict-in-register_pc.patch |  2 +-
 ...25p80-allow-to-specify-max-read-size.patch |  2 +-
 ...o-pass-probe-types-via-platform-data.patch |  2 +-
 ...td-m25p80-zero-partition-parser-data.patch |  2 +-
 target/linux/atheros/Makefile                 |  2 +-
 target/linux/avr32/Makefile                   |  2 +-
 ...80-use-parsers-if-provided-in-flash-.patch |  2 +-
 ...25p80-add-support-for-limiting-reads.patch |  2 +-
 ...433-MTD-m25p80-allow-passing-pp_data.patch |  2 +-
 target/linux/cns21xx/Makefile                 |  2 +-
 target/linux/cns3xxx/Makefile                 |  2 +-
 target/linux/ep93xx/Makefile                  |  2 +-
 .../474-mtd_mp25p80_add_pm25lq032.patch       |  2 +-
 ...-allow-to-disable-small-sector-erase.patch |  2 +-
 .../657-qdisc_reduce_truesize.patch           |  2 +-
 .../generic/patches-3.8/721-phy_packets.patch |  2 +-
 target/linux/lantiq/Makefile                  |  2 +-
 ...25p80-allow-loading-mtd-name-from-OF.patch |  4 +-
 ...ET-lantiq-adds-PHY11G-firmware-blobs.patch | 20 ++----
 .../0030-MIPS-lantiq-add-pcie-driver.patch    |  2 +-
 .../0042-PINCTRL-lantiq-fix-pinmux.patch      |  4 +-
 target/linux/malta/Makefile                   |  2 +-
 target/linux/mpc52xx/Makefile                 |  2 +-
 target/linux/mpc83xx/Makefile                 |  2 +-
 target/linux/mpc85xx/Makefile                 |  2 +-
 target/linux/mvebu/Makefile                   |  2 +-
 .../028-lib_devres_dont_enclose_pcim.patch    |  4 +-
 target/linux/ppc40x/Makefile                  |  2 +-
 target/linux/ppc44x/Makefile                  |  2 +-
 target/linux/ramips/Makefile                  |  2 +-
 ...k-adds-support-for-RT2880-SoC-family.patch | 23 +------
 ...-MIPS-add-ralink-SoC-ethernet-driver.patch | 66 +++++++------------
 ...ink-make-early_printk-work-on-RT2880.patch |  5 --
 target/linux/rb532/Makefile                   |  2 +-
 target/linux/realview/Makefile                |  2 +-
 target/linux/uml/Makefile                     |  2 +-
 target/linux/x86/alix2/target.mk              |  2 +-
 target/linux/x86/generic/target.mk            |  2 +-
 target/linux/xburst/Makefile                  |  2 +-
 42 files changed, 75 insertions(+), 123 deletions(-)

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 9bd2c330bb..b565df3e44 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -11,8 +11,8 @@ endif
 ifeq ($(LINUX_VERSION),3.7.10)
   LINUX_KERNEL_MD5SUM:=09624c3702107076efcac5e1cd8a18ec
 endif
-ifeq ($(LINUX_VERSION),3.8.6)
-  LINUX_KERNEL_MD5SUM:=0934e6b31931c1832e48a28bd35ef27f
+ifeq ($(LINUX_VERSION),3.8.7)
+  LINUX_KERNEL_MD5SUM:=37ce9b5cc33551b45fea59c1c4c9da13
 endif
 
 # disable the md5sum check for unknown kernel versions
diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile
index 7b11c3b3ed..6a58a25e42 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.8.6
+LINUX_VERSION:=3.8.7
 SUBTARGETS:=router_le router_be rb1xx
 INITRAMFS_EXTRA_FILES:=
 
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 635a1d12bf..746b4be28c 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/ar71xx/patches-3.8/015-MIPS-avoid-possible-resource-conflict-in-register_pc.patch b/target/linux/ar71xx/patches-3.8/015-MIPS-avoid-possible-resource-conflict-in-register_pc.patch
index 613c7ad423..fd62f5c364 100644
--- a/target/linux/ar71xx/patches-3.8/015-MIPS-avoid-possible-resource-conflict-in-register_pc.patch
+++ b/target/linux/ar71xx/patches-3.8/015-MIPS-avoid-possible-resource-conflict-in-register_pc.patch
@@ -27,7 +27,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/arch/mips/pci/pci.c
 +++ b/arch/mips/pci/pci.c
-@@ -175,9 +175,20 @@ static DEFINE_MUTEX(pci_scan_mutex);
+@@ -181,9 +181,20 @@ static DEFINE_MUTEX(pci_scan_mutex);
  
  void register_pci_controller(struct pci_controller *hose)
  {
diff --git a/target/linux/ar71xx/patches-3.8/406-mtd-m25p80-allow-to-specify-max-read-size.patch b/target/linux/ar71xx/patches-3.8/406-mtd-m25p80-allow-to-specify-max-read-size.patch
index be308c649e..d610614c01 100644
--- a/target/linux/ar71xx/patches-3.8/406-mtd-m25p80-allow-to-specify-max-read-size.patch
+++ b/target/linux/ar71xx/patches-3.8/406-mtd-m25p80-allow-to-specify-max-read-size.patch
@@ -84,7 +84,7 @@
  	mutex_unlock(&flash->lock);
  
  	return 0;
-@@ -916,6 +939,12 @@ static int m25p_probe(struct spi_device
+@@ -917,6 +940,12 @@ static int m25p_probe(struct spi_device
  	flash->mtd._erase = m25p80_erase;
  	flash->mtd._read = m25p80_read;
  
diff --git a/target/linux/ar71xx/patches-3.8/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch b/target/linux/ar71xx/patches-3.8/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
index db0a542340..d5167755e9 100644
--- a/target/linux/ar71xx/patches-3.8/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
+++ b/target/linux/ar71xx/patches-3.8/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -1016,7 +1016,9 @@ static int m25p_probe(struct spi_device
+@@ -1017,7 +1017,9 @@ static int m25p_probe(struct spi_device
  	/* partitions should match sector boundaries; and it may be good to
  	 * use readonly partitions for writeprotected sectors (BP2..BP0).
  	 */
diff --git a/target/linux/ar71xx/patches-3.8/412-mtd-m25p80-zero-partition-parser-data.patch b/target/linux/ar71xx/patches-3.8/412-mtd-m25p80-zero-partition-parser-data.patch
index e9beb6bcd4..8d47cbbf79 100644
--- a/target/linux/ar71xx/patches-3.8/412-mtd-m25p80-zero-partition-parser-data.patch
+++ b/target/linux/ar71xx/patches-3.8/412-mtd-m25p80-zero-partition-parser-data.patch
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -966,6 +966,7 @@ static int m25p_probe(struct spi_device
+@@ -967,6 +967,7 @@ static int m25p_probe(struct spi_device
  	if (info->flags & M25P_NO_ERASE)
  		flash->mtd.flags |= MTD_NO_ERASE;
  
diff --git a/target/linux/atheros/Makefile b/target/linux/atheros/Makefile
index 6e3e24c543..a5b2d093f3 100644
--- a/target/linux/atheros/Makefile
+++ b/target/linux/atheros/Makefile
@@ -11,7 +11,7 @@ BOARD:=atheros
 BOARDNAME:=Atheros AR231x/AR5312
 FEATURES:=squashfs jffs2
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile
index 1b2043d408..cec5ae400d 100644
--- a/target/linux/avr32/Makefile
+++ b/target/linux/avr32/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32
 FEATURES:=squashfs
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/brcm63xx/patches-3.8/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch b/target/linux/brcm63xx/patches-3.8/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
index 0ef108e0fc..fcf5686aff 100644
--- a/target/linux/brcm63xx/patches-3.8/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
+++ b/target/linux/brcm63xx/patches-3.8/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
@@ -11,7 +11,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
 
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -987,7 +987,8 @@ static int m25p_probe(struct spi_device
+@@ -988,7 +988,8 @@ static int m25p_probe(struct spi_device
  	/* partitions should match sector boundaries; and it may be good to
  	 * use readonly partitions for writeprotected sectors (BP2..BP0).
  	 */
diff --git a/target/linux/brcm63xx/patches-3.8/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch b/target/linux/brcm63xx/patches-3.8/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
index 0d3cb38cca..7e285b95c0 100644
--- a/target/linux/brcm63xx/patches-3.8/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
+++ b/target/linux/brcm63xx/patches-3.8/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
@@ -60,7 +60,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  /*
   * Write an address range to the flash chip.  Data must be written in
   * FLASH_PAGESIZE chunks.  The address range may be any size provided
-@@ -888,6 +910,9 @@ static int m25p_probe(struct spi_device
+@@ -889,6 +911,9 @@ static int m25p_probe(struct spi_device
  		return -ENOMEM;
  	}
  
diff --git a/target/linux/brcm63xx/patches-3.8/433-MTD-m25p80-allow-passing-pp_data.patch b/target/linux/brcm63xx/patches-3.8/433-MTD-m25p80-allow-passing-pp_data.patch
index 3d113db543..347fadac8a 100644
--- a/target/linux/brcm63xx/patches-3.8/433-MTD-m25p80-allow-passing-pp_data.patch
+++ b/target/linux/brcm63xx/patches-3.8/433-MTD-m25p80-allow-passing-pp_data.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data
 
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -877,6 +877,9 @@ static int m25p_probe(struct spi_device
+@@ -878,6 +878,9 @@ static int m25p_probe(struct spi_device
  			dev_warn(&spi->dev, "unrecognized id %s\n", data->type);
  	}
  
diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile
index c3ae05b47a..05436e4796 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/cns3xxx/Makefile b/target/linux/cns3xxx/Makefile
index c944d1c1a5..6b5b45b7ff 100644
--- a/target/linux/cns3xxx/Makefile
+++ b/target/linux/cns3xxx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs fpu gpio pcie usb usbgadget
 CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -fno-caller-saves
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile
index 049aa7bbf9..8ad8318204 100644
--- a/target/linux/ep93xx/Makefile
+++ b/target/linux/ep93xx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs jffs2 ext4 targz usb display sound
 CFLAGS:=-Os -pipe -march=armv4t -fno-caller-saves
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 DEVICE_TYPE:=developerboard
 
diff --git a/target/linux/generic/patches-3.8/474-mtd_mp25p80_add_pm25lq032.patch b/target/linux/generic/patches-3.8/474-mtd_mp25p80_add_pm25lq032.patch
index e122cc9a92..5347563c4a 100644
--- a/target/linux/generic/patches-3.8/474-mtd_mp25p80_add_pm25lq032.patch
+++ b/target/linux/generic/patches-3.8/474-mtd_mp25p80_add_pm25lq032.patch
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -682,6 +682,7 @@
+@@ -674,6 +674,7 @@ static const struct spi_device_id m25p_i
  	/* PMC -- pm25x "blocks" are 32K, sectors are 4K */
  	{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
  	{ "pm25lv010", INFO(0, 0, 32 * 1024, 4, SECT_4K_PMC) },
diff --git a/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch b/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch
index 4a8b3d434c..ff4981ccad 100644
--- a/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch
+++ b/target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch
@@ -30,7 +30,7 @@
  /****************************************************************************/
  
  struct m25p {
-@@ -917,7 +923,7 @@ static int m25p_probe(struct spi_device
+@@ -918,7 +924,7 @@ static int m25p_probe(struct spi_device
  		flash->mtd._write = m25p80_write;
  
  	/* prefer "small sector" erase if possible */
diff --git a/target/linux/generic/patches-3.8/657-qdisc_reduce_truesize.patch b/target/linux/generic/patches-3.8/657-qdisc_reduce_truesize.patch
index e27d0a04d6..93ff7ba71d 100644
--- a/target/linux/generic/patches-3.8/657-qdisc_reduce_truesize.patch
+++ b/target/linux/generic/patches-3.8/657-qdisc_reduce_truesize.patch
@@ -24,7 +24,7 @@ commont qdiscs.
  	}
 --- a/net/sched/sch_fifo.c
 +++ b/net/sched/sch_fifo.c
-@@ -29,17 +29,21 @@ static int bfifo_enqueue(struct sk_buff 
+@@ -29,17 +29,21 @@ static int bfifo_enqueue(struct sk_buff
  
  static int pfifo_enqueue(struct sk_buff *skb, struct Qdisc *sch)
  {
diff --git a/target/linux/generic/patches-3.8/721-phy_packets.patch b/target/linux/generic/patches-3.8/721-phy_packets.patch
index 73ca2e007c..d78ba8ed60 100644
--- a/target/linux/generic/patches-3.8/721-phy_packets.patch
+++ b/target/linux/generic/patches-3.8/721-phy_packets.patch
@@ -45,7 +45,7 @@
  /**
   *	pskb_trim_unique - remove end from a paged unique (not cloned) buffer
   *	@skb: buffer to alter
-@@ -1859,16 +1863,6 @@ static inline struct sk_buff *dev_alloc_
+@@ -1877,16 +1881,6 @@ static inline struct sk_buff *dev_alloc_
  }
  
  
diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile
index 210b85e5b4..87827fe185 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.8.6
+LINUX_VERSION:=3.8.7
 
 CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely
 
diff --git a/target/linux/lantiq/patches-3.8/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch b/target/linux/lantiq/patches-3.8/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
index 3daec9f8ac..6df2beb1ca 100644
--- a/target/linux/lantiq/patches-3.8/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
+++ b/target/linux/lantiq/patches-3.8/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
@@ -14,7 +14,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -827,10 +827,13 @@ static int m25p_probe(struct spi_device
+@@ -828,10 +828,13 @@ static int m25p_probe(struct spi_device
  	unsigned			i;
  	struct mtd_part_parser_data	ppdata;
  	struct device_node __maybe_unused *np = spi->dev.of_node;
@@ -28,7 +28,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  #endif
  
  	/* Platform data helps sort out which chip type we have, as
-@@ -906,6 +909,8 @@ static int m25p_probe(struct spi_device
+@@ -907,6 +910,8 @@ static int m25p_probe(struct spi_device
  
  	if (data && data->name)
  		flash->mtd.name = data->name;
diff --git a/target/linux/lantiq/patches-3.8/0028-NET-lantiq-adds-PHY11G-firmware-blobs.patch b/target/linux/lantiq/patches-3.8/0028-NET-lantiq-adds-PHY11G-firmware-blobs.patch
index dc095679d1..59430dc7d0 100644
--- a/target/linux/lantiq/patches-3.8/0028-NET-lantiq-adds-PHY11G-firmware-blobs.patch
+++ b/target/linux/lantiq/patches-3.8/0028-NET-lantiq-adds-PHY11G-firmware-blobs.patch
@@ -12,11 +12,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 firmware/lantiq/COPYING
  create mode 100644 firmware/lantiq/README
 
-Index: linux-3.8.6/firmware/Makefile
-===================================================================
---- linux-3.8.6.orig/firmware/Makefile	2013-04-05 18:49:06.000000000 +0200
-+++ linux-3.8.6/firmware/Makefile	2013-04-11 11:25:42.252465469 +0200
-@@ -134,6 +134,9 @@
+--- a/firmware/Makefile
++++ b/firmware/Makefile
+@@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_P
  fw-shipped-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda/xircom_pgs.fw
  fw-shipped-$(CONFIG_USB_VICAM) += vicam/firmware.fw
  fw-shipped-$(CONFIG_VIDEO_CPIA2) += cpia2/stv0672_vp4.bin
@@ -26,10 +24,8 @@ Index: linux-3.8.6/firmware/Makefile
  fw-shipped-$(CONFIG_YAM) += yam/1200.bin yam/9600.bin
  
  fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-)
-Index: linux-3.8.6/firmware/lantiq/COPYING
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/firmware/lantiq/COPYING	2013-04-11 10:23:19.408305468 +0200
+--- /dev/null
++++ b/firmware/lantiq/COPYING
 @@ -0,0 +1,286 @@
 +All firmware files are copyrighted by Lantiq Deutschland GmbH.
 +The files have been extracted from header files found in Lantiq BSPs.
@@ -317,10 +313,8 @@ Index: linux-3.8.6/firmware/lantiq/COPYING
 +POSSIBILITY OF SUCH DAMAGES.
 +
 +		     END OF TERMS AND CONDITIONS
-Index: linux-3.8.6/firmware/lantiq/README
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/firmware/lantiq/README	2013-04-11 10:23:19.408305468 +0200
+--- /dev/null
++++ b/firmware/lantiq/README
 @@ -0,0 +1,45 @@
 +#
 +# This program is free software; you can redistribute it and/or
diff --git a/target/linux/lantiq/patches-3.8/0030-MIPS-lantiq-add-pcie-driver.patch b/target/linux/lantiq/patches-3.8/0030-MIPS-lantiq-add-pcie-driver.patch
index 152ee93b4d..55b598c1ff 100644
--- a/target/linux/lantiq/patches-3.8/0030-MIPS-lantiq-add-pcie-driver.patch
+++ b/target/linux/lantiq/patches-3.8/0030-MIPS-lantiq-add-pcie-driver.patch
@@ -4663,7 +4663,7 @@ Subject: [PATCH 30/40] MIPS: lantiq: add pcie driver
 +
 --- a/arch/mips/pci/pci.c
 +++ b/arch/mips/pci/pci.c
-@@ -249,6 +249,31 @@ static int __init pcibios_init(void)
+@@ -255,6 +255,31 @@ static int __init pcibios_init(void)
  
  subsys_initcall(pcibios_init);
  
diff --git a/target/linux/lantiq/patches-3.8/0042-PINCTRL-lantiq-fix-pinmux.patch b/target/linux/lantiq/patches-3.8/0042-PINCTRL-lantiq-fix-pinmux.patch
index d84df7e7de..0995e203fc 100644
--- a/target/linux/lantiq/patches-3.8/0042-PINCTRL-lantiq-fix-pinmux.patch
+++ b/target/linux/lantiq/patches-3.8/0042-PINCTRL-lantiq-fix-pinmux.patch
@@ -1,5 +1,5 @@
---- a/drivers/pinctrl/pinctrl-xway.c	2013-04-10 21:51:51.739780800 +0200
-+++ b/drivers/pinctrl/pinctrl-xway.c	2013-04-10 21:56:47.990049456 +0200
+--- a/drivers/pinctrl/pinctrl-xway.c
++++ b/drivers/pinctrl/pinctrl-xway.c
 @@ -563,10 +563,9 @@ static struct pinctrl_desc xway_pctrl_de
  	.confops	= &xway_pinconf_ops,
  };
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index 75b7cbe169..efac73e3ab 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -12,7 +12,7 @@ SUBTARGETS:=le be le64 be64
 INITRAMFS_EXTRA_FILES:=
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 DEVICE_TYPE:=developerboard
 
diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
index 69e9023137..9d894e6022 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile
index 9aab641cf5..b302089900 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index 1559c669f8..319dd4d0e6 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -13,7 +13,7 @@ CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540
 FEATURES:=spe_fpu squashfs
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/mvebu/Makefile b/target/linux/mvebu/Makefile
index c9d5ab4beb..22fd05a737 100644
--- a/target/linux/mvebu/Makefile
+++ b/target/linux/mvebu/Makefile
@@ -13,7 +13,7 @@ FEATURES:=targz usb jffs2 pci pcie gpio
 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch b/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch
index 3872924a61..3cde2a308e 100644
--- a/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch
+++ b/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch
@@ -13,7 +13,7 @@ Cc: linux-kernel@vger.kernel.org
 
 --- a/lib/devres.c
 +++ b/lib/devres.c
-@@ -195,6 +195,7 @@ void devm_ioport_unmap(struct device *de
+@@ -226,6 +226,7 @@ void devm_ioport_unmap(struct device *de
  			       devm_ioport_map_match, (void *)addr));
  }
  EXPORT_SYMBOL(devm_ioport_unmap);
@@ -21,7 +21,7 @@ Cc: linux-kernel@vger.kernel.org
  
  #ifdef CONFIG_PCI
  /*
-@@ -400,4 +401,3 @@ void pcim_iounmap_regions(struct pci_dev
+@@ -431,4 +432,3 @@ void pcim_iounmap_regions(struct pci_dev
  }
  EXPORT_SYMBOL(pcim_iounmap_regions);
  #endif /* CONFIG_PCI */
diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile
index d274ca90a2..8f9b9b6103 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/ppc44x/Makefile b/target/linux/ppc44x/Makefile
index 53c99e387f..10c9f75f87 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile
index 4eaf0caec8..b78a00174c 100644
--- a/target/linux/ramips/Makefile
+++ b/target/linux/ramips/Makefile
@@ -13,7 +13,7 @@ SUBTARGETS:=rt288x rt305x rt3883
 CFLAGS:=-Os -pipe -fno-caller-saves -mno-branch-likely
 FEATURES:=squashfs gpio
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES+=\
diff --git a/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch b/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch
index 51a7f88f14..592f2af24c 100644
--- a/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch
+++ b/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch
@@ -19,11 +19,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 arch/mips/include/asm/mach-ralink/rt288x.h
  create mode 100644 arch/mips/ralink/rt288x.c
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index 27a4bfa..c1997db 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -1144,7 +1144,7 @@ config BOOT_ELF32
+@@ -1189,7 +1189,7 @@ config BOOT_ELF32
  
  config MIPS_L1_CACHE_SHIFT
  	int
@@ -32,9 +30,6 @@ index 27a4bfa..c1997db 100644
  	default "6" if MIPS_CPU_SCACHE
  	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  	default "5"
-diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h
-new file mode 100644
-index 0000000..ad8b42d
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-ralink/rt288x.h
 @@ -0,0 +1,49 @@
@@ -87,8 +82,6 @@ index 0000000..ad8b42d
 +#define CLKCFG_SRAM_CS_N_WDT		BIT(9)
 +
 +#endif
-diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
-index a0b0197..6723b94 100644
 --- a/arch/mips/ralink/Kconfig
 +++ b/arch/mips/ralink/Kconfig
 @@ -6,6 +6,9 @@ choice
@@ -101,23 +94,19 @@ index a0b0197..6723b94 100644
  	config SOC_RT305X
  		bool "RT305x"
  		select USB_ARCH_HAS_HCD
-diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile
-index 939757f..6d826f2 100644
 --- a/arch/mips/ralink/Makefile
 +++ b/arch/mips/ralink/Makefile
 @@ -8,6 +8,7 @@
  
- obj-y := prom.o of.o reset.o clk.o irq.o
+ obj-y := prom.o of.o reset.o clk.o irq.o pinmux.o
  
 +obj-$(CONFIG_SOC_RT288X) += rt288x.o
  obj-$(CONFIG_SOC_RT305X) += rt305x.o
  
  obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
-diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform
-index 6babd65..3f49e51 100644
 --- a/arch/mips/ralink/Platform
 +++ b/arch/mips/ralink/Platform
-@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)		+= arch/mips/ralink/
+@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)		+= arch/mips/rali
  cflags-$(CONFIG_RALINK)		+= -I$(srctree)/arch/mips/include/asm/mach-ralink
  
  #
@@ -129,9 +118,6 @@ index 6babd65..3f49e51 100644
  # Ralink RT305x
  #
  load-$(CONFIG_SOC_RT305X)	+= 0xffffffff80000000
-diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c
-new file mode 100644
-index 0000000..8f3a0fa
 --- /dev/null
 +++ b/arch/mips/ralink/rt288x.c
 @@ -0,0 +1,143 @@
@@ -278,6 +264,3 @@ index 0000000..8f3a0fa
 +		(id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK,
 +		(id & CHIP_ID_REV_MASK));
 +}
--- 
-1.7.10.4
-
diff --git a/target/linux/ramips/patches-3.8/0120-NET-MIPS-add-ralink-SoC-ethernet-driver.patch b/target/linux/ramips/patches-3.8/0120-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
index 86f289be6a..b992650757 100644
--- a/target/linux/ramips/patches-3.8/0120-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
+++ b/target/linux/ramips/patches-3.8/0120-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
@@ -26,10 +26,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 drivers/net/ethernet/ramips/ramips_eth.h
  create mode 100644 drivers/net/ethernet/ramips/ramips_main.c
 
-Index: linux-3.8.6/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
 @@ -0,0 +1,27 @@
 +/*
 + *  Ralink RT305x SoC platform device registration
@@ -58,11 +56,9 @@ Index: linux-3.8.6/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
 +};
 +
 +#endif /* _RT305X_ESW_PLATFORM_H */
-Index: linux-3.8.6/arch/mips/ralink/rt305x.c
-===================================================================
---- linux-3.8.6.orig/arch/mips/ralink/rt305x.c	2013-04-07 14:13:35.580091641 +0200
-+++ linux-3.8.6/arch/mips/ralink/rt305x.c	2013-04-07 14:13:35.688091644 +0200
-@@ -182,6 +182,7 @@
+--- a/arch/mips/ralink/rt305x.c
++++ b/arch/mips/ralink/rt305x.c
+@@ -182,6 +182,7 @@ void __init ralink_clk_init(void)
  	}
  
  	ralink_clk_add("cpu", cpu_rate);
@@ -70,11 +66,9 @@ Index: linux-3.8.6/arch/mips/ralink/rt305x.c
  	ralink_clk_add("10000b00.spi", sys_rate);
  	ralink_clk_add("10000100.timer", wdt_rate);
  	ralink_clk_add("10000120.watchdog", wdt_rate);
-Index: linux-3.8.6/drivers/net/ethernet/Kconfig
-===================================================================
---- linux-3.8.6.orig/drivers/net/ethernet/Kconfig	2013-04-05 18:49:06.000000000 +0200
-+++ linux-3.8.6/drivers/net/ethernet/Kconfig	2013-04-07 14:13:35.688091644 +0200
-@@ -136,6 +136,7 @@
+--- a/drivers/net/ethernet/Kconfig
++++ b/drivers/net/ethernet/Kconfig
+@@ -136,6 +136,7 @@ source "drivers/net/ethernet/packetengin
  source "drivers/net/ethernet/pasemi/Kconfig"
  source "drivers/net/ethernet/qlogic/Kconfig"
  source "drivers/net/ethernet/racal/Kconfig"
@@ -82,11 +76,9 @@ Index: linux-3.8.6/drivers/net/ethernet/Kconfig
  source "drivers/net/ethernet/realtek/Kconfig"
  source "drivers/net/ethernet/renesas/Kconfig"
  source "drivers/net/ethernet/rdc/Kconfig"
-Index: linux-3.8.6/drivers/net/ethernet/Makefile
-===================================================================
---- linux-3.8.6.orig/drivers/net/ethernet/Makefile	2013-04-05 18:49:06.000000000 +0200
-+++ linux-3.8.6/drivers/net/ethernet/Makefile	2013-04-07 14:13:35.688091644 +0200
-@@ -54,6 +54,7 @@
+--- a/drivers/net/ethernet/Makefile
++++ b/drivers/net/ethernet/Makefile
+@@ -54,6 +54,7 @@ obj-$(CONFIG_NET_PACKET_ENGINE) += packe
  obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
  obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
  obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
@@ -94,10 +86,8 @@ Index: linux-3.8.6/drivers/net/ethernet/Makefile
  obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
  obj-$(CONFIG_SH_ETH) += renesas/
  obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
-Index: linux-3.8.6/drivers/net/ethernet/ramips/Kconfig
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/Kconfig	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/Kconfig
 @@ -0,0 +1,18 @@
 +config NET_RAMIPS
 +       tristate "Ralink RT288X/RT3X5X/RT3662/RT3883 ethernet driver"
@@ -117,10 +107,8 @@ Index: linux-3.8.6/drivers/net/ethernet/ramips/Kconfig
 +	depends on DEBUG_FS
 +
 +endif
-Index: linux-3.8.6/drivers/net/ethernet/ramips/Makefile
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/Makefile	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/Makefile
 @@ -0,0 +1,9 @@
 +#
 +# Makefile for the Ramips SoCs built-in ethernet macs
@@ -131,10 +119,8 @@ Index: linux-3.8.6/drivers/net/ethernet/ramips/Makefile
 +ramips-$(CONFIG_NET_RAMIPS_DEBUG_FS)	+= ramips_debugfs.o
 +
 +obj-$(CONFIG_NET_RAMIPS)	+= ramips.o
-Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_debugfs.c
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/ramips_debugfs.c	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/ramips_debugfs.c
 @@ -0,0 +1,127 @@
 +/*
 + *  Ralink SoC ethernet driver debugfs code
@@ -263,10 +249,8 @@ Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_debugfs.c
 +	debugfs_remove(raeth_debugfs_root);
 +	raeth_debugfs_root = NULL;
 +}
-Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_esw.c
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/ramips_esw.c	2013-04-07 16:16:56.172408006 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/ramips_esw.c
 @@ -0,0 +1,1221 @@
 +#include <linux/ioport.h>
 +#include <linux/switch.h>
@@ -1489,10 +1473,8 @@ Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_esw.c
 +{
 +	platform_driver_unregister(&rt305x_esw_driver);
 +}
-Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_eth.h
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/ramips_eth.h	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/ramips_eth.h
 @@ -0,0 +1,375 @@
 +/*
 + *   This program is free software; you can redistribute it and/or modify
@@ -1869,10 +1851,8 @@ Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_eth.h
 +#endif /* CONFIG_NET_RAMIPS_DEBUG_FS */
 +
 +#endif /* RAMIPS_ETH_H */
-Index: linux-3.8.6/drivers/net/ethernet/ramips/ramips_main.c
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.8.6/drivers/net/ethernet/ramips/ramips_main.c	2013-04-07 14:13:35.688091644 +0200
+--- /dev/null
++++ b/drivers/net/ethernet/ramips/ramips_main.c
 @@ -0,0 +1,1285 @@
 +/*
 + *   This program is free software; you can redistribute it and/or modify
diff --git a/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch b/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch
index 0f6e099cb9..71dad9e0c6 100644
--- a/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch
+++ b/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch
@@ -10,8 +10,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/ralink/early_printk.c |    4 ++++
  1 file changed, 4 insertions(+)
 
-diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c
-index c4ae47e..b46d041 100644
 --- a/arch/mips/ralink/early_printk.c
 +++ b/arch/mips/ralink/early_printk.c
 @@ -11,7 +11,11 @@
@@ -26,6 +24,3 @@ index c4ae47e..b46d041 100644
  
  #define UART_REG_RX             0x00
  #define UART_REG_TX             0x04
--- 
-1.7.10.4
-
diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile
index 9a8bcee40c..5b55afa4de 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.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += wpad-mini kmod-madwifi kmod-input-rb532
diff --git a/target/linux/realview/Makefile b/target/linux/realview/Makefile
index 441d589e22..718141b8e7 100644
--- a/target/linux/realview/Makefile
+++ b/target/linux/realview/Makefile
@@ -13,7 +13,7 @@ FEATURES:=fpu ramdisk
 CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -fno-caller-saves
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 DEVICE_TYPE:=developerboard
 
diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile
index aec6ce452b..a10f0dd17b 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 <florian@openwrt.org>
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/x86/alix2/target.mk b/target/linux/x86/alix2/target.mk
index ad13d1fbf7..fcd7a2377b 100644
--- a/target/linux/x86/alix2/target.mk
+++ b/target/linux/x86/alix2/target.mk
@@ -19,7 +19,7 @@ DEFAULT_PACKAGES += \
 			kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
 			kmod-ledtrig-netdev \
 			kmod-cpu-msr hwclock wpad
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 CS5535_MASK:=0x0b000042
 
 CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \
diff --git a/target/linux/x86/generic/target.mk b/target/linux/x86/generic/target.mk
index 23795f07ee..a5ac323f7b 100644
--- a/target/linux/x86/generic/target.mk
+++ b/target/linux/x86/generic/target.mk
@@ -1,6 +1,6 @@
 BOARDNAME:=Generic
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 define Target/Description
 	Build firmware images for x86 based boards
diff --git a/target/linux/xburst/Makefile b/target/linux/xburst/Makefile
index 2b9d89f8e6..143dce41ec 100644
--- a/target/linux/xburst/Makefile
+++ b/target/linux/xburst/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Ingenic XBurst
 FEATURES:=jffs2 targz ubifs audio broken
 SUBTARGETS:=qi_lb60 n516 n526 id800wt
 
-LINUX_VERSION:=3.8.6
+LINUX_VERSION:=3.8.7
 
 DEVICE_TYPE=other
 
-- 
2.30.2