aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 37906
* Add missing symbolImre Kaloz2013-09-051-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37897
* 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> SVN-Revision: 37895
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37890
* 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> SVN-Revision: 37880
* kernel: fix booting issues on imx23 and imx6 targetsFelix Fietkau2013-08-281-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37854
* 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> SVN-Revision: 37848
* 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> SVN-Revision: 37846
* 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> SVN-Revision: 37842
* 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> SVN-Revision: 37832
* generic: refresh kernel configs with kconfig.plGabor Juhos2013-08-234-6/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37831
* 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> SVN-Revision: 37826
* 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> SVN-Revision: 37820
* 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> SVN-Revision: 37811
* 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> SVN-Revision: 37810
* 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> SVN-Revision: 37809
* 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> SVN-Revision: 37808
* 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> SVN-Revision: 37807
* 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> SVN-Revision: 37805
* 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> SVN-Revision: 37791
* kernel: improve dma ops inlining patchesFelix Fietkau2013-08-153-40/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37790
* 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> SVN-Revision: 37769
* 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> SVN-Revision: 37763
* rtl8367: add support for configuring the VLAN FIDFelix Fietkau2013-08-121-0/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37760
* kernel: add some missing config symbolsFlorian Fainelli2013-08-051-0/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37710
* 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> SVN-Revision: 37709
* generic: make the module reloc pacth work on mips64John Crispin2013-08-041-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37685
* kernel: add missing config optionsHauke Mehrtens2013-08-022-0/+4
| | | | SVN-Revision: 37660
* kernel: add missing config optionHauke Mehrtens2013-08-021-0/+1
| | | | SVN-Revision: 37657
* 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> SVN-Revision: 37656
* 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> SVN-Revision: 37652
* kernel: b53: use devm_gpio_request_one() to request gpioHauke Mehrtens2013-08-011-3/+4
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37648
* 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> SVN-Revision: 37645
* kernel: add missing iio config symbols for 3.10Zoltan Herpai2013-08-011-0/+83
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 37631
* kernel: update to linux 3.10.4, refresh patchesFelix Fietkau2013-07-2923-67/+64
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37617
* kernel: add missing config symbols for 3.10Felix Fietkau2013-07-291-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37602
* build: unify target independent optimization optionsFelix Fietkau2013-07-295-10/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* 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> SVN-Revision: 37598
* 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> SVN-Revision: 37562
* 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> SVN-Revision: 37506
* 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> SVN-Revision: 37502
* 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> SVN-Revision: 37501
* 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> SVN-Revision: 37493
* 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> SVN-Revision: 37492
* 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> SVN-Revision: 37490
* 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> SVN-Revision: 37484
* 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> SVN-Revision: 37479
* 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> SVN-Revision: 37478
* linux: move more ARM_ERRATA symbols to the generic configGabor Juhos2013-07-204-0/+59
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37470
* 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> SVN-Revision: 37469