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