Re: Cma mem map to cpu address when allocated in ion driver, why do this design?

From: gregkh@xxxxxxxxxxxxxxxxxxx
Date: Thu Sep 01 2016 - 10:45:27 EST


On Thu, Sep 01, 2016 at 12:46:32PM +0000, Yangwei (Yang Wei, Device Chipset Key Technologies Platform Development Dept) wrote:
> Hi all,
>
> When I review ion code in linux-3.18.y, I find a design that may cause
> a problem in our product. In the design, cma mem is allocated via the
> interface of dma_alloc_coherent ,

3.18 is old and obsolete and isn't supported by the kernel community for
anything except bug fixes. I suggest you work with whatever group is
forcing you to use this old kernel version as they are the ones that you
are paying to support this kernel for you.

If you wish to discuss the 4.7 or newer kernel versions, and how ion
works there (look in linux-next for the most recent changes in that
area), we would be glad to help you out.

Best of luck!

greg k-h