[RFC][PATCH] add dma_reserve_coherent_memory()/dma_free_reserved_memory() API
From: fujita.tomonori@lab.ntt.co.jp (FUJITA Tomonori)
Date: 2010-08-26 09:53:44
Also in:
linux-media, linux-sh, lkml
From: fujita.tomonori@lab.ntt.co.jp (FUJITA Tomonori)
Date: 2010-08-26 09:53:44
Also in:
linux-media, linux-sh, lkml
On Thu, 26 Aug 2010 11:45:58 +0200 (CEST) Guennadi Liakhovetski [off-list ref] wrote:
On Thu, 26 Aug 2010, FUJITA Tomonori wrote:quoted
Why can't you revert a commit that causes the regression?See this reply, and the complete thread too. http://marc.info/?l=linux-sh&m=128130485208262&w=2quoted
The related DMA API wasn't changed in 2.6.36-rc1. The DMA API is not responsible for the regression. And the patchset even exnteds the definition of the DMA API (dma_declare_coherent_memory). Such change shouldn't applied after rc1. I think that DMA-API.txt says that dma_declare_coherent_memory() handles coherent memory for a particular device. It's not for the API that reserves coherent memory that can be used for any device for a single device.Anyway, we need a way to fix the regression.
Needs to find a different way.