Commit Graph

43 Commits (6f232cba6241c248000fbca5e7261c1a79accbb4)

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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau e27f67b30a kernel: improve dma ops inlining patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37790
11 years ago
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
11 years ago
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
11 years ago
John Crispin db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
11 years ago
Felix Fietkau 8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
11 years ago
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin 947abea261 kernel: v3.10 has no GENERIC_GPIO anymore
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37355
11 years ago
Felix Fietkau 3197479290 kernel: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37348
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Hauke Mehrtens 06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
11 years ago
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
11 years ago
Felix Fietkau 4b5c5934e1 kernel: debloat the lzma compress/decompress code some more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37211
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 3df61e8279 kernel: fix a reference counting bug in overlayfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37014
11 years ago
Steven Barth 46d199d1e8 linux: add ipv6 failed-policy routing action (by Jonas Gorski)
SVN-Revision: 36911
11 years ago
Imre Kaloz 3a56df33ad refresh patches
SVN-Revision: 36835
11 years ago
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
11 years ago
Luka Perkov 846e3d40a0 kernel: generic: remove upstream patches for 3.10-rc3 and refresh patches
SVN-Revision: 36752
11 years ago
Jonas Gorski c0435a971e kernel: generic: add 3.10-rc1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36663
11 years ago