openwrt/target/linux
Christian Lamparter aee5c53a8d apm821xx: fix sata access freezes
The original vendor's driver programmed the dma controller's
AHB HPROT values to enable bufferable, privileged mode. This
along with the "same priorty for both channels" fixes the
freezes according to @takimata, @And.short, that have been
reported on the forum by @ticerex.

Furtheremore, @takimata reported that the patch also improved
the performance of the HDDs considerably:
|<https://forum.lede-project.org/t/wd-mybook-live-duo-two-disks/16195/55>
|It seems your patch unleashed the full power of the SATA port.
|Where I was previously hitting a really hard limit at around
|82 MB/s for reading and 27 MB/s for writing, I am now getting this:
|
|root@OpenWrt:/mnt# time dd if=/dev/zero of=tempfile bs=1M count=1024
|1024+0 records in
|1024+0 records out
|real    0m 13.65s
|user    0m 0.01s
|sys     0m 11.89s
|
|root@OpenWrt:/mnt# time dd if=tempfile of=/dev/null bs=1M count=1024
|1024+0 records in
|1024+0 records out
|real    0m 8.41s
|user    0m 0.01s
|sys     0m 4.70s
|
|This means: 121 MB/s reading and 75 MB/s writing!
|
|[...]
|
|The drive is a WD Green WD10EARX taken from an older MBL Single.
|I repeated the test a few times with even larger files to rule out
|any caching, I'm still seeing the same great performance. OpenWrt is
|now completely on par with the original MBL firmware's performance.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2018-07-19 18:55:20 +02:00
..
adm5120 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
adm8668 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
apm821xx apm821xx: fix sata access freezes 2018-07-19 18:55:20 +02:00
ar7 ar7: add NULL clock fix send upstream 2017-07-29 09:24:47 +02:00
ar71xx kernel: bump kernel 4.4 to version 4.4.140 2018-07-13 21:25:14 +02:00
arc770 arc770: only calculate entry point address when necessary 2017-03-01 20:37:37 +01:00
archs38 archs38: only calculate entry point address when necessary 2017-03-01 20:37:37 +01:00
arm64 kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
armvirt armvirt: add kernel config change missing from 0d44f0cb 2017-01-13 11:05:32 +01:00
at91 kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
ath25 kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
au1000 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
bcm53xx kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
brcm47xx kernel: bump kernel 4.4 to version 4.4.139 2018-07-03 19:38:47 +02:00
brcm63xx kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
brcm2708 kernel: bump kernel 4.4 to version 4.4.140 2018-07-13 21:25:14 +02:00
cns3xxx kernel: bump kernel 4.4 to version 4.4.139 2018-07-03 19:38:47 +02:00
gemini kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
generic kernel: bump kernel 4.4 to version 4.4.140 2018-07-13 21:25:14 +02:00
imx6 kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
ipq806x kernel: bump kernel 4.4 to 4.4.135 for 17.01 2018-06-02 15:13:12 +02:00
ixp4xx kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
kirkwood kirkwood: fix include in etc/board.d/02_network 2017-03-01 20:37:37 +01:00
lantiq kernel: bump kernel 4.4 to 4.4.129 for 17.01 2018-04-30 08:00:27 +02:00
layerscape kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
malta kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
mcs814x Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
mediatek kernel: bump kernel 4.4 to 4.4.129 for 17.01 2018-04-30 08:00:27 +02:00
mpc85xx kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
mvebu kernel: bump kernel 4.4 to 4.4.135 for 17.01 2018-06-02 15:13:12 +02:00
mxs kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
octeon kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
omap omap: build various core drivers into the kernel instead of packaging them 2017-01-10 13:44:26 +01:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
oxnas kernel: bump kernel 4.4 to version 4.4.139 2018-07-03 19:38:47 +02:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips kernel: bump kernel 4.4 to version 4.4.140 2018-07-13 21:25:14 +02:00
rb532 kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
sunxi sunxi: disable LPAE to allow kernel to run on A13 2018-02-27 19:38:12 +01:00
uml uml: mark as source-only 2017-01-24 13:35:47 +01:00
x86 x86: add preinit hook to reload microcode 2018-03-04 17:37:15 +01:00
xburst xburst: enable high-res timers, refresh kernel config 2017-12-13 15:55:45 +01:00
zynq kernel: bump kernel 4.4 to version 4.4.137 2018-06-15 19:20:56 +02:00
Makefile