diff options
author | Sergei Antonov <saproj@gmail.com> | 2023-02-10 17:38:43 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-02-15 15:24:03 +0300 |
commit | 16b492ce0a55735ed6f4c19ee9fb767badb3f19a (patch) | |
tree | 01ab2290fb1843c642c3a0ae7bea9a60621bf57e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 08623d741e94dc9ca033ecb8d04312960a105377 (diff) | |
download | linux-16b492ce0a55735ed6f4c19ee9fb767badb3f19a.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions