Re: [PATCH] MIPS: DMA: fix coherent alloc in non-coherent systems

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

 



On 10/30/2014 03:07 AM, James Hogan wrote:
Hi Leonid,

On 30/10/14 01:48, Leonid Yegoshin wrote:
A default dma_alloc_coherent() fails to alloc a coherent memory on non-coherent
systems in case of device->coherent_dma_mask covering the whole memory space.

In case of non-coherent systems the coherent memory on MIPS is restricted by
size of un-cachable segment and should be located in ZONE_DMA.
Has this pretty much always been broken?


Yes, but it can be seen on MIPS32 EVA-based CPUs.





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux