Re: [PATCH 2/2] mmc: mmci_sdmmc: fix DMA API warning max segment size

2020-05-28 Thread Ulf Hansson
On Tue, 26 May 2020 at 17:51, Ludovic Barre wrote: > > Turning on CONFIG_DMA_API_DEBUG_SG results in the following warning: > WARNING: CPU: 1 PID: 85 at kernel/dma/debug.c:1302 > debug_dma_map_sg+0x2a0/0x3cc > mmci-pl18x 58005000.sdmmc: DMA-API: mapping sg segment longer than device > claims to

[PATCH 2/2] mmc: mmci_sdmmc: fix DMA API warning max segment size

2020-05-26 Thread Ludovic Barre
Turning on CONFIG_DMA_API_DEBUG_SG results in the following warning: WARNING: CPU: 1 PID: 85 at kernel/dma/debug.c:1302 debug_dma_map_sg+0x2a0/0x3cc mmci-pl18x 58005000.sdmmc: DMA-API: mapping sg segment longer than device claims to support [len=126976] [max=65536] dma api debug checks and compar