summaryrefslogtreecommitdiff
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-2411-108/+1948
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47624
* kernel: mtd: Backport GD25Q128B support to 3.18Felix Fietkau2015-11-225-4/+19
| | | | | | | | | | | | Support is present in 3.19 and above as kernel commit: fcc87a95195236b0935183361a72e4a98bf577d8 Changes to other existing patches are a result of "make target/linux/refresh". Signed-off-by: Srdjan Rosic <srdjan.rosic@gmail.com> Signed-off-by: Srdjan Rosic <rosic@google.com> SVN-Revision: 47588
* kernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe moduleJohn Crispin2015-11-216-0/+660
| | | | | | | | | | | | | * both patches (qcserial/qmi_wwan) were submitted upstream[1,2] * build tested on 3.18 and 4.1 * run tested on imx6 platform with 4.1 1. http://article.gmane.org/gmane.linux.usb.general/132998 2. http://article.gmane.org/gmane.linux.usb.general/133113 Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47567
* kernel: add missing config optionHauke Mehrtens2015-11-211-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47549
* kernel: add missing config optionHauke Mehrtens2015-11-203-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47536
* kernel: add CONFIG_SSB_HOST_SOC symbolRafał Miłecki2015-11-162-0/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47486
* kernel: backport ssb changes from 4.4-rc1Rafał Miłecki2015-11-162-0/+1372
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47483
* kernel: add patch to fix prefsrc lookupsFelix Fietkau2015-11-151-0/+60
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47471
* kernel: take bcm47xx_nvram.h from kernel and not backportsHauke Mehrtens2015-11-134-16/+90
| | | | | | | | | | | | | | | | | | compat-wireless/backports now contains a bcm47xx_nvram.h file to backport some of the functions in it which are used by the bcmfmac driver. This file just checks for the kernel versions and provide an empty implementations on older kernel versions. This is OK on most systems, but on bcm47xx / bcm53xx systems we want to call the real functions here. This commit removes the file from backports in our build process like we do it with the bcma and ssb header files. Instead we add a recent version into our kernel so all code uses only one header file. On bcm47xx / bcm53xx the real implementations of this code will be used. Reported-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47467
* kernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)Felix Fietkau2015-11-112-0/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47459
* kernel: add missing config optionsHauke Mehrtens2015-11-103-0/+3
| | | | | | | | This was seen by the buildbot on arm64. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47452
* kernel: fix breakage in the 4.3 version of ↵Felix Fietkau2015-11-101-3/+6
| | | | | | | | 611-netfilter_match_bypass_default_table.patch Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47447
* kernel: remove linux 4.0 supportFelix Fietkau2015-11-07211-33364/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47412
* kernel: update kernel 4.3-rc7 to version 4.3Luka Perkov2015-11-0418-36/+42
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47384
* package/devel/perf: fix build for kernel 4.1John Crispin2015-11-021-0/+67
| | | | | | | | | | This fix contains 2 parts: - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file" - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47338
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-0111-30/+30
| | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47334
* generic: 3.18: refresh patchesLuka Perkov2015-11-012-22/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47329
* generic: fix unrecognized opcode wsbh when building for MIPS16.Felix Fietkau2015-10-313-0/+174
| | | | | | | | | | | | | | | | | | | The issue was found and reported by hynman [1] when compiling reaver for ar71xx (Big Endian MIPS). {standard input}: Assembler messages: {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' {standard input}:90: Error: unrecognized opcode `wsbh $3,$17' {standard input}:208: Error: unrecognized opcode `wsbh $2,$2' make[3]: *** [builder.o] Error 1 The patch was already in upstream since kernel release 4.3-rc5. [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 47322
* kernel: add some missing symbols for 4.3Felix Fietkau2015-10-301-0/+11
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47302
* kernel: backport some bcma header file definitions from wireless-testingFelix Fietkau2015-10-303-0/+78
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47284
* kernel: add missing config symbolFelix Fietkau2015-10-304-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47283
* generic: fix adm6996 initJohn Crispin2015-10-261-0/+6
| | | | | | | | | | | | Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset add dummy soft_reset callback to adm6996 driver, like it is done in ar8216. This fixes ticket #20147 Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47272
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-255-32/+28
| | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47252
* kernel: update kernel 4.3 to version 4.3-rc7Hauke Mehrtens2015-10-2514-44/+27
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47250
* generic: add 8139cp fixes, enable hardware csum/tso on 4.0+John Crispin2015-10-196-0/+1416
| | | | | | | | | | | | | | | | This contains two sets of fixes for the 8139cp driver. For all kernel versions older than 4.3, we can apply the fixes from the 4.3-rc4 kernel. In particular, these fix the TX timeout recovery which is causing my Geos to lock up until the hardware watchdog kicks in. For 4.0 and later kernels, we can also apply the additional improvements which are going into 4.4 to fix and enable hardware checksum/TSO offload. Backporting those to older kernels is non-trivial. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 47220
* kernel: generic: add kernel 4.3Hauke Mehrtens2015-10-11179-0/+30053
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47182
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-0415-89/+43
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* uml: update to linux 4.1Felix Fietkau2015-09-271-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47061
* kernel: crypto: fix ubsec_ssb.c compilation with 4.0+Rafał Miłecki2015-09-251-1/+1
| | | | | | | | | SSB_DEVTABLE_END was removed in 4.0 by upstream commit 673e2baaa6d9 ("treewide: Remove unnecessary SSB_DEVTABLE_END macro"). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47047
* kernel: backport some SPI layer improvements from 4.1 to 3.18, significantly ↵Felix Fietkau2015-09-243-0/+314
| | | | | | | | improves flash speed on ramips Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47045
* kernel: remove old "rootfs" splitterRafał Miłecki2015-09-243-78/+1
| | | | | | | | | | | | | A year ago I made this old splitter obsolete (see r42828), it's time to completely remove it now. For all this time we got these warnings: "Dedicated partitioner didn't create "rootfs_data" partition, please fill a bug report!" and "Support for built-in "rootfs_data" splitter will be removed, please use CONFIG_MTD_SPLIT_SQUASHFS_ROOT" but I'm not aware of any bug reports related to that. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47040
* kernel: add a patch to fix crashes on pppoe disconnect/reconnectFelix Fietkau2015-09-224-4/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47026
* kernel: fix dependencies of the sock_diag debloat patch (#20544)Felix Fietkau2015-09-182-0/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46997
* kernel: solos-pci: Increase headroom on received packetsFelix Fietkau2015-09-172-0/+108
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46993
* kernel: ipv6: ip6_fragment: fix headroom tests and skb leakFelix Fietkau2015-09-173-1/+203
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46992
* kernel: remove lantiq specific ATM API hacks and their kernel space users ↵Felix Fietkau2015-09-173-42/+0
| | | | | | | | (fixes #20523) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46984
* kernel: unbreak atm ABI for 4.0 and 4.1John Crispin2015-09-162-14/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46983
* kernel: properly guard the lantiq atm abi hack with an ifdefJohn Crispin2015-09-161-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46981
* kernel 3.18/kernel 4.0/kernel 4.1: add missing symbolJohn Crispin2015-09-163-0/+3
| | | | | | | | deactivate NET_SCTPPROBE just like NET_TCPPROBE Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46974
* kernel: unbreak the atm abiJohn Crispin2015-09-161-7/+7
| | | | | | | | | the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving the variables to the end of the struct Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46964
* kernel: add CONFIG_MIPS_CDMM config optionHauke Mehrtens2015-09-111-0/+1
| | | | | | | | This driver was added in kernel 4.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46881
* kernel: Added missing symbols into 4.1 & 4.0 kernel default .configHauke Mehrtens2015-09-112-0/+7
| | | | | | | | | | | | As requested here #20432 I've tried to fix the missing symbols from the specified default kernel config files. I ran into this problem trying to build an image for x86_64 target with a custom kernel configuration. Signed-off-by: Manganini Mirko <mmanganini@gmail.com> SVN-Revision: 46879
* mvsw61xx: match swconfig function namesFelix Fietkau2015-09-111-4/+4
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 46865
* mvsw61xx: use standard swconfig get_port_linkFelix Fietkau2015-09-111-76/+18
| | | | | | | | | The previous "link" and "status" functions were non-standard, and thus less useful for parsing. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 46864
* yaffs2: remove __TIME__ __DATE__ macrosFelix Fietkau2015-09-111-3/+3
| | | | | | | | | prevent compiler errors with gcc 4.9 increase reproducibility Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46858
* generic: Fix per interface nf_call_iptables settingFelix Fietkau2015-09-093-537/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit r30917 ("kernel: bypass all netfilter hooks if the sysctls for that functionality have been disabled - eliminates the overhead of enabling CONFIG_BRIDGE_NETFILTER in the kernel config") introduced an optimization which should reduce/eliminate the overhead for traffic send over bridges on kernels compiled with CONFIG_BRIDGE_NETFILTER=y. But this optimization breaks the nf_call_iptables per bridge setting which is more fine grained than the global sysctl net.bridge.bridge-nf-call-iptables setting. A test reflecting a real world setup was created to identify if this really eliminates the overhead and if per-bridge nf_call_iptables could be used in some setups to increase the throughput. A Qualcomm Atheros QCA9558 based system with one ethernet and an ath9k wifi 3x3 in HT40 mode was used. Cables from the AP to the wifi station were used to reduce interference problems during the tests. The wlan interface was put in one bridge interface called br-wlan. This bridge usually contains some more wlan interfaces. The eth0 was put in a second bridge called br-lan. This usually contains some other privileged wlan or mesh interfaces. Routing was added between br-lan and br-wlan. Three kernels were tested: * (default) OpenWrt kernel for this device * (brfilter-global) OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y * (brfilter-local) OpenWrt kernel with CONFIG_BRIDGE_NETFILTER=y and without 644-bridge_optimize_netfilter_hooks.patch The changes to the the netfilter settings of the bridge were done via: * (brfilter-global) /sbin/sysctl -w net.bridge.bridge-nf-call-iptables=1 * (brfilter-lobal) echo 1 > /sys/class/net/br-lan/bridge/nf_call_iptables and/or echo 1 > /sys/class/net/br-wan/bridge/nf_call_iptables A station connected to the wlan0 (AP) interface was used to send traffic to a PC connected via ethernet. iperf with 3 concurrent transmissions was used to generate the traffic. | kernel | br-nf-* global | nf-call* iface | download | upload | |-----------------|----------------|----------------|----------|----------| | default | 0 | - | 209 | 268 | | brfilter-global | 0 | - | 185 | 243 | | brfilter-local | 0 | - | 187 | 243 | | brfilter-local | 0 | br-lan | 157 | 226 | | brfilter-local | 0 | br-lan br-wlan | 139 | 161 | | brfilter-global | 1 | - | 136 | 162 | Download/upload results in Mibit/s It can be seen that the patch doesn't eliminate the overhead. It can also be seen that the throughput of brfilter-global and brfilter-local with disabled filtering is the roughly the same. Also the throughput for brfilter-global and brfilter-local for enabled filtering on all bridges is roughly the same. But also the brfilter-local throughput is higher when only br-lan requires the filtering. This setting would not be possible with 644-bridge_optimize_netfilter_hooks.patch applied and thus can only be compared with brfilter-global and filtering enabled for all interfaces. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46835
* kernel: describe bridge patch "multicast to unicast"Rafał Miłecki2015-09-083-0/+15
| | | | | | It was initially added in r41367 by nbd. SVN-Revision: 46828
* kernel: describe bridge patch "optimize netfilter hooks"Rafał Miłecki2015-09-083-0/+21
| | | | | | It was initially added in r30917 by nbd. SVN-Revision: 46827
* kernel: describe bridge patch "remove IPv6 depependency of bridge in 2.6.38+"Rafał Miłecki2015-09-083-0/+39
| | | | | | It was initially added in r27237 by jow as patch from Jonas. SVN-Revision: 46826
* kernel: describe bridge patch "port isolate"Rafał Miłecki2015-09-083-0/+15
| | | | | | It was initially added in r25762 by nbd. SVN-Revision: 46825