Re: dma_pool broken on MIPS generic?

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

 



On 09/11/2018 14:24:40+0100, Christoph Hellwig wrote:
> On Fri, Nov 09, 2018 at 02:10:14PM +0100, Alexandre Belloni wrote:
> > Hello,
> > 
> > I'm working on a (not yet upstreamed) dmaengine driver. While rebasing
> > from v4.19 to v4.20-rc1, I saw that it is not working properly anymore
> > because dma_pool is allocating descriptors in kseg0 which is cached
> > while in v4.19, it was allocating them in kseg1.
> > 
> > Am I missing something to explicitely state that the cache is not dma
> > coherent? How could I track this behaviour change?
> 
> You probably want this commit:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?h=mips-fixes&id=d01501f85249848a2497968d46dd46d5c6fe32e6

Yep, this helped, thanks a lot!

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

  Powered by Linux