openwrt/target/linux
Christian Lamparter 8a0ad2660a 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:54:40 +02:00
..
apm821xx apm821xx: fix sata access freezes 2018-07-19 18:54:40 +02:00
ar7 kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
ar71xx kernel: bump 4.9 to 4.9.110 for 18.06 2018-07-02 07:06:06 +02:00
arc770 arc770: remove source-only 2018-05-24 17:24:30 +02:00
archs38 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
armvirt arm64: enable harden branch predictor 2018-04-27 21:34:18 +02:00
at91 kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
ath25 ath25: drop 4.9 kernel support 2018-05-24 17:24:30 +02:00
bcm53xx bcm53xx: fix NAND partitions on D-Link DIR-885L 2018-06-23 14:27:29 +02:00
brcm47xx kernel: bump 4.14 to 4.14.54 for 18.06 2018-07-12 13:54:24 +02:00
brcm63xx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
brcm2708 kernel: bump 4.9 to 4.9.111 for 18.06 2018-07-12 13:54:24 +02:00
cns3xxx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
gemini kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
generic kernel: backport page fragment API changes from 4.10+ to 4.9 2018-07-14 11:43:18 +02:00
imx6 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
ipq40xx ipq40xx: add get_status_led to diag.sh 2018-07-15 20:08:44 +02:00
ipq806x ipq806x: fix numbering for Netgear R7800 LAN ports 2018-07-04 01:20:44 +02:00
ixp4xx kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
kirkwood kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
lantiq lantiq: backport stp-xway get callback implementation 2018-07-03 20:59:27 +02:00
layerscape kernel: bump 4.9 to 4.9.111 for 18.06 2018-07-12 13:54:24 +02:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mediatek mediatek: fix parallel build issues in image build code 2018-07-17 14:45:33 +02:00
mpc85xx kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
mvebu kernel: bump 4.14 to 4.14.52 for 18.06 2018-07-02 07:06:23 +02:00
mxs kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeon kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeontx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
omap kernel: enable EXPORTFS by default 2018-05-24 17:24:31 +02:00
orion orion: remove linux 4.4 support 2018-04-19 14:38:57 +02:00
oxnas kernel: bump 4.14 to 4.14.52 for 18.06 2018-07-02 07:06:23 +02:00
pistachio kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
ramips ramips: clean up and fix MT7621 NAND driver issues 2018-07-13 17:01:41 +02:00
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
sunxi kernel: bump 4.9 to 4.9.111 for 18.06 2018-07-12 13:54:24 +02:00
uml kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
x86 kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
Makefile