Re: renesas_sdhi: mapping sg segment longer than device claims to support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux