aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/cavium.c
diff options
context:
space:
mode:
authorGravatar Heiner Kallweit <hkallweit1@gmail.com> 2017-04-07 21:22:44 +0200
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2017-04-24 21:42:21 +0200
commit79ed05e329c34c68ab2a87f729e666fcf208fdad (patch)
treec3fdf8c4648f371abf3eb7edb4eab654bf64f685 /drivers/mmc/host/cavium.c
parentmmc: meson-gx: add basic tuning for rx clock phase (diff)
downloadlinux-79ed05e329c34c68ab2a87f729e666fcf208fdad.tar.gz
linux-79ed05e329c34c68ab2a87f729e666fcf208fdad.tar.bz2
linux-79ed05e329c34c68ab2a87f729e666fcf208fdad.zip
mmc: meson-gx: add support for descriptor chain mode
So far a bounce buffer is used to serialize the scatterlist(s). This overhead can be avoided by switching to descriptor chain mode. As result the performance is drastically improved. On a Odroid-C2 with a 128 GB eMMC module raw reads reach 140 MB/s. Prerequisite for descriptor chain mode is that all scatterlist buffers are 8 byte aligned for 64-bit DMA. That's not always the case, at least the brcmfmac SDIO WiFi driver is known to cause problems. Therefore, for each request, check upfront whether all scatterlist buffers are 8 byte aligned and fall back to bounce buffer mode if that's not the case. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/cavium.c')
0 files changed, 0 insertions, 0 deletions