summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1
Commit message (Collapse)AuthorAgeFilesLines
* kernel: move linux, part-probe dt parsing in generic codeJohn Crispin2015-08-179-24/+200
| | | | | | | | | | | | | | The "linux,part-probe" dts parsing is a pretty neat generic feature. It has been posted to kernel.org and could easily be reused by all targets. This change moves the patch to the 3.18 and 4.1 generic folders, and makes the feature available to all platforms who may want to use it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46654
* kernel: yaffs2: update to version from 2015-06-02Hauke Mehrtens2015-08-154-45/+106
| | | | | | | | | | In addition to the update this also fixes compile problems with kernel 4.1. This closes #20323. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46609
* kernel: update 4.1 to 4.1.5Jonas Gorski2015-08-143-4/+4
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46598
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-052-153/+5
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46560
* kernel: cdc_ncm: Add support for moving NDP to end of NCM frameHauke Mehrtens2015-07-251-0/+228
| | | | | | | | | | | | This patch was missing for kernel 4.0 and 4.1 in r46464. I also replaced the version in OpenWrt with the version which went upstream into the Linux mainline kernel. This closes #20193 and #20192 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46493
* kmod-regmap: make regmap-mmio user selectableJonas Gorski2015-07-251-1/+2
| | | | | | | | | | | | | | | REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing selects it, it will fail the build with: ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing. make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1 Fix this by adding a description to allow selecting it manually. Fixes: r46451 ("kmod-regmap: enable MMIO support") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46485
* kernel: fix oprofile performance counter interrupt handling on mipsFelix Fietkau2015-07-241-0/+73
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46482
* kernel: update to linux 4.1.3Felix Fietkau2015-07-223-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46437
* kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in ↵Felix Fietkau2015-07-181-0/+35
| | | | | | | | netifd with musl) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46420
* kernel: fix build with CONFIG_MTD unsetJohn Crispin2015-07-141-2/+11
| | | | | | | | | | Fixed typo in the patch provided by Hauke: https://lists.openwrt.org/pipermail/openwrt-devel/2015-July/034274.html Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46346
* kernel: update 4.1 to 4.1.2Hauke Mehrtens2015-07-114-17/+15
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.2 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46301
* mips: Free memory when load_module fails (#14453)John Crispin2015-07-071-5/+6
| | | | | | | | | | | | | | | | | | | | | | The mips reloc patch introduced new allocations which were done before add_unformed_module but never freed them in case of an error. A new hook in Linux 3.19 called module_arch_freeing_init can be used for freeing memory which were allocated during this init phase. The problem can be seen when trying to load a module (via busybox insmod) when it was already loaded. free -m for i in `seq 1 100`; do /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null done free -m This simple loop would leak ~3.2 MB. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46247
* generic: mtd backport for Spansion S25FL164KJohn Crispin2015-07-071-0/+12
| | | | | | | | | Backport for the Spansion S25FL164K It's a 8 MiB flash chip with 4 KiB erase sectors. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46237
* generic: Allow configuring an increment with mtd-mac-addressJohn Crispin2015-07-071-4/+8
| | | | | | | | | This is useful if the device also has an ethernet WAN interface with a separate mac address (that is derived from the LAN mac address). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46220
* kernel: generic: add missing arm machtypesJonas Gorski2015-07-051-1/+7
| | | | | | | | | Some machtypes were dropped when 4.0 support was added, and the incomplete patch was taken over to 4.1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46187
* kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1HandlerJonas Gorski2015-07-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code calling fpu_emulator_cop1Handler will pass on fault_addr, making gcc complain about it not being initialized when the FPU emulator is disabled. Fixes: arch/mips/kernel/traps.c: In function 'do_fpe': arch/mips/kernel/traps.c:864:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized] process_fpemu_return(sig, fault_addr, fcr31); ^ arch/mips/kernel/traps.c: In function 'do_ri': arch/mips/kernel/traps.c:806:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized] process_fpemu_return(sig, fault_addr, fcr31); ^ arch/mips/kernel/traps.c:763:15: note: 'fault_addr' was declared here void __user *fault_addr; ^ arch/mips/kernel/traps.c: In function 'do_cpu': arch/mips/kernel/traps.c:1421:28: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (!process_fpemu_return(sig, fault_addr, fcr31) && !err) ^ cc1: all warnings being treated as errors make[7]: *** [arch/mips/kernel/traps.o] Error 1 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46184
* kernel: improve uapi headers coexistence with muslJonas Gorski2015-07-035-10/+328
| | | | | | | | | Make some network uapi headers detect if they are included after not only glibc but also musl headers. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46161
* generic: add linux 4.1 supportJonas Gorski2015-06-22181-0/+25039
Boot tested: http://pastebin.com/L6aAb9xj Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: update to 4.1 final add patches added since submission delete patches applied in later rcs restore commit messages in 220-gc-sections and 304-mips_disable_fpu fix 050-backport_netfilter_rtcache to match new API update inlined dma ops with upstream changes add missing config symbols enabled CONFIG_MULTIUSER update kmod defintions for 4.1 ] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46112