On Tue, Jun 19, 2018 at 02:40:33PM +0200, Geert Uytterhoeven wrote: > Hi all, > > With the new CONFIG_DMA_API_DEBUG_SG option enabled, I get the following > warning (actual value of len varies) during boot on various R-Car Gen3 > platforms: > > renesas_sdhi_internal_dmac ee140000.sd: DMA-API: mapping sg segment > longer than device claims to support [len=98304] [max=65536] Looks like our internal DMA engine needs to use this new thing: dma_get_max_seg_size() which means we need a 'struct device_dma_parameters' somewhere. Yet, I wonder why the sys-dmac part of Gen2 doesn't trigger this? I don't see the R-Car DMAC driver setting such a struct? Am I missing something? Regards, Wolfram
Attachment:
signature.asc
Description: PGP signature