From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.131]:54035 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161270AbbBCVpk (ORCPT ); Tue, 3 Feb 2015 16:45:40 -0500 From: Arnd Bergmann To: linaro-kernel@lists.linaro.org Cc: Rob Clark , Russell King - ARM Linux , Tomasz Stanislawski , LKML , DRI mailing list , "linaro-mm-sig@lists.linaro.org" , "linux-mm@kvack.org" , Daniel Vetter , Robin Murphy , "linux-arm-kernel@lists.infradead.org" , "linux-media@vger.kernel.org" Subject: Re: [Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms Date: Tue, 03 Feb 2015 22:44:53 +0100 Message-ID: <19028710.jGRCggLuRk@wuerfel> In-Reply-To: References: <1422347154-15258-1-git-send-email-sumit.semwal@linaro.org> <20150203165829.GW8656@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: On Tuesday 03 February 2015 12:35:34 Rob Clark wrote: > > I can't think of cases outside of GPU's.. if it were more common I'd > be in favor of teaching dma api about multiple contexts, but right now > I think that would just amount to forcing a lot of churn on everyone > else for the benefit of GPU's. We have a couple of users of the iommu API at the moment outside of GPUs: * drivers/media/platform/omap3isp/isp.c * drivers/remoteproc/remoteproc_core.c * drivers/infiniband/hw/usnic/usnic_uiom.c * drivers/vfio/ I assume we will see a few more over time. The vfio case is the most important one here, since that is what the iommu API was designed for. Arnd