Re: [RFC][PATCH 1/3] staging: ion: Move away from the DMA APIs for cache flushing

From: Christoph Hellwig
Date: Thu May 26 2016 - 08:06:49 EST


On Thu, May 26, 2016 at 11:59:22AM +0100, Russell King - ARM Linux wrote:
> I _really_ hate seeing architecture internal functions being abused in
> drivers - architecture internal functions are there to implement the
> official kernel APIs and are not for drivers to poke about with.

Exactly - if drivers like drm and ion want to do something out side the
current DMA API we need to add a proper API, not hack around the lack of
one.