summaryrefslogtreecommitdiff
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2019-04-01 13:42:15 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2019-04-15 11:55:54 +0200
commitc278150e0d2a4ac0551f86c9db042665ad51c1e4 (patch)
tree832f161506fb840e67b10eda51b1a255b89cffb8 /drivers/of/address.c
parente374e87538f4c7cd364bce6b9048ad5829ccc604 (diff)
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 'drivers/of/address.c')
0 files changed, 0 insertions, 0 deletions