aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel: crashlog: Avoid out-of-bounds writeFelix Fietkau2013-08-215-5/+5
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add back missing declaration in the MIPS DMA patch that broke octeonFelix Fietkau2013-08-181-9/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead pwm codeLuka Perkov2013-08-182-425/+0
| | | | | | | | The files have last been used with 2.6.x kernel. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead glamo codeLuka Perkov2013-08-187-167/+0
| | | | | | | | The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: replace local m25p80 patches with upstream submissionLuka Perkov2013-08-173-49/+78
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patchLuka Perkov2013-08-171-13/+0
| | | | | | | | | | The patch in question has been accepted upstream in commit: 55bf75b7dd8ec875d048824f3cdecf8254e292e5 Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 110-fix_mtd_include.patchLuka Perkov2013-08-171-10/+0
| | | | | | | | Kernel builds just fine without this patch so we can just remove it. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a small #ifdef bug in the noncoherent dma check reworkFelix Fietkau2013-08-151-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: improve dma ops inlining patchesFelix Fietkau2013-08-153-40/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel ↵Felix Fietkau2013-08-148-8/+8
| | | | | | | | recognize modules as GPL-compatible Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patch to inline mips dma mapping functions - reduces code size ↵Felix Fietkau2013-08-123-1/+834
| | | | | | | | and improves performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8367: add support for configuring the VLAN FIDFelix Fietkau2013-08-121-0/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing config symbolsFlorian Fainelli2013-08-051-0/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix DMA error when BCM4331 is connected to BCM4706Hauke Mehrtens2013-08-055-0/+835
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: make the module reloc pacth work on mips64John Crispin2013-08-041-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionsHauke Mehrtens2013-08-022-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionHauke Mehrtens2013-08-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionHauke Mehrtens2013-08-024-0/+4
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ocf: add missing kernel dependenciesJonas Gorski2013-08-011-0/+3
| | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: use devm_gpio_request_one() to request gpioHauke Mehrtens2013-08-011-3/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: add support for GPIO resetHauke Mehrtens2013-08-012-0/+43
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing iio config symbols for 3.10Zoltan HERPAI2013-08-011-0/+83
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to linux 3.10.4, refresh patchesFelix Fietkau2013-07-2923-67/+64
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbols for 3.10Felix Fietkau2013-07-291-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify target independent optimization optionsFelix Fietkau2013-07-295-10/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on ↵Felix Fietkau2013-07-295-50/+0
| | | | | | | | recent compilers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strict_strtoul is obsolete, use kstrtoul insteadJohn Crispin2013-07-2711-51/+51
| | | | | | | | based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: rework MIPS FPU emulation disable patchGabor Juhos2013-07-221-124/+78
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.2Gabor Juhos2013-07-2224-112/+77
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.9 to 3.9.11Gabor Juhos2013-07-221-2/+2
| | | | | | | | Also refresh 3.9 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix crash in act_connmark in 3.9 and 3.10 (fixes #13916, #13876)Felix Fietkau2013-07-212-24/+46
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config option CONFIG_SND_MXS_SOCHauke Mehrtens2013-07-211-0/+1
| | | | | | | | | This is needed by imx23 target. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Remove gpio-pwm patchesLars-Peter Clausen2013-07-2114-1076/+4
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: merge a proposed fix from LKML for fixing infinite data returned by ↵Felix Fietkau2013-07-201-0/+45
| | | | | | | | /proc/timer_list Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: add a generic patch for cpu_has_mmips overrideGabor Juhos2013-07-201-0/+45
| | | | | | | | | | Backport of commit 3ddc14add5e6341cf8ef4058c34c67ba7fd15317 from 3.11-rc1 Suggested-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: make emulate_load_store_microMIPS staticGabor Juhos2013-07-201-0/+32
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: move more ARM_ERRATA symbols to the generic configGabor Juhos2013-07-204-0/+59
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: remove 3.7 supportGabor Juhos2013-07-20173-38237/+0
| | | | | | | | It is not used by any target. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move CONFIG_NET_IP_TUNNEL to genericJonas Gorski2013-07-191-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.10Gabor Juhos2013-07-191-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh config-3.10Gabor Juhos2013-07-191-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove gpio_buttonsJonas Gorski2013-07-192-265/+0
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to version from wireless-testing/master tag ↵Hauke Mehrtens2013-07-1912-801/+9530
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing kernel config symbolJonas Gorski2013-07-191-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: v3.10 has no GENERIC_GPIO anymoreJohn Crispin2013-07-152-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.10 patchesFelix Fietkau2013-07-1526-58/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix another corner case in the bridge state patch (#13874)Felix Fietkau2013-07-152-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a bridge issue that broke WDS client handling in 3.9+Felix Fietkau2013-07-154-4/+130
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix block2mtd build after removing the device refresh ioctlFelix Fietkau2013-07-152-270/+2
| | | | | | | | fixes #13882 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some more ARM related configuration symbolsFlorian Fainelli2013-07-141-0/+4
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37320 3c298f89-4303-0410-b956-a3cf2f4a3e73