From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ale.deltatee.com (ale.deltatee.com [204.191.154.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 683AB1DF981; Mon, 28 Oct 2024 18:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=204.191.154.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730139102; cv=none; b=sPACB3A1AbCSB7n8qJI5KTix/jT01H4C9HlvRjOfhu1CkOPNOjRksoD26mFspMLzJj011F4DewFDInvkGp41bl0Iu0MK142d9grCffuqjaGppjBS/XW8XNzz9dvp5VE9NybCwszYpe0rV2UfaxondhxC6bb2H1Lnd+b+lhmzRP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730139102; c=relaxed/simple; bh=R4s3SDFfCW54mFHIr5rHUJembbwvaujo1iTtvjIzpys=; h=Message-ID:Date:MIME-Version:To:Cc:References:From:In-Reply-To: Content-Type:Subject; b=DtDCmTWbgPakyu1XmB8tJHIx+EioVhUitWqMR8yuhhI7fj/cMPbOuykOeAasIwAxz67lQjoHR5kbzHaR1H2G10JqWM4IleFap//3d3pcTCCn53vWBgBwgGL5xQ0IfJLl/hCf2XhX+GIb9RsjPQGlYWQaoQhP6XFxZ64mRvhPL28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=deltatee.com; spf=pass smtp.mailfrom=deltatee.com; dkim=pass (2048-bit key) header.d=deltatee.com header.i=@deltatee.com header.b=JDRSep6m; arc=none smtp.client-ip=204.191.154.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=deltatee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=deltatee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=deltatee.com header.i=@deltatee.com header.b="JDRSep6m" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:In-Reply-To:From:References:Cc:To: MIME-Version:Date:Message-ID:content-disposition; bh=XkRQbbGrVf4rrr5cMxTvJOT45oNcYX7llT98sSv7VZo=; b=JDRSep6mTleN4lkjA/J5iVMkPF enS4BrqlKpXbUgGqj0gabosZW4pW3JjatpcFhM3DewTJK7z2aAAQVvoOHfRG/cTtVotC207Q8IteD y61OMLXkHOQF9oMjKtKYq2pRcintw+ND38R50Dr1WBpiurGK2jzQCpfX6Kjf+96dinFHyVhIrrH00 6irNqWX9Bvna8pEgCL4qasIeorvDZbuO1vkEIi4h/AR2RSvixYRIYlgi0obvTHIxWc8HfI+MuG85h EB6WlZ71HR4+V6Cpi2WJoAAa1FCmqsr+QgpfGVgfQWMWrd3M1aPok7jNXxZOtoMskN5+ZjbxkFfKb qnN+84Og==; Received: from d104-157-31-28.abhsia.telus.net ([104.157.31.28] helo=[192.168.1.250]) by ale.deltatee.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1t5UCs-002ZVS-2K; Mon, 28 Oct 2024 12:11:11 -0600 Message-ID: Date: Mon, 28 Oct 2024 12:11:10 -0600 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Leon Romanovsky , Jens Axboe , Jason Gunthorpe , Robin Murphy , Joerg Roedel , Will Deacon , Christoph Hellwig , Sagi Grimberg Cc: Keith Busch , Bjorn Helgaas , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , Marek Szyprowski , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Andrew Morton , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org References: <27698e7cc55f6ca5371c3d86c50fd3afce9afddd.1730037276.git.leon@kernel.org> Content-Language: en-CA From: Logan Gunthorpe In-Reply-To: <27698e7cc55f6ca5371c3d86c50fd3afce9afddd.1730037276.git.leon@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 104.157.31.28 X-SA-Exim-Rcpt-To: leon@kernel.org, axboe@kernel.dk, jgg@ziepe.ca, robin.murphy@arm.com, joro@8bytes.org, will@kernel.org, hch@lst.de, sagi@grimberg.me, kbusch@kernel.org, bhelgaas@google.com, yishaih@nvidia.com, shameerali.kolothum.thodi@huawei.com, kevin.tian@intel.com, alex.williamson@redhat.com, m.szyprowski@samsung.com, jglisse@redhat.com, akpm@linux-foundation.org, corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Level: Subject: Re: [PATCH 02/18] dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h X-SA-Exim-Version: 4.2.1 (built Wed, 06 Jul 2022 17:57:39 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) On 2024-10-27 08:21, Leon Romanovsky wrote: > From: Christoph Hellwig > > To support the upcoming non-scatterlist mapping helpers, we need to go > back to have them called outside of the DMA API. Thus move them out of > dma-map-ops.h, which is only for DMA API implementations to pci-p2pdma.h, > which is for driver use. > > Note that the core helper is still not exported as the mapping is > expected to be done only by very highlevel subsystem code at least for > now. > > Signed-off-by: Christoph Hellwig > Signed-off-by: Leon Romanovsky Also looks good. Thanks! Reviewed-by: Logan Gunthorpe