John Crispin
a4efc9965c
mediatek: add more missing symbols
...
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Günther Kelleter
2374549916
ar8216: flush ARL table during reset after init_globals
...
commit 33b72b8e0f
"ar8216: adjust ATU flushing in case of link changes"
introduced portwise flushing on link down events. Now the ARL table could
be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped
forever (depending on the entries collected while booting).
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
8 years ago
Hauke Mehrtens
236840eb47
kernel: update kernel 4.9 to version 4.9.10
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Felix Fietkau
1e1a0592f8
kernel: fix crashes on MIPS when loading kernel modules under memory pressure
...
When memory is tight, modules may need to be loaded into vmalloc()
space. The code then has to generate jump trampolines which enable
relocations between vmalloc space and physical address space.
The code had a bug that was freeing these trampolines even when the
module was successfully loaded.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin
38f9d08f57
kernel: add missing symbol for v4.9
...
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau
fec57b40c3
kernel: add missing tracing related config symbols for linux 4.9
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Hauke Mehrtens
5c651b029e
kernel: fix kmod-rxrpc with kernel 4.9
...
rxkad will be build into af-rxrpc now and is of type boolean.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Martin Blumenstingl
0caffa60af
kernel: fix compile error on linux 4.9 with CONFIG_KALLSYMS disabled
...
Upstream linux commit 7523e4dc5057e "module: use a structure to
encapsulate layout." moves some of the struct module members into a
separate struct module_layout.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
8 years ago
Hauke Mehrtens
b1c2506a76
kernel: MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
...
This backports the following fix to our mips IRQ stack patches:
https://patchwork.linux-mips.org/patch/15110/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Hauke Mehrtens
d61a799528
kernel: add missing config option for kernel 4.9
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Hauke Mehrtens
11215fb23c
kernel: add rest controller option for kernel 4.9
...
Deactivate the reset controllers which could be activated on kernel 4.9
by default.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Felix Fietkau
e0e5f8ca2f
kernel: fix linux 4.9 host tools portability issues
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin
84e784671b
kernel: add missing symbols to generic/config-4.9
...
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin
4bdf3a33ad
kernel: fix 304-mips_disable_fpu.patch for v4.9
...
the function prototype has changed, make the new stub consistent with this
change.
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Rafał Miłecki
db866154fc
kernel: move upstream accepted bcm47xxpart TRX cleanups
...
Use 0xx prefix for accepted patches.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
76eb62e5af
kernel: backport bcm47xxsflash support for reading 32 MiB flashes
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Álvaro Fernández Rojas
de1f83097a
generic: add missing symbols for linux 4.9
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas
989a0b4846
generic: add missing kernel symbols
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Rafał Miłecki
174ce4c56d
kernel: update spi-nor in 4.9 to spi-nor tree version (next branch)
...
These are patches queued for 4.11. It adds support for even more hw and
removes some annoying WARN_ONCE.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
6d5419d96a
kernel: update spi-nor in 4.9 to version from Linus's tree (4.10)
...
This adds support for more devices.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Koen Vandeputte
4339e5ddb1
kernel: fix build error in mtdsplit driver
...
Add missing parentheses.
Fixes kernel build issue when using this driver.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years ago
Rafał Miłecki
e991b0d741
kernel: merge b53 API patch with the one handling all switch drivers
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Felix Fietkau
91fce81df6
kernel: add missing config symbols for 4.9
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau
478be1d371
kernel: fix crashlog build error on 4.9
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau
9c18235b3a
kernel: add compile fix for linux 4.9 on x86
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Rafał Miłecki
b008357960
kernel: port b53 to use kernel 4.5+ API
...
For backward 4.4 compatibility I added patch reverting my changes.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Stijn Tintel
d2c4041f02
kernel: update kernel 4.4 to version 4.4.47
...
Refresh patches for all targets that support kernel 4.4.
Compile-tested on all targets that use kernel 4.4 and aren't marked
broken, except arc770 and arch38 due to broken toolchain.
Runtime-tested on ar71xx, octeon, ramips and x86/64.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years ago
Felix Fietkau
f791fb4af4
kernel: add linux 4.9 support
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixes]
8 years ago
Felix Fietkau
1a52d11d38
kernel: update phy drivers for 4.9
...
add backport patches for older kernels
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau
402193baa1
kernel: update mtdsplit for linux 4.9
...
add backport patches for older kernels
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Mathias Kresin
a0888ecbaf
generic: rtl8366rb: fix compatible string
...
Use a vendor prefix as it has to be for all not core driver. Update the
compatible string in the device tree files accordingly.
Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
André Valentin
063d5a61e5
generic: mtd: update settings of mx25u3235f
...
This patch enabled 4K, dual and quad read. Settings have been verified with
a real device.
Signed-off-by: André Valentin <avalentin@marcant.net>
8 years ago
Rafał Miłecki
49f9c06fde
kernel: fix BCM54612E PHY support
...
This backports upstream commit 62e13097c46c ("net: phy: broadcom: rehook
BCM54612E specific init")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Felix Fietkau
0f19c1d6cf
rtl8366_smi: add linux 4.4 compatibility
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Rafał Miłecki
6a853776a5
kernel: backport bgmac support for external PHYs
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
bde06ab26b
kernel: use upstream accepted bgmac fix for BCM47186B0
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
7583de2e8f
kernel: rename bgmac patches to squeeze them
...
This is a pure rename without any changes. It makes maintaining bgmac
simpler and will hopefully make adding new kernel a bit easier.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
12288d450b
kernel: update bcma to fix devm memory leaks
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Sergey Sergeev
74ea99b01d
ledtrig-netdev: don't cancel work on events for different interfaces
...
This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed
commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.
Signed-off-by: Sergey Sergeev <adron@yapic.net>
8 years ago
Rafał Miłecki
5a164dd3c0
kernel: make BCM54210E PHY code work with 4.4
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Rafał Miłecki
c437df09c9
kernel: backport BCM54210E PHY support
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Koen Vandeputte
6db7a013bd
imx6: fix build error
...
This symbol is required when symbol SOC_IMX6 is also specified
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years ago
Felix Fietkau
7d985f0925
kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders
...
This is only required for non-DT platforms
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Stijn Segers
20996edd68
Kernel: bump to 4.4.44
...
Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64.
.44 has been run-tested on the 17.01 branch here on ar71xx and mt7621.
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
8 years ago
Tobias Wolf
e2bd8b900f
generic: rtl836x: add support for Green Feature
...
The GPL licensed source code of Belkin contains an ASIC based "Green
Feature". This change adds support for this Green Feature that can be
activated with an DTS option or swconfig.
Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
8 years ago
Tobias Wolf
30494598f8
generic: rtl8366s: add support support for initvals from DTS
...
This change provides the possibility to define per-device initvals in
the DTS file for a rlt8366s switch.
Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
8 years ago
Yousong Zhou
d5de9264bb
generic: keep module aliases inside .modinfo
...
It seems module aliases are actually essential info. E.g. other modules
may call xt_request_find_match(NFPROTO_IPV{4,6}, "hashlimit", 1) and the
kernel will request user mode modprobe helper for ipt_hashlimit and
ip6t_hashlimit respectively which are aliases of xt_hashlimit.ko
Compile-tested for armvirt, there is nearly no size impact.
Before
-rw-r--r-- 1 yousong yousong 304 Jan 10 17:37 config.seed
-rw-r--r-- 1 yousong yousong 1634 Jan 11 11:07 lede-armvirt-default.manifest
-rw-r--r-- 1 yousong yousong 1533647 Jan 11 11:07 lede-armvirt-default-rootfs.tar.gz
-rw-r--r-- 1 yousong yousong 1802711 Jan 11 11:07 lede-armvirt-root.ext4.gz
-rw-r--r-- 1 yousong yousong 1544597 Jan 11 11:07 lede-armvirt-rootfs.cpio.gz
-rw-r--r-- 1 yousong yousong 1174984 Jan 11 11:07 lede-armvirt-root.squashfs.gz
-rwxr-xr-x 1 yousong yousong 1654712 Jan 11 11:07 lede-armvirt-zImage
-rwxr-xr-x 1 yousong yousong 2738296 Jan 11 11:07 lede-armvirt-zImage-initramfs
drwxr-xr-x 2 yousong yousong 4096 Jan 10 17:35 packages
-rw-r--r-- 1 yousong yousong 739 Jan 10 17:37 sha256sums
After
-rw-r--r-- 1 yousong yousong 304 Jan 10 17:37 config.seed
-rw-r--r-- 1 yousong yousong 1634 Jan 11 11:10 lede-armvirt-default.manifest
-rw-r--r-- 1 yousong yousong 1533646 Jan 11 11:10 lede-armvirt-default-rootfs.tar.gz
-rw-r--r-- 1 yousong yousong 1802711 Jan 11 11:10 lede-armvirt-root.ext4.gz
-rw-r--r-- 1 yousong yousong 1544593 Jan 11 11:10 lede-armvirt-rootfs.cpio.gz
-rw-r--r-- 1 yousong yousong 1174984 Jan 11 11:10 lede-armvirt-root.squashfs.gz
-rwxr-xr-x 1 yousong yousong 1654736 Jan 11 11:10 lede-armvirt-zImage
-rwxr-xr-x 1 yousong yousong 2738144 Jan 11 11:10 lede-armvirt-zImage-initramfs
drwxr-xr-x 2 yousong yousong 4096 Jan 10 17:35 packages
-rw-r--r-- 1 yousong yousong 739 Jan 10 17:37 sha256sums
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Rafał Miłecki
f67b0276b6
kernel: update Broadcom PHY drivers
...
This commit adds 4 patches, one per kernel version that was used for
picking updates. This adds support for few new PHYs.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Felix Fietkau
8ab057f5e4
kernel: remove yaffs2 support, it is no longer needed
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich
ec1a695daa
kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)
...
Running ar8327_get_arl_entry() early after boot leads to MDIO related system
lockups on several devices using this driver.
Since dumping the ARL table contens is an optional, uncritical feature, simply
disable the code for now.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago