openwrt/target/linux/apm821xx/patches-4.14
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
..
020-0001-crypto-crypto4xx-remove-bad-list_del.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0002-crypto-crypto4xx-remove-unused-definitions-and-write.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0003-crypto-crypto4xx-set-CRYPTO_ALG_KERN_DRIVER_ONLY-fla.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0004-crypto-crypto4xx-remove-extern-statement-before-func.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0005-crypto-crypto4xx-remove-double-assignment-of-pd_uinf.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0006-crypto-crypto4xx-fix-dynamic_sa_ctl-s-sa_contents-de.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0007-crypto-crypto4xx-move-and-refactor-dynamic_contents-.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0008-crypto-crypto4xx-enable-AES-RFC3686-ECB-CFB-and-OFB-.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0009-crypto-crypto4xx-refactor-crypto4xx_copy_pkt_to_dst.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0010-crypto-crypto4xx-replace-crypto4xx_dev-s-scatter_buf.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0011-crypto-crypto4xx-fix-crypto4xx_build_pdr-crypto4xx_b.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0012-crypto-crypto4xx-pointer-arithmetic-overhaul.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0013-crypto-crypto4xx-wire-up-hmac_mc-to-hmac_muting.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0014-crypto-crypto4xx-fix-off-by-one-AES-OFB.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0015-crypto-crypto4xx-fix-type-mismatch-compiler-error.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0017-crypto-crypto4xx-add-backlog-queue-support.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0018-crypto-crypto4xx-use-the-correct-LE32-format-for-IV-.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0019-crypto-crypto4xx-overhaul-crypto4xx_build_pd.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0020-crypto-crypto4xx-fix-various-warnings.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0021-crypto-crypto4xx-fix-stalls-under-heavy-load.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0023-crypto-crypto4xx-prepare-for-AEAD-support.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0024-crypto-crypto4xx-add-aes-ccm-support.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
020-0025-crypto-crypto4xx-add-aes-gcm-support.patch apm821xx: backport crypto4xx patches from 4.15 2018-01-12 08:00:04 +01:00
021-0001-crypto-crypto4xx-shuffle-iomap-in-front-of-request_i.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
021-0002-crypto-crypto4xx-support-Revision-B-parts.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
021-0003-crypto-crypto4xx-fix-missing-irq-devname.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
021-0004-crypto-crypto4xx-kill-MODULE_NAME.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
021-0005-crypto-crypto4xx-perform-aead-icv-check-in-the-drive.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0001-crypto-Use-zeroing-memory-allocator-instead-of-alloc.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0002-crypto-crypto4xx-performance-optimizations.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0003-crypto-crypto4xx-convert-to-skcipher.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0004-crypto-crypto4xx-avoid-VLA-use.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0005-crypto-crypto4xx-add-aes-ctr-support.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0006-crypto-crypto4xx-properly-set-IV-after-de-and-encryp.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0007-crypto-crypto4xx-extend-aead-fallback-checks.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
022-0008-crypto-crypto4xx-put-temporary-dst-sg-into-request-c.patch apm821xx: backport and reassign crypto4xx patches 2018-05-24 17:24:30 +02:00
030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch apm821xx: convert MR24 to use DT PHY defintion 2018-01-12 08:00:04 +01:00
030-0002-net-ibm-emac-replace-custom-PHY_MODE_-macros.patch apm821xx: convert MR24 to use DT PHY defintion 2018-01-12 08:00:04 +01:00
030-0003-net-ibm-emac-support-RGMII-RX-TX-ID-phymode.patch apm821xx: convert MR24 to use DT PHY defintion 2018-01-12 08:00:04 +01:00
200-add-meraki-mr24-ikarem-support.patch
201-add-amcc-apollo3g-support.patch
202-add-netgear-wndr4700-support.patch
203-add-meraki-mx60-buckminster-support.patch
300-fix-atheros-nics-on-apm82181.patch
301-fix-memory-map-wndr4700.patch
302-dw-dma-hprot-fix-and-equal-priortiy.patch apm821xx: fix sata access freezes 2018-07-19 18:54:40 +02:00
701-powerpc_ibm_apm82181_phyclk_fix.patch
801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
802-usb-xhci-force-msi-renesas-xhci.patch kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
803-hwmon-tc654-add-detection-routine.patch
804-hwmon-tc654-add-thermal_cooling-device.patch