diff options
author | 2023-02-10 17:38:43 +0300 | |
---|---|---|
committer | 2023-02-15 13:24:03 +0100 | |
commit | 16b492ce0a55735ed6f4c19ee9fb767badb3f19a (patch) | |
tree | 01ab2290fb1843c642c3a0ae7bea9a60621bf57e /tools/perf/scripts/python/stackcollapse.py | |
parent | mmc: sdhci-brcmstb: Use devm_platform_get_and_ioremap_resource() (diff) | |
download | wireguard-linux-16b492ce0a55735ed6f4c19ee9fb767badb3f19a.tar.xz wireguard-linux-16b492ce0a55735ed6f4c19ee9fb767badb3f19a.zip |
mmc: moxart: set maximum request/block/segment sizes
Per datasheet: maximum block length is 2048 bytes,
data length field is in bits 0-23 of the Data Length Register.
Also for DMA mode we have to take into account rx/tx buffers' sizes.
In my tests this change doubles SD card I/O performance on big files.
Before the change Linux used default request size of 4 KB.
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Link: https://lore.kernel.org/r/20230210143843.369943-1-saproj@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions