Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3478596pxb; Sun, 7 Feb 2021 10:50:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+n1qwIBooYTf5KgSCUinTLYmHUfZ/+zO0rRPCzm+ijrL0W3Kelb15f/1L40dH4juPWUhS X-Received: by 2002:a50:d90a:: with SMTP id t10mr14249305edj.162.1612723842281; Sun, 07 Feb 2021 10:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612723842; cv=none; d=google.com; s=arc-20160816; b=X4T0qjJVbrewhb5ATcWRyoFYNHxVP4IdQM0tDRx6wpy+beDOlFilJer8SDuuU3nxYt ARpKDLxZv2g8o6QzgMHMDOeKuzv9k8keO/zXOKKgmiZrkqDg+jR7ptQSdAaA4WLQZNXB ZzTG9uVOwHi0nf6V6nURIyZwCvv8Cg2zb34vPod5zf8hhI2+BF75ox6goyYGTDx/CuTN z1y8uazj1XiyBib/XUiFwHEyW+MjCV8fYRE8Lz+VXi0dlXgFP16rqqA0ufcpEAnAPjt7 CgKtyQVRiP51GGVH0bD5rAerypqON+zmju3/cECiUlCSJkxeZy1DDfuKZ6CdUGZKmtwo OaIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pqYCRFvCXyjtSVCcgeiVUF+ssxIuOMg7PoJwJfSpDHo=; b=GfsOiTcLYNLtZEDKGEkxw1iCnHkIBQ6zJ1EyO5RfRLnQAusm47kk0Nf8dw52/8+R/2 gou9dhQF8QS6V2wehBsOzawUz1fwgT5WFHlD7EqRLXJdZLHNBSf3I8Sv+6CCD1AmF1ld VarxWp//+t1h1bBOGTqVO37xG47oawfFVkQfVAsXwy9/0EHbvsvzuRtJhG5qeqGOR3+k ZeDSHeS04aCVAr/V+tjFpdbPcbyIsB4qJq3c/mYdVSE9kyRGt1ArbNs24qPIWpM26w6N ijv62VAKgn6348Au0UfkUe6Ch70qd2djwgm83OkdqRBOKdy/I9vdj6lGTb1oRz9+zTmy oPhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si3796932ejh.440.2021.02.07.10.50.19; Sun, 07 Feb 2021 10:50:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbhBGStn (ORCPT + 99 others); Sun, 7 Feb 2021 13:49:43 -0500 Received: from verein.lst.de ([213.95.11.211]:38953 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbhBGStj (ORCPT ); Sun, 7 Feb 2021 13:49:39 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 5DE7D68B02; Sun, 7 Feb 2021 19:48:55 +0100 (CET) Date: Sun, 7 Feb 2021 19:48:55 +0100 From: Christoph Hellwig To: Mauro Carvalho Chehab , Marek Szyprowski , Tomasz Figa , Ricardo Ribalda , Sergey Senozhatsky , iommu@lists.linux-foundation.org Cc: linux-media@vger.kernel.org, Robin Murphy , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: add a new dma_alloc_noncontiguous API v2 Message-ID: <20210207184855.GA27553@lst.de> References: <20210202095110.1215346-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210202095110.1215346-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any comments? On Tue, Feb 02, 2021 at 10:51:03AM +0100, Christoph Hellwig wrote: > Hi all, > > this series adds the new noncontiguous DMA allocation API requested by > various media driver maintainers. > > Changes since v1: > - document that flush_kernel_vmap_range and invalidate_kernel_vmap_range > must be called once an allocation is mapped into KVA > - add dma-debug support > - remove the separate dma_handle argument, and instead create fully formed > DMA mapped scatterlists > - use a directional allocation in uvcvideo > - call invalidate_kernel_vmap_range from uvcvideo > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu ---end quoted text---