Commit graph

1698 commits

Author SHA1 Message Date
Felix Fietkau
fafa3f57e3 kernel: merge upstream bgmac driver improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44978
2015-03-25 14:30:46 +00:00
Gabor Juhos
621979b49f kernel: yaffs: use new_sync_{read,write} for 3.18+
Using the do_sync_{read,write} functions in conjunction
with the generic_file_{read,write}_iter causes a kernel
panic like this:

  root@OpenWrt:/# mount -t yaffs /dev/mtdblock5 /mnt
  [ 2884.110000] yaffs: dev is 32505861 name is "mtdblock5" rw
  [ 2884.120000] yaffs: passed flags ""
  root@OpenWrt:/# hexdump -vC -n 64 /mnt/kernel
  [ 2902.700000] CPU 0 Unable to handle kernel paging request at virtual \
    address 00000000, epc == 00000000, ra == 80129414
  [ 2902.710000] Oops[#1]:
  [ 2902.710000] CPU: 0 PID: 1030 Comm: hexdump Not tainted 3.18.9 #2
  [ 2902.710000] task: 878e7a20 ti: 868c6000 task.ti: 868c6000
  [ 2902.710000] $ 0   : 00000000 fffffff8 00000000 00000000
  [ 2902.710000] $ 4   : 868c7e70 868c7ea8 00000001 868c7f08
  [ 2902.710000] $ 8   : 00000038 80064f18 80072280 00000000
  [ 2902.710000] $12   : 7fa152b8 7709e3a0 00c42008 7709e3a0
  [ 2902.710000] $16   : 868c7f08 86a46000 00000010 878e7a20
  [ 2902.710000] $20   : 7705c4b0 00000010 00000000 00000000
  [ 2902.710000] $24   : 770960bc 7707dd78
  [ 2902.710000] $28   : 868c6000 868c7e58 7f8e7030 80129414
  [ 2902.710000] Hi    : 00000000
  [ 2902.710000] Lo    : ffffffff
  [ 2902.710000] epc   : 00000000   (null)
  [ 2902.710000]     Not tainted
  [ 2902.710000] ra    : 80129414 do_sync_read+0x7c/0xb4
  [ 2902.710000] Status: 1900dc03 KERNEL EXL IE
  [ 2902.710000] Cause : 00800008
  [ 2902.710000] BadVA : 00000000
  [ 2902.710000] PrId  : 00019750 (MIPS 74Kc)

Change the yaffs code to use the new_sync_{read,write} functions
instead.

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

SVN-Revision: 44974
2015-03-25 08:59:12 +00:00
Rafał Miłecki
8fdd0fb07c kernel: backport rest of bcma patches
This backports
bcma: allow disabling (not building) PCI driver
Revert "bcma: Kconfig: Let it depend on PCI"

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44970
2015-03-24 10:39:10 +00:00
Rafał Miłecki
a7724918c9 kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44969
2015-03-24 10:38:59 +00:00
Rafał Miłecki
3b6c70b7fc kernel: update bcma with most patches from wireless-drivers-next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44955
2015-03-24 07:15:31 +00:00
Rafał Miłecki
eb90a6d7d8 kernel: backport fixed_phy_register EXPORT fix from 3.19
This fixes
ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/bgmac.ko] undefined!

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44954
2015-03-23 18:39:16 +00:00
Imre Kaloz
2375f37723 generic/3.18: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44951
2015-03-23 13:28:52 +00:00
John Crispin
908a82ab61 kernel: add two more missing config symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44921
2015-03-21 21:46:47 +00:00
Rafał Miłecki
ba10454b91 kernel: backport bgmac patches
This allows dropping some hacky bcm53xx bgmac patch forcing link state.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44917
2015-03-21 11:45:50 +00:00
Felix Fietkau
db3b862d1c kernel: fix ipsec related regression in the netfilter rtcache patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44913
2015-03-20 22:13:34 +00:00
Steven Barth
9b1840b861 ipv6: fix throw routes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44894
2015-03-19 15:46:03 +00:00
Felix Fietkau
32a6800a41 kernel: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44890
2015-03-19 11:58:59 +00:00
Imre Kaloz
05bf6e0f2e generic/4.0: fix ubi EOF marker patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44881
2015-03-19 10:13:21 +00:00
Imre Kaloz
0d8d48641d generic/4.0: add missing symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44880
2015-03-19 10:11:20 +00:00
Felix Fietkau
b011293d0b kernel: replace GRO optimization patch with a new one that supports VLANs/bridges with different MAC addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44877
2015-03-18 18:22:41 +00:00
Felix Fietkau
17afb853ee kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44876
2015-03-18 18:21:08 +00:00
Jonas Gorski
87568ebeac b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44875
2015-03-18 10:44:15 +00:00
Felix Fietkau
f30358d41a kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44873
2015-03-17 17:14:48 +00:00
Felix Fietkau
caf94290ce kernel: add a few more missing config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44856
2015-03-17 07:24:51 +00:00
Felix Fietkau
06cb90f8a2 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44850
2015-03-16 21:17:41 +00:00
John Crispin
d6b3eba475 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44827
2015-03-16 08:05:42 +00:00
Felix Fietkau
7f7e0a21b8 kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44804
2015-03-16 05:52:02 +00:00
Felix Fietkau
c75c90edf6 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44801
2015-03-16 05:16:14 +00:00
Felix Fietkau
adb6d8f93f kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44800
2015-03-16 05:16:07 +00:00
Felix Fietkau
d6fbb77bc8 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44799
2015-03-16 04:47:28 +00:00
Felix Fietkau
d5b99a2d74 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44798
2015-03-16 04:19:09 +00:00
Felix Fietkau
270bc6427b kernel: skip GRO for packets bridged to other hosts
Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44797
2015-03-15 20:32:09 +00:00
John Crispin
9a863f803e kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44792
2015-03-15 19:39:27 +00:00
Jonas Gorski
085b8e0014 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44788
2015-03-15 14:19:28 +00:00
Felix Fietkau
50d4775df0 kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44757
2015-03-15 04:43:22 +00:00
Felix Fietkau
09ac7d4697 kernel: add missing config symbol for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44756
2015-03-15 04:40:10 +00:00
Felix Fietkau
c5aa269d57 kernel: linux 3.19 also needs the network namespace related fd export patch (#19161)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44751
2015-03-14 05:38:14 +00:00
Felix Fietkau
cd34dcd2ce atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25
This patch starts upsteam ath25 code backporting.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44706
2015-03-13 02:57:51 +00:00
Felix Fietkau
944612680d kernel: backport fib_trie improvements/fixes from 4.0-rc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44695
2015-03-12 15:27:44 +00:00
Felix Fietkau
7a6593267c kernel: backport symbol export from r44653 to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44681
2015-03-11 17:32:29 +00:00
John Crispin
da3fd5dbf9 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44678
2015-03-11 17:08:46 +00:00
John Crispin
7dc189c572 Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)
This commit re-adds a patch from 3.14 that is required for UBI block
devices with an EOF marker to be successfully mounted.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

SVN-Revision: 44658
2015-03-11 15:54:52 +00:00
Felix Fietkau
ac999f4f33 kernel: backport an export required by newer compat-wireless versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44653
2015-03-11 15:02:16 +00:00
John Crispin
850bab2559 kernel: fix yaffs compile for >= v3.16
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44643
2015-03-10 13:08:17 +00:00
John Crispin
57c7bed820 swconfig: fix build with linux 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44617
2015-03-06 07:57:03 +00:00
John Crispin
d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
John Crispin
6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44612
2015-03-06 07:56:08 +00:00
Luka Perkov
84c0248e5a generic: add CONFIG_FW_LOADER_USER_HELPER symbol
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44608
2015-03-05 23:43:21 +00:00
John Crispin
959a1334d4 generic: add USB_DWC2 missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44600
2015-03-05 20:24:33 +00:00
John Crispin
d9687a4076 generic: add missing symbols for 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44599
2015-03-05 20:24:28 +00:00
Rafał Miłecki
8be054faf4 kernel: backport bcma changes to 3.19 and 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44597
2015-03-04 07:08:39 +00:00
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Jonas Gorski
1e4f59c670 generic: upgrade to 3.14.34
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.33
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.34

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44594
2015-03-03 14:39:52 +00:00