[PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO

Yann Gautier yann.gautier at foss.st.com
Thu Mar 17 04:19:42 PDT 2022


The first patch corrects an issue when parsing the sg list to check DMA
constraints.
The second patch manages those DMA alignment by copying from or to a
bounce buffer, the way it is done in meson-gx-mmc.

Yann Gautier (2):
  mmc: mmci: stm32: correctly check all elements of sg list
  mmc: mmci: stm32: use a buffer for unaligned DMA requests

 drivers/mmc/host/mmci_stm32_sdmmc.c | 86 ++++++++++++++++++++++-------
 1 file changed, 66 insertions(+), 20 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list