Commit Graph

3812 Commits

Author SHA1 Message Date
Ansuel Smith
e2a04cfbca ipq806x: fix bug in L2 cache scaling
It has been notice a buf in L2 cache scaling where the scaling is not
done proprely if the frequency is set to the initial state before
the new frequency.

From: https://patchwork.kernel.org/patch/10565443/

* The clocks are set to aux clock rate first to make sure the
* secondary mux is not sourcing off of QSB. The rate is then set to
* two different rates to force a HFPLL reinit under all
* circumstances.

In the initial stage of boot to force a new frequency to apply, is
needed to first set the frequency back to the lowest one (aux_rate)
and then to the target one. This force and make sure the controller
actually switch the frequency to the right one. Apply the same
mechanism to L2 frequency scaling. Before scaling to the target
frequency, first set the frequency to the aux_rate to force the
transition, then scale it to the target frequency. Doing the wrong way
can produce unexpected results and could lock the scaling mechanism
until a full reboot is done (Causing a full reset by the krait-cc driver)

From: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=77612720a2362230af726baa4149c40ec7a7fb05

When the Hfplls are reprogrammed during the rate change,
the primary muxes which are sourced from the same hfpll
for higher frequencies, needs to be switched to the 'safe
secondary mux' as the parent for that small window. This
is done by registering a clk notifier for the muxes and
switching to the safe parent in the PRE_RATE_CHANGE notifier
and back to the original parent in the POST_RATE_CHANGE notifier.

This should apply also to L2 scaling... as we can't relly use
the notifier, we manually do this on L2 scaling.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065]
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 5ab9c0b388)
2020-03-02 12:01:48 +08:00
Pavel Kubelun
3779539095 ipq806x: add missing core1 voltage tolerance
Voltage tolerance is accounted per core, not per cpu, so add
missing DT entry.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 77e7d6c20d)
2020-03-02 12:01:19 +08:00
CN_SZTL
e3911c47f6
Merge Lean's source 2020-03-02 11:58:03 +08:00
Xiaok
520ddddf1d
ar71xx: Add support for TL-WDR5800 v1 (#3466) 2020-03-02 11:52:17 +08:00
LEAN-ESX
866bd1e38f Revert "iwinfo: bump version"
This reverts commit 6e4202c175.
2020-03-01 19:35:42 -08:00
CN_SZTL
a2d2ba1267
Merge Lean's source 2020-03-02 01:11:20 +08:00
LEAN-ESX
13bc38d31f Update RTL8156 USB 3.0 2.5Gbps and backport for kernel 4.19 2020-03-01 08:34:18 -08:00
LEAN-ESX
8b2696f45d Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-03-01 07:54:51 -08:00
LEAN-ESX
6e4202c175 iwinfo: bump version 2020-03-01 07:54:43 -08:00
CN_SZTL
9b3cbb4fa8
Merge Lean's source 2020-03-01 22:20:57 +08:00
AmadeusGhost
c62115265e
bcm27xx: update to latest patches and firmware (#3450)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-01 22:16:48 +08:00
CN_SZTL
56913b9db2
luci-app-vssr: bump to v1.16-r4 2020-03-01 20:48:33 +08:00
CN_SZTL
59180a38dc
luci-app-ssr-plus-Jo: bump to v150-r5 2020-03-01 20:47:55 +08:00
CN_SZTL
de40faf8ea
luci-app-passwall: sync with upstream source 2020-03-01 20:47:19 +08:00
CN_SZTL
32af49a7d3
Merge Lean's source 2020-03-01 15:56:30 +08:00
AmadeusGhost
e69d13a3f9 Revert "Update mt76 wireless driver. (#2782)"
This reverts commit 49e1a7c9b2.
2020-03-01 15:00:37 +08:00
LEAN-ESX
dd78885e9d Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-02-29 22:59:29 -08:00
LEAN-ESX
033cf32ad8 ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
William Chan
f61f0cc542
luci-app-ssr-plus: filter sb airport (#3442) 2020-03-01 14:55:03 +08:00
Xiaok
f294065be4
Adbyby-Plus: Adjust translations (#3444)
* n2n: fix autostart error

* n2n: Add MTU configuration support

* Adbyby-Plus: Adjust translations

* luci-app-ssr-plus: avoid restart at the same time

Co-authored-by: coolsnowwolf <31687149+coolsnowwolf@users.noreply.github.com>
2020-03-01 14:54:16 +08:00
LEAN-ESX
55ae2ecc7a kcptun: update go version 2020-02-29 22:49:03 -08:00
LEAN-ESX
408141f81f luci-app-ssr-plus: avoid restart at the same time 2020-02-29 22:08:23 -08:00
osdu
7a461c6655
upx: fix host build (#3339) 2020-03-01 14:05:09 +08:00
Max Zhao
91485387cc
luci-app-ssr-plus: refine trojan subscribe and import (#3435)
* luci-app-ssr-plus: refine trojan subscribe

* luci-app-ssr-plus: refine trojan import

* luci-app-ssr-plus: bump versio 154-2
2020-03-01 14:04:37 +08:00
AmadeusGhost
703cb9ce6e
upgs: update to latest git HEAD (#3439)
cd7eabcd8c9d ugps: Fix compilation under 64-bit
198c06051dd0 Fix build error caused by enabled extra compiler warnings
fc2ab8756b3b Enable extra compiler warnings

Signed-off-by: Petr Štetiar <ynezz@true.cz>

Co-authored-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 14:00:08 +08:00
LEAN-ESX
b787e45705 kernel: 4.14,4.19: disable ARM CE & NEON 2020-02-29 21:46:44 -08:00
AmadeusGhost
cbe0326063 bcm27xx: update to latest patches from RPi foundation 2020-03-01 12:01:42 +08:00
Álvaro Fernández Rojas
2ab9d385eb bcm27xx-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-03-01 11:35:08 +08:00
likanchen
a21adb8637
Add some translations to luci-app-adbyby-plus (#3411)
Add some translations to luci-app-adbyby-plus
2020-03-01 10:54:14 +08:00
CN_SZTL
260470a5ff
luci-app-unblockneteasemusic-go: fix dependency 2020-02-29 20:02:33 +08:00
CN_SZTL
7f256cc555
UnblockNeteaseMusic-Go: bump to 0.1.6 2020-02-29 19:54:18 +08:00
CN_SZTL
620236e8dc
luci-app-vssr: sync with upstream source 2020-02-29 19:17:41 +08:00
CN_SZTL
acffde6b1c
luci-app-ssr-plus-Jo: sync with upstream source 2020-02-29 19:17:10 +08:00
CN_SZTL
047439dac4
luci-app-passwall: sync with upstream source 2020-02-29 19:16:54 +08:00
CN_SZTL
eec89ca1dc
luci-app-clash: bump to 1.5.9d 2020-02-29 19:16:22 +08:00
CN_SZTL
6dddb63c28
OpenClash: bump to v0.36.7-beta 2020-02-29 19:15:01 +08:00
CN_SZTL
9bfc6e0a80
Merge Lean's source 2020-02-29 17:49:37 +08:00
AmadeusGhost
691def3cad
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
Xiaok
a99e700214
n2n: Fix autostart error and add MTU configuration support (#3420)
* n2n: fix autostart error

* n2n: Add MTU configuration support
2020-02-29 16:26:37 +08:00
John Crispin
a3daa14ce9 ipq807x: add very basic target support
This is still missing a lot of love but people want to start working on it
so lets give them a common baseline.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-29 12:05:39 +08:00
Álvaro Fernández Rojas
661f33c397 bcm27xx-userland: update to latest version
Remove upstream cmake fix.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-29 12:01:16 +08:00
AmadeusGhost
fba627a668 ipq40xx: less log output
This commit fix 7dc881
2020-02-29 11:55:00 +08:00
CN_SZTL
1f85f48995
luci-app-passwall: sync with upstream source 2020-02-29 04:55:16 +08:00
CN_SZTL
453149115c
OpenClash: sync with upstream source 2020-02-29 04:54:49 +08:00
CN_SZTL
e866f4e02c
luci-app-vssr: sync with upstream source 2020-02-29 04:54:17 +08:00
CN_SZTL
ba328fe6c5
luci-app-serverchan: bump to v1.41 2020-02-29 04:53:43 +08:00
CN_SZTL
44c9ca5b2b
smartdns: refresh config 2020-02-29 03:08:33 +08:00
CN_SZTL
14fa821288
luci-app-smartdns: add support for "serve expired" 2020-02-29 02:49:32 +08:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
f69ca62a4e
rtl88x2bu: add usb network driver by @ElonH (#48)
* rtl88x2bu: add usb network driver

* rtl88x2bu: fix compile

Co-authored-by: ElonH <elonhhuang@gmail.com>
2020-02-29 01:09:55 +08:00