Commit Graph

1284 Commits

Author SHA1 Message Date
Luka Perkov
ed6d759f39 kernel: add support for ESMT F25L32PA with upstream submission
Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37956
2013-09-12 14:38:48 +00:00
Felix Fietkau
8eb57d0cd7 kernel: align the skb padding to power of two
The skb is usually started by a padding which allows the protocols in the
network stack to add their headers in front of the payload. The skb can be
reallocated in case the preallocated padding is not large enough. This can for
example happen in the function __skb_cow which will check the requested extra
headroom and allocate more buffer when the requested headroom is bigger than
the available one. The extra buffer is aligned again to the multiple of the
NET_SKB_PAD of the target architecture.

The macro used to create the multiple of the NET_SKB_PAD is written in a way
which allows only values power two as alignment parameter. The currently used
value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The
extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80,
128, 144 and so on. The generated values are also not monotonic (48 requested
bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64
allocated bytes).

These unexpected small values result in more reallocations of the buffer. This
was noticed prominently during tests between two QCA9558 720 MHz devices which
were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each
other. The throughput PC-to-PC during iperf TCP runs increased reliable from
186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s
in the other direction. This is a performance increase of ~14% just by reducing
the amount of reallocations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 37948
2013-09-11 14:30:15 +00:00
Florian Fainelli
4434bc361d kernel: fix broken depends syntax introduced in r37933
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37942
2013-09-11 12:45:24 +00:00
Florian Fainelli
3668004858 kernel: Fix FIQ code on VIVT CPUs (#14145)
Backport an upstream patch to fix FIQ code on VIVT CPUs

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37940
2013-09-11 12:08:44 +00:00
Luka Perkov
7d73153e86 kernel: allow hwmon GSC driver for all targets
- enable using hwmon GSC driver on all targets
- add a kmod package for it

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37933
2013-09-10 22:26:30 +00:00
Felix Fietkau
11926c2fd8 kernel: fix arch-dependent bug in hso module
Currently, the module causes an oops at least on rt5350. These patches
have been accepted upstream at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 37931
2013-09-10 13:47:44 +00:00
Jonas Gorski
4b0655500a kernel: b53: support phy ids for BCM5365
BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37906
2013-09-05 20:30:34 +00:00
Imre Kaloz
445d1a8b27 Add missing symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37897
2013-09-05 10:08:59 +00:00
Hauke Mehrtens
4eced13a37 kernel: b53: allow access the MIB counters on BCM5365
b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37895
2013-09-04 16:15:10 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
0950922925 generic: remove linux version checks from myloader.c
The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

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

SVN-Revision: 37880
2013-09-02 16:33:13 +00:00
Felix Fietkau
999ec62da7 kernel: fix booting issues on imx23 and imx6 targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37854
2013-08-28 07:38:36 +00:00
Gabor Juhos
a4c2853261 kernel: don't hide the 'Warning: unable to open an initial console' message
The 'Warning: unable to open an initial console' message
indicates an error in the rootfs. Remove the patch which
hides the warning.

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

SVN-Revision: 37848
2013-08-27 12:03:01 +00:00
Gabor Juhos
012f214e6f kernel: ensure that /dev/console exists in initramfs
Linux expects that the /dev/console node is present
in the rootfs image. Create the node in initramfs,
in order to make std{in,out,err} usable even in early
init process.

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

SVN-Revision: 37846
2013-08-27 12:02:54 +00:00
Felix Fietkau
c75416292a kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37842
2013-08-26 17:47:14 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Gabor Juhos
6f232cba62 generic: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37831
2013-08-23 17:31:02 +00:00
Gabor Juhos
2d89ba8210 kernel/3.10: backport of_pci_get_devfn function from 3.11
Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37826
2013-08-23 17:07:20 +00:00
Felix Fietkau
3848e6a246 kernel: crashlog: Avoid out-of-bounds write
vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 37820
2013-08-21 20:59:25 +00:00
Felix Fietkau
e2aa807b60 kernel: add back missing declaration in the MIPS DMA patch that broke octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37811
2013-08-18 05:49:57 +00:00
Luka Perkov
4f679c1775 kernel: drop dead pwm code
The files have last been used with 2.6.x kernel.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37810
2013-08-18 01:25:41 +00:00
Luka Perkov
a2dccb958c kernel: drop dead glamo code
The code is not used since the s3c24xx target was removed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37809
2013-08-18 01:25:40 +00:00
Luka Perkov
f1509b1958 kernel: replace local m25p80 patches with upstream submission
http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37808
2013-08-17 23:54:41 +00:00
Luka Perkov
18a36d3062 kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37807
2013-08-17 22:29:05 +00:00
Luka Perkov
5c018d5096 kernel: drop 110-fix_mtd_include.patch
Kernel builds just fine without this patch so we can just remove it.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37805
2013-08-17 17:09:41 +00:00
Felix Fietkau
d16060d5a3 kernel: fix a small #ifdef bug in the noncoherent dma check rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37791
2013-08-15 09:29:53 +00:00
Felix Fietkau
e27f67b30a kernel: improve dma ops inlining patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37790
2013-08-15 09:23:07 +00:00
Felix Fietkau
8b8875b305 ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37769
2013-08-14 08:52:19 +00:00
Felix Fietkau
3ead1e058c kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37763
2013-08-12 17:26:08 +00:00
Felix Fietkau
e5fd991c6c rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37760
2013-08-12 17:25:25 +00:00
Florian Fainelli
d1914b4939 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37710
2013-08-05 20:58:05 +00:00
Hauke Mehrtens
9d4145efe5 kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37709
2013-08-05 16:17:05 +00:00
John Crispin
db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
2013-08-04 13:54:42 +00:00
Hauke Mehrtens
b2d2ca4bbd kernel: add missing config options
SVN-Revision: 37660
2013-08-02 20:13:54 +00:00
Hauke Mehrtens
219eac1856 kernel: add missing config option
SVN-Revision: 37657
2013-08-02 16:51:47 +00:00
Hauke Mehrtens
c47a55dd0d kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37656
2013-08-02 16:16:23 +00:00
Jonas Gorski
3e9ad14992 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37652
2013-08-01 23:04:42 +00:00
Hauke Mehrtens
8966b86067 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37648
2013-08-01 20:46:56 +00:00
Hauke Mehrtens
e1127aca07 kernel: b53: add support for GPIO reset
This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37645
2013-08-01 19:05:34 +00:00
Zoltan Herpai
91e8082e2d kernel: add missing iio config symbols for 3.10
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37631
2013-08-01 06:58:08 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
99e3616dac kernel: add missing config symbols for 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37602
2013-07-29 12:48:57 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Felix Fietkau
cc26f768e4 kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37598
2013-07-29 09:38:21 +00:00
John Crispin
4176b6fdd3 strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37562
2013-07-27 09:23:18 +00:00
Gabor Juhos
bc91bec9f6 kernel/3.10: rework MIPS FPU emulation disable patch
Get rid of some ifdefs, and make sure that the microMIPS
specific code is disabled as well.

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

SVN-Revision: 37506
2013-07-22 16:02:12 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

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

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
6a5b4ec7dc kernel: update 3.9 to 3.9.11
Also refresh 3.9 patches.

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

SVN-Revision: 37501
2013-07-22 15:30:56 +00:00
Felix Fietkau
a50c18c632 kernel: fix crash in act_connmark in 3.9 and 3.10 (fixes #13916, #13876)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37493
2013-07-21 13:53:54 +00:00
Hauke Mehrtens
a1ec175d7b kernel: add missing config option CONFIG_SND_MXS_SOC
This is needed by imx23 target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37492
2013-07-21 12:27:22 +00:00
Lars-Peter Clausen
8fc44d1f5f kernel: Remove gpio-pwm patches
There is no platform using the gpio-pwm driver, yet these patches break the
generic PWM framework that is in upstream. So just remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37490
2013-07-21 11:43:16 +00:00
Felix Fietkau
bb141e06a2 kernel: merge a proposed fix from LKML for fixing infinite data returned by /proc/timer_list
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37484
2013-07-20 18:35:54 +00:00
Gabor Juhos
a2d12049e0 kernel/3.10: add a generic patch for cpu_has_mmips override
Backport of commit 3ddc14add5e6341cf8ef4058c34c67ba7fd15317
from 3.11-rc1

Suggested-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37479
2013-07-20 10:14:05 +00:00
Gabor Juhos
f5f9bce168 kernel/3.10: make emulate_load_store_microMIPS static
This allows the compiler to remove the emulate_load_store_microMIPS
function if cpu_has_mmips is defined as zero.

Backport of commit 74338805ec6869594d583535f941cb478c94dd73
from 3.11-rc1.

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

SVN-Revision: 37478
2013-07-20 09:53:54 +00:00
Gabor Juhos
187a69c631 linux: move more ARM_ERRATA symbols to the generic config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37470
2013-07-20 07:43:54 +00:00
Gabor Juhos
a9de3a851a linux: remove 3.7 support
It is not used by any target.

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

SVN-Revision: 37469
2013-07-20 07:37:27 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Gabor Juhos
0f0f250b66 kernel: add missing symbols for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37450
2013-07-19 17:12:36 +00:00
Gabor Juhos
8e674fdf1b kernel: refresh config-3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37449
2013-07-19 17:12:34 +00:00
Jonas Gorski
29954b9ffc kernel: remove gpio_buttons
It hasn't been buildable for a long time, and there are no users of it
anymore left as all of them have been switched to the upstream accepted
version.

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

SVN-Revision: 37436
2013-07-19 13:20:41 +00:00
Hauke Mehrtens
c7f8cb3f4f kernel: update bcma and ssb to version from wireless-testing/master tag master-2013-07-18
This should fix some build problems in b43 with kernel 3.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37432
2013-07-19 12:02:34 +00:00
Jonas Gorski
21412ccb21 kernel: add missing kernel config symbol
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37423
2013-07-19 09:51:20 +00:00
John Crispin
947abea261 kernel: v3.10 has no GENERIC_GPIO anymore
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37355
2013-07-15 21:05:53 +00:00
Felix Fietkau
3197479290 kernel: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37348
2013-07-15 15:12:37 +00:00
Felix Fietkau
a6db996b13 kernel: fix another corner case in the bridge state patch (#13874)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37347
2013-07-15 15:12:33 +00:00
Felix Fietkau
93cb862260 kernel: fix a bridge issue that broke WDS client handling in 3.9+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37341
2013-07-15 12:25:58 +00:00
Felix Fietkau
93c73cfb14 kernel: fix block2mtd build after removing the device refresh ioctl
fixes #13882

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

SVN-Revision: 37332
2013-07-15 11:01:48 +00:00
Florian Fainelli
116990441b kernel: add some more ARM related configuration symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37320
2013-07-14 21:03:53 +00:00
Hauke Mehrtens
f8d55e7541 brcm47xx: use b53 phy driver for the switch in kernel 3.10
This makes it possible to use swconfig to controll the switch.

This was tested with devices using b43 and bgmac.
This was not tested on devices using tg3.
This does not support the adm switch used in some very old devices.

SVN-Revision: 37304
2013-07-14 14:11:17 +00:00
Felix Fietkau
17bbc92882 kernel: disable the yaffs2 /proc code to make it compile on linux 3.10 (#13848)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37285
2013-07-14 13:10:22 +00:00
Felix Fietkau
656d475043 kernel: implement automatic rootfs split from the firmware partition in linux 3.10 (disabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37283
2013-07-14 12:57:03 +00:00
Felix Fietkau
b95bdc8ab5 kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37282
2013-07-14 12:56:58 +00:00
Hauke Mehrtens
da72edd7cd kernel: refresh patches for kernel 3.8.13
SVN-Revision: 37276
2013-07-13 22:45:56 +00:00
Hauke Mehrtens
06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
2013-07-13 22:45:09 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
Felix Fietkau
4932368398 kernel: add a patch that reduces module size by removing non-essential information (reduces default rootfs size by ~5k after lzma)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37255
2013-07-11 20:56:27 +00:00
Felix Fietkau
19e3ec0570 kernel: disable CONFIG_RD_LZMA by default, it will be selected when actually needed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37253
2013-07-11 20:56:19 +00:00
Felix Fietkau
f5ae93e941 kernel: disable CONFIG_CLS_U32_PERF by default, it is usually not needed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37252
2013-07-11 20:56:15 +00:00
Florian Fainelli
7fb9279359 kernel: add a bunch of missing LCD Kconfig options
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37233
2013-07-10 19:42:58 +00:00
Florian Fainelli
818d2603ee kernel: add missing configuration symbols used on ARM platforms
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37217
2013-07-09 20:52:23 +00:00
Florian Fainelli
0b55984e1d kernel: update PATCHES with a stricter policy
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37216
2013-07-09 20:52:07 +00:00
Felix Fietkau
4b5c5934e1 kernel: debloat the lzma compress/decompress code some more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37211
2013-07-09 12:52:04 +00:00
Felix Fietkau
51b1e8577c kernel: do not accept sysrq characters via serial port
many boards have a disconnected TTL level serial which can generate
some garbage that can lead to spurious false sysrq detects.

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

SVN-Revision: 37210
2013-07-09 12:52:00 +00:00
Jonas Gorski
c183dbc542 kernel: add missing config symbol
Should fix buildbot builds of ixp4xx.

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

SVN-Revision: 37208
2013-07-09 07:51:09 +00:00
Gabor Juhos
e194a31500 linux: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37195
2013-07-08 08:40:22 +00:00
Felix Fietkau
dbb2feb87d kernel: disable zisofs and zlib by default, reduces kernel size after lzma by ~10k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37187
2013-07-06 14:49:24 +00:00
Zoltan Herpai
2a8630394d kernel/generic: add missing regulator symbols for 3.10
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37169
2013-07-04 16:58:22 +00:00
Jonas Gorski
923a851ccf kernel: add missing config symbol for 3.10
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37123
2013-07-01 18:42:39 +00:00
Jonas Gorski
96f8c15a36 kernel: update linux 3.10 to 3.10 final
3.10 final is out, so refresh patches and add md5sum.

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

SVN-Revision: 37116
2013-07-01 13:21:06 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

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

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
Felix Fietkau
7acb84dde7 kernel: add global menuconfig option to enable kexec support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37073
2013-06-28 11:27:20 +00:00
Zoltan Herpai
41ad05299c kernel/generic: add missing regulator symbols for 3.9
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37036
2013-06-26 21:48:17 +00:00
Felix Fietkau
3df61e8279 kernel: fix a reference counting bug in overlayfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37014
2013-06-22 14:00:12 +00:00
Felix Fietkau
2a5e1910d5 linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36968
2013-06-18 22:23:38 +00:00
Steven Barth
46d199d1e8 linux: add ipv6 failed-policy routing action (by Jonas Gorski)
SVN-Revision: 36911
2013-06-11 09:27:53 +00:00
Felix Fietkau
1ace51360f kernel/generic: add a few missing kernel config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36878
2013-06-07 13:42:39 +00:00
Gabor Juhos
d187e3c32e generic: add port mirroring/monitoring capability to rtl8366rb switch
This patch adds swlib attributes to the RTL8366RB switch/PHY found in the
TL-WR1043ND router that allow to mirror ethernet packets to a monitor port.

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36847
2013-06-04 13:25:52 +00:00
Imre Kaloz
3a56df33ad refresh patches
SVN-Revision: 36835
2013-06-04 11:24:42 +00:00
Imre Kaloz
8170c9cfb0 add some more symbols
SVN-Revision: 36834
2013-06-04 11:23:27 +00:00
Gabor Juhos
a1f91282b4 generic: ar8216: allow to specify SGMII config via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36798
2013-05-30 17:38:26 +00:00
Gabor Juhos
c170d3c3e4 generic: ar8216: add get_port_link callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36797
2013-05-30 17:38:22 +00:00
Gabor Juhos
8e56b1e742 generic: ar8216: show chip revision in the kernel log
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36791
2013-05-30 16:25:14 +00:00
John Crispin
a9968d9cb8 lantiq: enable retrieving kernel args from bootloader
This patch is a device tree enhancement that IMHO is worthy of mainline.
It allows the bootloader's commandline to be preserved even when the
device tree specifies one.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 36780
2013-05-30 16:00:42 +00:00
Luka Perkov
846e3d40a0 kernel: generic: remove upstream patches for 3.10-rc3 and refresh patches
SVN-Revision: 36752
2013-05-29 01:27:27 +00:00
Luka Perkov
0998065a53 generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:

$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36713
2013-05-24 13:10:22 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00
Jonas Gorski
4d0fcd0c49 kernel: add some missing symbols/move them to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36670
2013-05-20 12:42:32 +00:00
Jonas Gorski
c0435a971e kernel: generic: add 3.10-rc1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36663
2013-05-19 18:36:15 +00:00
Jonas Gorski
668604f91d kernel: don't remove of_tables
These are needed for OF setup of clocksource, clocks and irqchips.

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

SVN-Revision: 36657
2013-05-19 11:27:28 +00:00
Felix Fietkau
2c5a5d8736 kernel: add missing PHY ID for an AR8327 switch variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36630
2013-05-13 19:13:27 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Jonas Gorski
bbd02c6fb7 kernel: fix CVE-2013-1763 in older kernels
Newer kernels were already fixed by upstream.

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

SVN-Revision: 36607
2013-05-12 10:55:12 +00:00
Jonas Gorski
0b03ff2028 kernel: make zlib and lzo modules selectable
Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them.

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

SVN-Revision: 36592
2013-05-09 20:50:07 +00:00
Hauke Mehrtens
0b161c6f9e kernel: b53: use correct oops for bcm5365 switch
SVN-Revision: 36589
2013-05-09 20:01:58 +00:00
Jonas Gorski
98f6dc1b43 kernel: allow building zsmalloc as a module again
zsmalloc was changed to a bool because of missing exports in the kernel,
but we already export the required symbol, so change it back to tristate.

Closes #13481.

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

SVN-Revision: 36587
2013-05-09 19:19:36 +00:00
Gabor Juhos
39467e78e7 kernel: update linux 3.9 to 3.9.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36577
2013-05-08 08:53:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Felix Fietkau
30c4360345 kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36529
2013-05-02 15:59:57 +00:00
Jonas Gorski
8f15326acc kernel: generic: don't strip /proc/irq on SMP
/proc/irq is needed for changing the SMP affinity of interrupts.

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

SVN-Revision: 36525
2013-05-02 15:28:12 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
0fa71ca3e5 linux/3.9: implement pcibios_get_phb_of_node for MIPS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36495
2013-04-30 10:44:08 +00:00
Gabor Juhos
41445b41cc linux/3.8: use backported pcibios_get_phb_of_node patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36494
2013-04-30 10:44:07 +00:00
Gabor Juhos
d35545f3d7 linux/3.{8,9}: add missing symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36491
2013-04-30 10:43:57 +00:00
Gabor Juhos
25c45c0d53 linux/3.{8,9}: turn on CONFIG_NET_SCH_FQ_CODEL
It is forced to 'y' since r36342.

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

SVN-Revision: 36490
2013-04-30 10:43:56 +00:00
Hauke Mehrtens
e7e4afbb64 kernel: fix a memory leak in split_rootfs_data()
allocate_partition() copies all the content of dpart into a new struct.

SVN-Revision: 36475
2013-04-28 17:01:56 +00:00
Hauke Mehrtens
1bac172c44 kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.
SVN-Revision: 36473
2013-04-28 16:52:11 +00:00
Jonas Gorski
ad1d3f00cb kernel: update linux 3.9 patches to rc8
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36469
2013-04-28 11:55:23 +00:00
Jonas Gorski
a33dd13c98 kernel: add missing bcma defines and header file for bcrmfmac
Fixes build failure when having kmod-mmc and brcmfmac selected.

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

SVN-Revision: 36468
2013-04-28 11:10:42 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
John Crispin
4664e21293 generic: fix rtl8366_smi compile warning
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_sw_set_vlan_ports':
drivers/net/phy/rtl8366_smi.c:1125:6: warning: 'pvid' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36442
2013-04-25 19:03:29 +00:00
Felix Fietkau
a8a01b42ae kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL
SVN-Revision: 36378
2013-04-22 15:01:36 +00:00
Felix Fietkau
f58dcb59c6 kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36367
2013-04-19 12:39:40 +00:00
Gabor Juhos
f03960723a linux/3.9: add missing config symbol
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36365
2013-04-19 08:07:38 +00:00
Gabor Juhos
e07848664c linux/3.[89]: update bridge_remove_ipv6_dependency patch
Fixes the following warning:

    CC [M]  net/ipv6/addrconf.o
  net/ipv6/addrconf.c: In function 'addrconf_init':
  net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default]

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

SVN-Revision: 36364
2013-04-19 08:07:37 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Felix Fietkau
a662200205 kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)
SVN-Revision: 36342
2013-04-15 20:40:29 +00:00
Imre Kaloz
57b68daee9 refresh against -rc7
SVN-Revision: 36340
2013-04-15 16:10:01 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Gabor Juhos
54635e7f78 linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36328
2013-04-12 19:44:38 +00:00
John Crispin
10f432ba9d fix rtl8366s OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36323
2013-04-12 18:56:05 +00:00
Felix Fietkau
edd8048107 kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base
Fixes booting on single-core CNS3xxx devices

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

SVN-Revision: 36308
2013-04-10 16:07:50 +00:00
Felix Fietkau
06733c2650 kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36307
2013-04-10 13:45:12 +00:00
Felix Fietkau
7fa2957103 kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36304
2013-04-10 13:11:29 +00:00
Felix Fietkau
df3d4690bd kernel: keep dropped stats in fq_codel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36303
2013-04-10 13:11:25 +00:00
Felix Fietkau
ec3a8846fc kernel: tune fq_codel defaults for common netdevice speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36302
2013-04-10 13:11:21 +00:00
Felix Fietkau
307965026a kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36301
2013-04-10 13:11:16 +00:00
Florian Fainelli
915969ff2c kernel: refresh patches against 3.9-rc6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36297
2013-04-09 16:16:20 +00:00
Florian Fainelli
c3366cd164 kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36296
2013-04-09 16:16:16 +00:00
Florian Fainelli
518d6a9273 kernel: backport switch user API changes after r36283
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36295
2013-04-09 15:47:01 +00:00
John Crispin
fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00