diff options
author | 2019-04-01 13:42:15 +0800 | |
---|---|---|
committer | 2019-04-15 11:55:54 +0200 | |
commit | c278150e0d2a4ac0551f86c9db042665ad51c1e4 (patch) | |
tree | 832f161506fb840e67b10eda51b1a255b89cffb8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mmc: sdhci_am654: Clear HISPD_ENA in some lower speed modes (diff) | |
download | wireguard-linux-c278150e0d2a4ac0551f86c9db042665ad51c1e4.tar.xz wireguard-linux-c278150e0d2a4ac0551f86c9db042665ad51c1e4.zip |
mmc: alcor: enable DMA transfer of large buffers
DMA on this hardware is limited to dealing with a single page at a
time. Previously, the driver was set up accordingly to request single-page
DMA buffers, however that had the effect of generating a large number
of small MMC requests for data I/O.
Improve the driver to accept scatter-gather DMA buffers of larger sizes.
Iterate through those buffers a page at a time.
Testing with dd, this increases write performance from 2mb/sec to
10mb/sec, and increases read performance from 4mb/sec to 14mb/sec.
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions