aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
* kernel: add a workaround to rebuild vdso.so.dbg after genvdsoLuka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix ip6_tunnel compilationLuka Perkov2016-06-191-2/+2
| | | | | | | | Replace undefined iph for ip_hdr(skb) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.23Rafał Miłecki2016-06-196-8/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mediatek: sync patches and add more ethernet stability fixesJohn Crispin2016-06-191-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport support for accelerated SPI flash readRafał Miłecki2016-04-263-0/+382
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-164-123/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: lzma-loader: remove trailing whitespaces from start.SGabor Juhos2016-03-211-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-1813-46/+50
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing kernel optionsHauke Mehrtens2016-03-172-0/+2
| | | | | | | | | This was found by the build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-177-38/+7
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcma 4.6 changes for flashesRafał Miłecki2016-03-073-39/+855
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add MIPS kernel fix for an uninitialized CPU mapFelix Fietkau2016-03-071-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove linux 4.3 supportFelix Fietkau2016-03-07190-27825/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.4Hauke Mehrtens2016-03-0511-28/+28
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix section mismatch in crashlogHauke Mehrtens2016-03-054-4/+4
| | | | | | | | | | | | | | | | The function memblock_insert_region() is in the section __init_memblock, also put crashlog_init_memblock there. This fixes this section mismatch warning: The function memblock_insert_region.isra.1() references the function __meminit crashlog_init_memblock(). This is often because memblock_insert_region.isra.1 lacks a __meminit annotation or the annotation of crashlog_init_memblock is wrong. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionsHauke Mehrtens2016-03-054-0/+8
| | | | | | | | | | | The buildbots complained about these config options being missing for arm64: CONFIG_DUMMY_CONSOLE_COLUMNS=80 CONFIG_DUMMY_CONSOLE_ROWS=25 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ath9k: enable GPIO buttonsFelix Fietkau2016-03-051-0/+4
| | | | | | | | | | Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR8216: improve mmd register accessJohn Crispin2016-03-043-13/+17
| | | | | | | | | | | Combine all bus operations for one MMD access in one function. Protecting all these bus operations with one lock also helps to avoid potential issues due to bus operations intercepting the register and data write. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR8216: make ARL age time configurableJohn Crispin2016-03-044-4/+80
| | | | | | | | | | | | | | | | | The default TTL for address resolution table entries is 5 minutes for all members of the AR8216 family. This can cause issues if e.g. Wifi clients roam to another AP and their MAC appears on another switch port suddenly. Then the client may not be reachable until the old ARL entry expires. I would have expected the switch to invalidate old entries if it detects the same MAC on another port. But that's not the case. Therefore make the TTL for ARL entries configurable. The effective TTL will always be a multiple of 7 seconds. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR8216: remove redundant port number in MIB header lineJohn Crispin2016-03-041-2/+1
| | | | | | | | | The line before includes the port number anyway so there's no need to duplicate the port number in the MIB info header. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR8216: complement MIB counters with info in GiB / MiB / KiBJohn Crispin2016-03-041-5/+40
| | | | | | | | | | The decimal values especially for TxByte and RxGoodByte are hard to read once bigger amounts of data have been transferred. Therefore complement the decimal values with info in GiB / MiB / KiB. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AR8216: don't display MIB counters if all are emptyJohn Crispin2016-03-041-1/+8
| | | | | | | | | | | | For unused switch ports all MIB values are zero. Displaying ~40 empty MIB counters is just confusing and makes it hard to read the output of swconfig dev <dev> show. Therefore, if all MIB counters for a port are zero, just display an info that the MIB counters are empty. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ath9k: enable platform WLAN LED nameFelix Fietkau2016-03-021-0/+1
| | | | | | | | | Enable platform-supplied WLAN LED name for ath9k device. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-014-4/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: use upstream accepted bcm47xxpart patchesRafał Miłecki2016-02-262-3/+6
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable MIPS VDSO by default until the cache issues have been resolvedFelix Fietkau2016-02-261-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: deactivate the vdso gettimeofday function.Hauke Mehrtens2016-02-251-0/+9
| | | | | | | | | | | The vdso version of this function has some problems with the cache. Very often it works on dated data which causes problem. We are currently working on fixing this in upstream Linux kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-255-195/+7
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48783 3c298f89-4303-0410-b956-a3cf2f4a3e73