From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35E69C2D0A8 for ; Wed, 23 Sep 2020 13:48:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7446121D92 for ; Wed, 23 Sep 2020 13:48:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7446121D92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C1C056B005D; Wed, 23 Sep 2020 09:48:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B7E896B0062; Wed, 23 Sep 2020 09:48:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A6CCB6B0068; Wed, 23 Sep 2020 09:48:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id 94A4E6B005D for ; Wed, 23 Sep 2020 09:48:00 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 56D74824999B for ; Wed, 23 Sep 2020 13:48:00 +0000 (UTC) X-FDA: 77294454720.26.desk43_4a02b2127156 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin26.hostedemail.com (Postfix) with ESMTP id 3101E1804B654 for ; Wed, 23 Sep 2020 13:48:00 +0000 (UTC) X-HE-Tag: desk43_4a02b2127156 X-Filterd-Recvd-Size: 2245 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Wed, 23 Sep 2020 13:47:59 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id 388D26736F; Wed, 23 Sep 2020 15:47:56 +0200 (CEST) Date: Wed, 23 Sep 2020 15:47:56 +0200 From: Christoph Hellwig To: Ajay kumar Cc: Christoph Hellwig , Marek Szyprowski , Shaik Ameer Basha , Robin Murphy , Linux IOMMU , linux-mm@kvack.org, Joerg Roedel , Rob Clark , Thierry Reding , jean-philippe@linaro.org, will@kernel.org, baolu.lu@linux.intel.com, Shaik Ameer Basha Subject: Re: IOVA allocation dependency between firmware buffer and remaining buffers Message-ID: <20200923134756.GA10902@lst.de> References: <59cda41f-170c-a1ad-a345-bc38b9ed4d73@arm.com> <11584d09-5995-6133-3bd3-8f7a0afd0e01@samsung.com> <20200923065808.GA16366@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Sep 23, 2020 at 01:15:33PM +0530, Ajay kumar wrote: > Hello all, > > We pretty much tried to solve the same issue here with a new API in DMA-IOMMU: > https://lore.kernel.org/linux-iommu/20200811054912.GA301@infradead.org/T/ > > Christopher- the user part would be MFC devices on exynos platforms I still think we: a) need to wire it up through the DMA API with an ops vector, and an error for devices not using dma-iommu b) submit it together with an actual users (like the series from Marek)