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.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 A613AC433E0 for ; Thu, 11 Mar 2021 16:53:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B27264FE9 for ; Thu, 11 Mar 2021 16:53:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229490AbhCKQxD (ORCPT ); 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-media@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---