diff options
author | Yann Gautier <[email protected]> | 2022-03-28 16:51:14 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2022-04-26 14:05:18 +0200 |
commit | 970dc9c11a17994ab878016b536612ab00d1441d (patch) | |
tree | 96ca797e1d0118c8325dbd3f81f39e8925386558 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | ed9ab884987bf80e015f0531e10ad1c1af978e09 (diff) |
mmc: mmci: stm32: use a buffer for unaligned DMA requests
In SDIO mode, the sg list for requests can be unaligned with what the
STM32 SDMMC internal DMA can support. In that case, instead of failing,
use a temporary bounce buffer to copy from/to the sg list.
This buffer is limited to 1MB. But for that we need to also limit
max_req_size to 1MB. It has not shown any throughput penalties for
SD-cards or eMMC.
Signed-off-by: Yann Gautier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions