Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp532554pxf; Thu, 11 Mar 2021 08:56:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJaiRznacTAxsC32GjaSR8CUDnIhfQoOOssxxd5Ms7qvZLWaVEbpOI4Qjf+lPHEPCYiZHN X-Received: by 2002:a17:907:d0b:: with SMTP id gn11mr3956570ejc.463.1615481809682; Thu, 11 Mar 2021 08:56:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615481809; cv=none; d=google.com; s=arc-20160816; b=tvhGhS6uAFXe9j3lKYIow1MXgKhT7DoemKt+HBLEfqHJMe318dfvi6CFOglgTqor68 5dQ9YV4Nh5kAnCmIbXa6werbpibKY+PwfLNF/Xm8OCtm2tx2YWEyKcmvvD8Jj0eq48hL /ZgY57p0kr7ywGPOAsUU98KvpyHe/FGrX2rhmazWs+rggXZcwHw2aat5iR/b9bwVIhhr a5az0wPZ/vJEXeM5PTwVXEOwWHEQRSkAwNuhT3c1CWZ/nJOL3AltISsB3MA+aHz3DSqv vn894qFC1YCzAIISL9RsA6vYX2YnmXjAXrRlJNT+zy/gBE31ZlNgXHG7tkPlMXtx0yUT r2ew== 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=mEFdfBMyBNmw5jzLcZSKS+EwEugLknLBG+3ZomL56Jo=; b=N3ggZvscTUP+i6l0GhydHa/1m7LpG8XODI3vUVk7lDebdqHpOZgwTYXQIWUTEsLSXO cnHF1I3Pg10KhqkZXXtd4DaM3vcZsFUfbid8cSw+O/Y/MBkcFZY4wUT+LXJijCU74uqU yTNDKieC1B00zrIbSIj5wsfscIUQDaQXxBiAiUDtIMKmAzurt9f1mnZFor7lXIFF/5Ww cdvL96YkbIy+bD3O5BLFxPP40cnnVfXG2LlSdlF0dTiRChXmXxx4YqfvMVGDaPrbFzLe 8yKfBAIltCE30bky7x157Fh0yUs39RtP5Km5CzC3jMKUlZXW6gfPiQeiynxCKsguSWZN 7NgQ== 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 m2si2107392edr.104.2021.03.11.08.56.27; Thu, 11 Mar 2021 08:56:49 -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 S229605AbhCKQxD (ORCPT + 99 others); Thu, 11 Mar 2021 11:53:03 -0500 Received: from verein.lst.de ([213.95.11.211]:41821 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhCKQwx (ORCPT ); Thu, 11 Mar 2021 11:52:53 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 01DE668B05; Thu, 11 Mar 2021 17:52:51 +0100 (CET) Date: Thu, 11 Mar 2021 17:52:50 +0100 From: Christoph Hellwig To: Mauro Carvalho Chehab , Marek Szyprowski , Tomasz Figa , Ricardo Ribalda , Sergey Senozhatsky , Laurent Pinchart , 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 v3 Message-ID: <20210311165250.GB25023@lst.de> References: <20210301085236.947011-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210301085236.947011-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? Especially on the uvcvideo conversion? On Mon, Mar 01, 2021 at 09:52:30AM +0100, Christoph Hellwig wrote: > Hi all, > > this series adds the new noncontiguous DMA allocation API requested by > various media driver maintainers. > > Changes since v2: > - rebased to Linux 5.12-rc1 > - dropped one already merged patch > - pass an attrs argument to dma_alloc_noncontigous > - clarify the dma_vmap_noncontiguous documentation a bit > - fix double assignments in uvcvideo > > 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---