Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp752713pxj; Fri, 14 May 2021 15:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJdChVSPaid0IA0jgCrqjkNSMeqxFUqsaxfkQ99eWK72bCfkIbNv+Llg8FI5gGpEAZM+vr X-Received: by 2002:a05:6e02:d:: with SMTP id h13mr3734051ilr.112.1621030341722; Fri, 14 May 2021 15:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621030341; cv=none; d=google.com; s=arc-20160816; b=Y+zpAbOEfn2zyTFUvkb5Yna2Yz5cWL6LO4I2D4Kux1Dal5x4Xhm2qN7wwwrVfzpFeB S+YvVs/D1QW79nM02WrArA2BdnyRygaqdv/s0Ka5IWM3vwsH4xAxth2/1jfP5an+xIk5 aD0jyrpxZRGd7dp4+vra9SFxotbFNj7qpV7Quzty24KZi7/yGFLweATtVLRPzXJOM5k4 gfUvqX63mxHYo13T/hwNj9qBUzgyK/AGQwCBHvDGMa87qWxozj5Gjyf+5jDg7zdg09bJ d1NHzwt8uu36rMp+bdjvXnWftEJhD10VlpEvJXKhOOzFquiq0KqvKls9TOjcdFIZFKsB 5XCA== 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=7Bd+0nGtuetuPqe2mF3AdObUg/oA+HUicayLCqFJ+fo=; b=Yqq1WTC1EweR7Yk7Kk4UDX5YAO89g70FG3PcHT2GjcCwr95epTzdnrBIB+/FFsy8o8 4LgsoM1okytcbpeLC6uL5PRHuzg1pQZVea/AFzngKoW9o2ho7IwbJ3JK86JxRsdHdxv/ NaLjzeZJHlUBqWiXrS0k4YJ7ted332gN6gIQ/Cccf+vQnGbhHb77b0XddBvb/cv3WmXO IbNm4GP4F/8fPN10WBGbagRt5pwrjwRSRLXiI/sx3KZ8IsigXZ3WpNMYiIceoFHzWKXU ktOWZcT+vEHHx48rD0KFyqSKMdzA4vf56gv3EXnK3mkswTCis8XfSuGQQD/uBqngoTG0 LnBQ== 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 n184si10355841iod.70.2021.05.14.15.12.09; Fri, 14 May 2021 15:12:21 -0700 (PDT) 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 S231842AbhENNyt (ORCPT + 99 others); Fri, 14 May 2021 09:54:49 -0400 Received: from verein.lst.de ([213.95.11.211]:50606 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbhENNyr (ORCPT ); Fri, 14 May 2021 09:54:47 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 07B676736F; Fri, 14 May 2021 15:53:31 +0200 (CEST) Date: Fri, 14 May 2021 15:53:31 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Stephen Bates , Christoph Hellwig , Dan Williams , Jason Gunthorpe , Christian =?iso-8859-1?Q?K=F6nig?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Jakowski Andrzej , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy Subject: Re: [PATCH v2 14/22] PCI/P2PDMA: Introduce helpers for dma_map_sg implementations Message-ID: <20210514135331.GC4715@lst.de> References: <20210513223203.5542-1-logang@deltatee.com> <20210513223203.5542-15-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210513223203.5542-15-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I think helpers for the dma mapping implementation should probably go into dma-map-ops.h so that the header for the public API doesn't get polluted with them.