aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* Revert "kernel: bump 4.1 to 4.1.30"Zoltan HERPAI2016-10-1220-68/+94
| | | | | | Stay on 4.1.27 This reverts commit 231ef70f455fcc230a400af90a13e181a2c261cd.
* Revert "kernel: bump 3.18 to 3.18.39"Zoltan HERPAI2016-10-1217-53/+62
| | | | | | Stay on 3.18.36 This reverts commit 83767cf94f909f5932540da7641a12b7dfa71d85.
* kernel: bump 3.18 to 3.18.39Zoltan HERPAI2016-08-2317-62/+53
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 4.1 to 4.1.30Zoltan HERPAI2016-08-1920-94/+68
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* generic/4.4: backport virtio_ring patch for reverting weak barriers patchZoltan HERPAI2016-07-211-0/+55
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 4.1 to 4.1.27Zoltan HERPAI2016-07-134-4/+4
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 3.18 for the remaining targets to 3.18.36Zoltan HERPAI2016-07-085-10/+10
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: add missing symbol for 4.4Zoltan HERPAI2016-07-071-0/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: remove full cache flush in fuse_copy_do() for MIPSHauke Mehrtens2016-07-073-96/+0
| | | | | | | | | | | | | | | | | | | | | | | | This patch was introduced in commit r16412 for the brcm47xx target only and then moved to generic in commit r32395. It was initially added because of ticket #5186 and should fix some problems with fuse file systems and MIPS caches. The commit comment in r32395 says that this a generic problem in MIPS CPUs, but does not name any specifics about that. There was a fix added to kernel 2.6.21 in commit commit 7575a49f20 "[MIPS] Implement flush_anon_page()." that should fix this problem, but that was already available before both commits were done to OpenWrt. I just tested fuse with ntfs.3g without this patch on a BCM4704 (BMIPS3300 V0.6) SoC and haven't seen any problems. Someone reported that removing this patch improves some fuse operations by 5 times on some modern MIPS cores. My test was only a simple "dd if=/dev/zero of=/mnt/zero bs=5000" to an USB stick. This patch removes the patch to OpenWrt, because I assume that it is not needed any more and Felix, the orginal author, also thinks so. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix missing break in ubi auto-mounting patchHauke Mehrtens2016-07-073-4/+7
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove one of two patches deactivating broken vdso support on mipsHauke Mehrtens2016-07-071-9/+0
| | | | | | | The patch target/linux/generic/patches-4.4/206-mips-disable-vdso.patch should be sufficient. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add missing symbol for 4.4Zoltan HERPAI2016-07-061-0/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: add missing symbols into 3.18 and 4.1Zoltan HERPAI2016-07-062-0/+12
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: require admin permissions for swconfig set operationsFelix Fietkau2016-07-041-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: deny swconfig set requests for unprivileged usersJo-Philipp Wich2016-07-041-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: replace SMP cacheflush fix with some patches from linux-mti.gitFelix Fietkau2016-07-043-17/+354
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix mips MT_SMP kernel crash on cache flushFelix Fietkau2016-07-041-0/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add support for uncompressed zImage on ARMFelix Fietkau2016-07-044-2/+137
| | | | | | | This can be used to prevent double compression for platforms where the boot loader already expects compressed images. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add common config symbolsFelix Fietkau2016-07-041-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-07-048-27/+27
| | | | | | | | | In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same symbols as our b53 does. Change our symbols so both drivers can coexist in kernel tree. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: backport bgmac changes from net-nextRafał Miłecki2016-07-049-11/+329
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename bgmac patches that went into the same kernelRafał Miłecki2016-07-044-0/+0
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: add missing symbols for 4.4Zoltan HERPAI2016-07-041-0/+6
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: update to version 4.4.14Hauke Mehrtens2016-07-047-48/+38
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: refresh patchesFelix Fietkau2016-07-044-28/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport cosmetic ubifs patchDaniel Golle2016-07-041-0/+42
| | | | | | | | | | | | | | | Despite the MS_SILENT flag being set when probing for ubifs rootfs a logline indicating an error is generated during boot: UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19 This leads to confusion and there shouldn't be lines containing the word 'error' twice in a bootlog if actually everything is fine (just the rootfs happens to be something else than ubifs) The patch added has been submitted and was accepted upstream, see: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068056.html http://patchwork.ozlabs.org/patch/637491 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: mtdsplit: calculate kernel partition precisely for SeamaRafał Miłecki2016-06-271-2/+2
| | | | | | | | | So far "kernel" partition didn't contain just a kernel. It also included Seama header and meta data. This was making kernel update complex and it wasn't trivial to read kernel size. Fix it by making "kernel" parition contain just a kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: add missing config symbols for 4.4Jo-Philipp Wich2016-06-261-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove a hack that was obsoleted upstreamDaniel Gimpelevich2016-06-221-24/+0
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-223-78/+8
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add workaround to rebuild vdso-n32.so.dbg tooJo-Philipp Wich2016-06-221-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>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-06-221-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix unaligned access issue in the bridge multicast-to-unicast patchFelix Fietkau2016-06-211-4/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix a compiler warning on 64 bit systemsFelix Fietkau2016-06-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add back the macronix software protection disable patchFelix Fietkau2016-06-211-0/+14
| | | | | | It was accidentally left out when 4.4 support was added Signed-off-by: Felix Fietkau <nbd@nbd.name>
* linux/generic: add missing config symbolsAlexander Couzens2016-06-201-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-201-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.11Álvaro Fernández Rojas2016-06-2013-948/+81
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: backport patches improving fq_codel drop behaviorFelix Fietkau2016-06-209-32/+1101
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove out-of-tree patches for reducing qdisc truesizeFelix Fietkau2016-06-207-111/+7
| | | | | | The copy overhead can be quite expensive Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fq_codel match flows_cnt to limit sizingKevin Darbyshire-Bryant2016-06-203-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: fold codel default fix into main patchFelix Fietkau2016-06-202-22/+20
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix yaffs2 build with kernel 4.4Jo-Philipp Wich2016-06-201-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: add missing config symbolFelix Fietkau2016-06-201-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-06-201-8/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-06-202-7/+7
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-06-208-30/+30
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-1991-129/+129
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove linux 4.3 configLuka Perkov2016-06-191-4942/+0
| | | | | | | | When linux 4.3 support was removed the config was left. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add workaround to rebuild vdso-o32.so.dbgLuka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49345 3c298f89-4303-0410-b956-a3cf2f4a3e73