aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: bgmac: add more DMA related fixesFelix Fietkau2015-04-128-48/+428
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45407
* b53: improve overriding CPU port state on BCM5301XRafał Miłecki2015-04-122-2/+30
| | | | | | | | | | | | | | | | | On BCM5301X there are two different cases to handle: CPU port 8 vs. any other one. Support for CPU port 8 was already partially implemented but it lacked setting some extra bit for 2G speed. It also will need to be extended to implement "SMP dual core 3 GMAC setup". That's the reason for handling it in separated code block. This patch also adds overriding CPU port state for port other than 8. It requires using recently defined GMII_PORT registers. It was tested for regressions on BCM53011 revs 2 & 3. It was also confirmed to fix switch on some internal Broadcom board. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45402
* kernel: add missing memory barrier to bgmacFelix Fietkau2015-04-121-10/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45398
* generic: make sure we only try to mangle bootargs we do haveImre Kaloz2015-04-122-18/+24
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45393
* kernel: add bgmac fixes for various issuesFelix Fietkau2015-04-124-0/+330
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45388
* kernel: revert section sorting change from r41951Felix Fietkau2015-04-116-10/+10
| | | | | | | | | It currently does not seem to make a difference anymore, except by increasing compressed kernel image size Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45385
* generic: drop 3.14Luka Perkov2015-04-11208-39799/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45375
* kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)Felix Fietkau2015-04-102-0/+172
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45362
* kernel: remove linux 3.10 supportFelix Fietkau2015-04-10203-41916/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45360
* b53: clean up code to match kernel style betterJonas Gorski2015-04-106-20/+23
| | | | | | | | | | | | | * properly enclose macro arguments in paranthesis on use * remove trailing white space * convert C99 // comments * add missing blank lines after declaration * remove braces from single statement blocks * split lines > 80 chars (except for one) Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45356
* b53: define registers available and needed on BCM5301XJonas Gorski2015-04-101-0/+33
| | | | | | | | They are also present on some BCM63xx switches. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45355
* generic/3.18: add missing wireless symbolsJohn Crispin2015-04-091-0/+9
| | | | | | | | triggered by enabling RFKILL in global build options Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 45335
* generic: add a few missing symbols for 4.0Zoltan Herpai2015-04-091-0/+2
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 45324
* kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patchesGabor Juhos2015-04-084-4/+4
| | | | | | | | Those don't exist anymore. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45314
* kernel: backport ssb patches up to changes queued for 4.1Rafał Miłecki2015-04-072-0/+84
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45306
* generic/4.0: upgrade to 4.0-rc7Imre Kaloz2015-04-075-13/+13
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45305
* generic/3.18: upgrade to 3.18.11Imre Kaloz2015-04-071-31/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45303
* kernel: add support for the MX25L512E and SI25CD512 SPI flash chipsGabor Juhos2015-04-074-0/+86
| | | | | | | | These are used on some MikroTik boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45295
* linux: Add missing config options to generic configsFelix Fietkau2015-04-033-0/+29
| | | | | | | | | | | | | | These missing options have been noticed while enabling the following configuration options on ipq806x, but they're available in the standard kernel: *ARCH_QCOM *CONFIG_USB_SUPPORT *CONFIG_USB_DWC3 *CONFIG_MFD_SYSCON Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45256
* kernel: add missing symbolJohn Crispin2015-04-011-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45218
* config: add an option to enable KPROBEJohn Crispin2015-04-014-0/+16
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45212
* kernel: add missing symbols to config and modulesJohn Crispin2015-04-011-0/+1
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> v2: changes in input.mk broke the patch, some of the CONFIG_SND_* stuff was added already SVN-Revision: 45205
* generic/4.0: upgrade to 4.0-rc6Imre Kaloz2015-03-315-46/+9
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45198
* generic/3.18: upgrade to 3.18.10Imre Kaloz2015-03-312-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45197
* generic: add CONFIG_MANGLE_BOOTARGS and disable it by defaultImre Kaloz2015-03-314-0/+112
| | | | | | | | | | Enabling this option renames the bootloader supplied root= and rootfstype= variables, which might have to be know but would break the automatisms OpenWrt uses. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45196
* kernel: update yaffs code to the latest versionGabor Juhos2015-03-3132-1298/+651
| | | | | | | | | | | | | | | | | Use the latest version of the yaffs code. Fetched from the yaffs2 git tree and it is based on the following commit: commit 7e5cf0fa1b694f835cdc184a8395b229fa29f9ae Author: Charles Manning <cdhmanning@gmail.com> Date: Thu Aug 7 11:25:05 2014 +1200 yaffs-direct: Basic tests. Add lpthread flag for background gc support Signed-off-by: Charles Manning <cdhmanning@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45188
* kernel: add a couple missing symbols for 4.0Zoltan Herpai2015-03-311-0/+40
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 45186
* generic: relocate: make the cacheline size configurableJonas Gorski2015-03-301-1/+3
| | | | | | | | Different targets have different cache line sizes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45163
* ramips: move relocating loader to common locationJonas Gorski2015-03-305-0/+371
| | | | | | | | Allow other targets to use it, too. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45162
* kernel/generic: (try) fixing MAP-E patch broken in 4.0Steven Barth2015-03-301-23/+42
| | | | | | | | Now it at least compiles, otherwise untested. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45145
* kernel: add few missing symbolsLuka Perkov2015-03-292-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45118
* kernel: add symbolLuka Perkov2015-03-292-0/+2
| | | | | | | | Several targets are not using EMAC_ROCKCHIP so define it in generic config. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45117
* kernel: fix linux/spi/spidev.h portability issues with muslFelix Fietkau2015-03-292-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45105
* kernel: clean up fq_codel default patchFelix Fietkau2015-03-292-22/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45104
* kernel: refresh 3.18 patchesFlorian Fainelli2015-03-284-16/+16
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 45093
* generic: drop old kirkwood mach typesLuka Perkov2015-03-261-7/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45043
* generic/4.0: upgrade to 4.0-rc5Imre Kaloz2015-03-269-35/+20
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45025
* kernel: add missing symbolJohn Crispin2015-03-264-0/+4
| | | | | | Signed-off-by: John Szakmeister <john@szakmeister.net> SVN-Revision: 45017
* kernel: extend seccomp with a LOG actionJohn Crispin2015-03-261-0/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45007
* drop 3.19 supportImre Kaloz2015-03-26184-33029/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45002
* kernel: merge upstream bgmac driver improvementsFelix Fietkau2015-03-253-0/+480
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44978
* kernel: yaffs: use new_sync_{read,write} for 3.18+Gabor Juhos2015-03-253-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the do_sync_{read,write} functions in conjunction with the generic_file_{read,write}_iter causes a kernel panic like this: root@OpenWrt:/# mount -t yaffs /dev/mtdblock5 /mnt [ 2884.110000] yaffs: dev is 32505861 name is "mtdblock5" rw [ 2884.120000] yaffs: passed flags "" root@OpenWrt:/# hexdump -vC -n 64 /mnt/kernel [ 2902.700000] CPU 0 Unable to handle kernel paging request at virtual \ address 00000000, epc == 00000000, ra == 80129414 [ 2902.710000] Oops[#1]: [ 2902.710000] CPU: 0 PID: 1030 Comm: hexdump Not tainted 3.18.9 #2 [ 2902.710000] task: 878e7a20 ti: 868c6000 task.ti: 868c6000 [ 2902.710000] $ 0 : 00000000 fffffff8 00000000 00000000 [ 2902.710000] $ 4 : 868c7e70 868c7ea8 00000001 868c7f08 [ 2902.710000] $ 8 : 00000038 80064f18 80072280 00000000 [ 2902.710000] $12 : 7fa152b8 7709e3a0 00c42008 7709e3a0 [ 2902.710000] $16 : 868c7f08 86a46000 00000010 878e7a20 [ 2902.710000] $20 : 7705c4b0 00000010 00000000 00000000 [ 2902.710000] $24 : 770960bc 7707dd78 [ 2902.710000] $28 : 868c6000 868c7e58 7f8e7030 80129414 [ 2902.710000] Hi : 00000000 [ 2902.710000] Lo : ffffffff [ 2902.710000] epc : 00000000 (null) [ 2902.710000] Not tainted [ 2902.710000] ra : 80129414 do_sync_read+0x7c/0xb4 [ 2902.710000] Status: 1900dc03 KERNEL EXL IE [ 2902.710000] Cause : 00800008 [ 2902.710000] BadVA : 00000000 [ 2902.710000] PrId : 00019750 (MIPS 74Kc) Change the yaffs code to use the new_sync_{read,write} functions instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 44974
* kernel: backport rest of bcma patchesRafał Miłecki2015-03-242-26/+66
| | | | | | | | | | This backports bcma: allow disabling (not building) PCI driver Revert "bcma: Kconfig: Let it depend on PCI" Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44970
* kernel: mac80211: backport bcma patch renaming IRQ control functionRafał Miłecki2015-03-242-54/+168
| | | | | | | | | This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157 bcma: move PCI IRQ control function to host specific code Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44969
* kernel: update bcma with most patches from wireless-drivers-nextRafał Miłecki2015-03-242-14/+510
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44955
* kernel: backport fixed_phy_register EXPORT fix from 3.19Rafał Miłecki2015-03-231-0/+30
| | | | | | | | | This fixes ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/bgmac.ko] undefined! Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44954
* generic/3.18: refresh patchesImre Kaloz2015-03-235-32/+7
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44951
* kernel: add two more missing config symbolsJohn Crispin2015-03-211-0/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44921
* kernel: backport bgmac patchesRafał Miłecki2015-03-2116-34/+494
| | | | | | | | This allows dropping some hacky bcm53xx bgmac patch forcing link state. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44917
* kernel: fix ipsec related regression in the netfilter rtcache patchFelix Fietkau2015-03-204-4/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44913