aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix broken depends syntax introduced in r37933Florian Fainelli2013-09-111-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix FIQ code on VIVT CPUs (#14145)Florian Fainelli2013-09-111-0/+55
| | | | | | | | Backport an upstream patch to fix FIQ code on VIVT CPUs Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: allow hwmon GSC driver for all targetsLuka Perkov2013-09-105-5/+5
| | | | | | | | | - enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix arch-dependent bug in hso moduleFelix Fietkau2013-09-1010-0/+490
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: support phy ids for BCM5365Jonas Gorski2013-09-052-2/+28
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add missing symbolImre Kaloz2013-09-051-0/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: allow access the MIB counters on BCM5365Hauke Mehrtens2013-09-041-1/+1
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: remove linux version checks from myloader.cGabor Juhos2013-09-021-6/+0
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix booting issues on imx23 and imx6 targetsFelix Fietkau2013-08-281-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: don't hide the 'Warning: unable to open an initial console' messageGabor Juhos2013-08-275-55/+0
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ensure that /dev/console exists in initramfsGabor Juhos2013-08-275-0/+150
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9Felix Fietkau2013-08-263-3/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-2333-81/+78
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: refresh kernel configs with kconfig.plGabor Juhos2013-08-234-6/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: backport of_pci_get_devfn function from 3.11Gabor Juhos2013-08-231-0/+78
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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