Commit Graph

93 Commits (fd50416248add8012b0581fc3c28875c546c947b)

Author SHA1 Message Date
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 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 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
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
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 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
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
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
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
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
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 06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
2013-07-13 22:45:09 +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 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 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
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
Steven Barth 46d199d1e8 linux: add ipv6 failed-policy routing action (by Jonas Gorski)
SVN-Revision: 36911
2013-06-11 09:27:53 +00:00
Imre Kaloz 3a56df33ad refresh patches
SVN-Revision: 36835
2013-06-04 11:24:42 +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
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