From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753739AbcEZMGr (ORCPT ); Thu, 26 May 2016 08:06:47 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:34890 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753191AbcEZMGq (ORCPT ); Thu, 26 May 2016 08:06:46 -0400 Date: Thu, 26 May 2016 05:06:35 -0700 From: Christoph Hellwig To: Russell King - ARM Linux Cc: Liviu Dudau , Laura Abbott , Sumit Semwal , John Stultz , Arve Hj?nnev?g , Riley Andrews , Daniel Vetter , linaro-mm-sig@lists.linaro.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Eun Taik Lee , Rohit kumar , Jon Medhurst , Mitchel Humpherys , Jeremy Gebben , Bryan Huntsman , Greg Kroah-Hartman , Android Kernel Team Subject: Re: [RFC][PATCH 1/3] staging: ion: Move away from the DMA APIs for cache flushing Message-ID: <20160526120635.GA28564@infradead.org> References: <1464205684-5587-1-git-send-email-labbott@redhat.com> <1464205684-5587-2-git-send-email-labbott@redhat.com> <20160526095835.GT23566@e106497-lin.cambridge.arm.com> <20160526105922.GH19428@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160526105922.GH19428@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.24 (2015-08-30) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.