aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-123-78/+8
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: require admin permissions for swconfig set operationsFelix Fietkau2016-06-121-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: merge pending fq_codel backlog accounting fixFelix Fietkau2016-06-114-4/+74
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix mips MT_SMP kernel crash on cache flushFelix Fietkau2016-06-111-0/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: deny swconfig set requests for unprivileged usersJo-Philipp Wich2016-06-111-0/+3
| | | | | | | | | | | | | | | | | The swconfig kernel infrastructure fails to do any permissions checks when changing settings. As such an ordinary user account on a device with a switch can change switch settings without any special permissions. Routers generally have few non-admin users so this isn't a big hole, but it is a security hole. Likely the greatest danger is for multifunction devices which have a lot of extra daemons, compromising a low-security daemon would allow one to modify switch settings and cause the router/switch to appear to lock-up (or cause other sorts of troublesome nyetwork behavior). Implement a check for CAP_NET_ADMIN in swconfig_set_attr() and deny any requests originating from user contexts lacking this capability. Reported-by: Elliott Mitchell <ehem+openwrt@m5p.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing config symbols for 4.4Jo-Philipp Wich2016-06-081-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* generic: remove brcmfmac-sdio.hBen Whitten2016-06-081-124/+0
| | | | | | This file is present in the kernel so no point overlaying it. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-073-6/+6
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-0792-130/+130
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel/mtd: Add support for Macronix mx25u25635f, used in Archer C2600 v1.1Ash Benz2016-06-051-0/+10
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* linux/generic: add missing config symbolsAlexander Couzens2016-06-021-0/+7
| | | | | | | | | | | | | unset following config symbols - INPUT_PALMAS_PWRBUTTON - INPUT_TPS65218_PWRBUTTON - INPUT_TWL4030_PWRBUTTON - INPUT_TWL4030_VIBRA - INPUT_TWL6040_VIBRA - KEYBOARD_TWL4030 - TWL4030_MADC Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-021-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: remove a hack that was obsoleted upstreamDaniel Gimpelevich2016-05-271-24/+0
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* kernel/mtd: Add support for Macronix mx25u25635f, used in C2600 v1.1Ash Benz2016-05-271-0/+10
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* kernel: add missing config symbols for 4.4Felix Fietkau2016-05-201-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.11Álvaro Fernández Rojas2016-05-1913-948/+81
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: fix unaligned access issue in the bridge multicast-to-unicast patchFelix Fietkau2016-05-191-4/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add back the macronix software protection disable patchFelix Fietkau2016-05-181-0/+14
| | | | | | It was accidentally left out when 4.4 support was added Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport patches for fq_codel queue memory limit supportFelix Fietkau2016-05-165-12/+232
| | | | | | Use it to replace the reduction in max packets/flows Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix yaffs2 build with kernel 4.4Jo-Philipp Wich2016-05-161-0/+47
| | | | | | | Fix YAFFS2 build after upstream nd_set_link() removal by importing http://permalink.gmane.org/gmane.linux.embedded.yocto.linux-yocto/4373 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: enable CONFIG_PANIC_ON_OOPS by defaultFelix Fietkau2016-05-153-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: set CONFIG_PANIC_TIMEOUT by defaultFelix Fietkau2016-05-153-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-05-151-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix a compiler warning on 64 bit systemsFelix Fietkau2016-05-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolFelix Fietkau2016-05-141-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport patches improving fq_codel drop behaviorFelix Fietkau2016-05-129-32/+1101
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove out-of-tree patches for reducing qdisc truesizeFelix Fietkau2016-05-127-111/+7
| | | | | | The copy overhead can be quite expensive Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fold codel default fix into main patchFelix Fietkau2016-05-122-22/+20
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ocf support, cryptodev-linux should be used insteadFelix Fietkau2016-05-12220-94673/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fq_codel match flows_cnt to limit sizingKevin Darbyshire-Bryant2016-05-123-6/+12
| | | | | | | | | | | | | | | | | | OpenWRT changed the default fq_codel sch->limit from 10240 to 1024, without also adjusting q->flows_cnt. Eric Dumazet explains below that you must also adjust the buckets (q->flows_cnt) for this not to break. Eric explains: Limit of 1024 packets and 1024 flows is not wise I think. (If all buckets are in use, each bucket has a virtual queue of 1 packet, which is almost the same than having no queue at all) I suggest to have at least 8 packets per bucket, to let Codel have a chance to trigger. So you could either reduce number of buckets to 128 (if memory is tight), or increase limit to 8192. flows_cnt is now set to 1024/8=128 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kernel: move the old gpio watchdog driver from generic to brcm47xxFelix Fietkau2016-05-124-722/+0
| | | | | | brcm47xx is the only user Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add workaround to rebuild vdso-n32.so.dbg tooJo-Philipp Wich2016-05-121-0/+9
| | | | | | | | | | | | | | | | | | Building for octeon fails with 'arch/mips/vdso/vdso-n32.so.dbg' already contains a '.MIPS.abiflags' section if the file already exists from a prior build. Use the same workaround as the one for vdso.so.dbg committed in 9eb155353a5f5137ec85a5b5b0287af63c544710. Commit 91f205acaf2a44ae75418d2f2cb156149f0df8ae extended the workaround to cover vdso-o32.so.dbg but missed the vdso-n32.so.dbg which is added now by this change. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-05-111-8/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: remove linux 4.3 configÁlvaro Fernández Rojas2016-05-111-4942/+0
| | | | | | When linux 4.3 support was removed the config was left. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-102-7/+7
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mediatek: sync patches and add more ethernet stability fixesblogic2016-05-101-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49265
* kernel: add workaround to rebuild vdso-o32.so.dbgStijn Tintel2016-05-091-2/+13
| | | | | | | | | | | | | | Building for octeon fails with 'arch/mips/vdso/vdso-o32.so.dbg' already contains a '.MIPS.abiflags' section if the file already exists from a prior build. Use the same workaround as the one for vdso.so.dbg committed in 9eb155353a5f5137ec85a5b5b0287af63c544710. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: add a workaround to rebuild vdso.so.dbg after genvdsoJo-Philipp Wich2016-04-291-0/+11
| | | | | | | | | | | | | Currently the build fails with 'arch/mips/vdso/vdso.so.dbg' already contains a '.MIPS.abiflags' section if the file already exists from a prior build. Add a makefile rule to force the rebuild of vdso.so.dbg if genvdso has has been changed to workaround the failure. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: fix ip6_tunnel compilationÁlvaro Fernández Rojas2016-04-241-2/+2
| | | | | | Replace undefined iph for ip_hdr(skb) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-04-248-30/+30
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: backport support for accelerated SPI flash readRafał Miłecki2016-04-263-0/+382
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49233
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-164-123/+4
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49176
* kernel: backport patch making bcm47xxsflash arch independentRafał Miłecki2016-04-151-0/+138
| | | | | | | | This will be needed to use bcm47xxsflash on ARM for BCM53573. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49168
* kernel: use upstream fixes for bgmac and BCM4709(4)Rafał Miłecki2016-04-156-60/+86
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49167
* arc770: enable unaligned access handling simulation in softwareJohn Crispin2016-04-091-0/+31
| | | | | | | | | | | | This enables misaligned access handling by software in Linux kernel. With some wireless drivers (ath9k-htc and mt7601u for example) we see misaligned accesses here and there and to cope with that without fixing stuff in the drivers we're just gracefully handling it on ARC. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 49134
* kernel: update kernel 3.18 to version 3.18.29Rafał Miłecki2016-03-304-8/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49096
* generic/4.4: remove ISSI SI25CD512 SPI flash support patchGabor Juhos2016-03-211-22/+0
| | | | | | | | The flash is already supported in mainline kernel since 4.3-rc1. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49063
* generic: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Tested on RB532. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49056
* generic: lzma-loader: remove trailing whitespaces from start.SGabor Juhos2016-03-211-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49055
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-1813-46/+50
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035