Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161292AbbBCVpo (ORCPT ); Tue, 3 Feb 2015 16:45:44 -0500 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> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) 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" X-Provags-ID: V03:K0:0RxsGO58vJqTlrL8fJbDZuPyLPy84O1ZDxnPVY9wF0iKncs76d9 MBzh8TAVVBLz/zyUrUjUq3Dm98dhq8tfu9EIvuXl5aTEcydAFmBzLzAj7epAICY0QL9QsQu Th3TN4B5N7wSUG9EdBwW6tsYOYo82HSGPSVNlE+XzhinPBWlPypySxdbSPFpa6bcdIG4nE0 z6THMy050NTqEQkIeQsWw== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 24 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/