aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-134-147/+24
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add upstream fix for module loadingAlexey Brodkin2016-07-111-0/+46
| | | | | | | | | | Instead of disabling unwinding entirely this upstream patch just disables generation of async unwind tables. Once the patch in question lands in stable 4.4 tree this change essentially must be removed (otherwise patch application will fail). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* usb: Remove annoying warning about bogus URBAlexey Brodkin2016-07-051-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When USB Wi-Fi dongle based on Atheros AR9271 is connected to OHCI (USB 1.1) controller following warnings flood debug console: ------------------------>8--------------------------- usb 1-1: new full-speed USB device number 2 using ohci-platform usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d1 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d2 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d3 ]--- ... ------------------------>8--------------------------- With removed warning Wi-Fi dongle works properly. Even though this is not the best solution it gets us a working Wireless AP. Anyways new discussion was started in linux-usb mailing list to find a proper solution instead of that hack. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* kernel: fix build of kmod-udptunnel4 and kmod-udptunnel6Hauke Mehrtens2016-07-021-0/+11
| | | | | | | | | | The kernel config option CONFIG_NET_UDP_TUNNEL is not visible and can not directly be activated. When kmod-udptunnel4 or kmod-udptunnel6 are build these packages could be empty when no other kernel module selects CONFIG_NET_UDP_TUNNEL. Reported-by: Baptiste Jonglez <baptiste@bitsofnetworks.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Fix ipv6 mc snooping if bridge has no ipv6 addressdaniel2016-06-301-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a backport for current LEDE 4.4 Kernels. It is already upstream, for linux-next and stable. The initial commit message is below: The bridge is falsly dropping ipv6 mulitcast packets if there is: 1. No ipv6 address assigned on the brigde. 2. No external mld querier present. 3. The internal querier enabled. When the bridge fails to build mld queries, because it has no ipv6 address, it slilently returns, but keeps the local querier enabled. This specific case causes confusing packet loss. Ipv6 multicast snooping can only work if: a) An external querier is present OR b) The bridge has an ipv6 address an is capable of sending own queries Otherwise it has to forward/flood the ipv6 multicast traffic, because snooping cannot work. This patch fixes the issue by adding a flag to the bridge struct that indicates that there is currently no ipv6 address assinged to the bridge and returns a false state for the local querier in __br_multicast_querier_exists(). Special thanks to Linus Lüssing. Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
* kernel: fix missing break in ubi auto-mounting patchHauke Mehrtens2016-06-271-2/+3
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove igb: Fix Null-pointer dereference patchHauke Mehrtens2016-06-261-40/+0
| | | | | | | This patch is already included in the Linux mainline kernel since v3.15, remove it from LEDE, see the lines directly before this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove full cache flush in fuse_copy_do() for MIPSHauke Mehrtens2016-06-261-32/+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: remove one of two patches deactivating broken vdso support on mipsHauke Mehrtens2016-06-261-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: update to version 4.4.14Hauke Mehrtens2016-06-267-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>
* squashfs4: use upstream xz compression header formatHauke Mehrtens2016-06-221-25/+0
| | | | | | | | | | | | | | | | | In the upstream kernel and the upstream squashfs4 tools the xz compression header looks the following: struct disk_comp_opts { __le32 dictionary_size; __le32 flags; }; We added some other members and also moved some existing members. Place the members which are already in upstream header at the same position as in that kernel and add our own at the end. The kernel should not have a problem when there are some additional members and just ignore them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: backport bgmac changes from net-nextRafał Miłecki2016-06-209-11/+329
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename bgmac patches that went into the same kernelRafał Miłecki2016-06-204-0/+0
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-201-1/+1
| | | | | | | | | 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 cosmetic ubifs patchDaniel Golle2016-06-181-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: refresh patchesFelix Fietkau2016-06-154-28/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: replace SMP cacheflush fix with some patches from linux-mti.gitFelix Fietkau2016-06-153-17/+354
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add support for uncompressed zImage on ARMFelix Fietkau2016-06-153-2/+135
| | | | | | | 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: 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: 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>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-071-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-0721-29/+29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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: 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: fix a compiler warning on 64 bit systemsFelix Fietkau2016-05-151-1/+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-122-186/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fq_codel match flows_cnt to limit sizingKevin Darbyshire-Bryant2016-05-121-2/+4
| | | | | | | | | | | | | | | | | | 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-121-360/+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: 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>
* 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-153-30/+43
| | | | | | 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