From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Davis Subject: RE: [PATCH 2/6] DMA-API: Introduce dma_(un)map_resource Date: Thu, 7 May 2015 16:10:21 +0000 Message-ID: <9b2e409d18174a80bd255349d798aac8@HQMAIL106.nvidia.com> References: <1430505138-2877-1-git-send-email-wdavis@nvidia.com> <1430505138-2877-3-git-send-email-wdavis@nvidia.com> <20150507150950.GK24643@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20150507150950.GK24643@google.com> Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org To: Bjorn Helgaas Cc: "joro@8bytes.org" , "iommu@lists.linux-foundation.org" , "linux-pci@vger.kernel.org" , Terence Ripperda , John Hubbard , "jglisse@redhat.com" List-Id: iommu@lists.linux-foundation.org > -----Original Message----- > From: Bjorn Helgaas [mailto:bhelgaas@google.com] > Sent: Thursday, May 7, 2015 10:10 AM > To: William Davis > Cc: joro@8bytes.org; iommu@lists.linux-foundation.org; linux- > pci@vger.kernel.org; Terence Ripperda; John Hubbard; jglisse@redhat.com > Subject: Re: [PATCH 2/6] DMA-API: Introduce dma_(un)map_resource > > On Fri, May 01, 2015 at 01:32:14PM -0500, wdavis@nvidia.com wrote: > > From: Will Davis > > > > Add functions to DMA-map and -unmap a resource for a given device. > > This will allow devices to DMA-map a peer device's resource (for > > example, another device's BAR region on PCI) to enable peer-to-peer > transactions. > > > > Signed-off-by: Will Davis > > Reviewed-by: Terence Ripperda > > Reviewed-by: John Hubbard > > --- > > include/asm-generic/dma-mapping-broken.h | 9 +++++++++ > > include/asm-generic/dma-mapping-common.h | 34 > ++++++++++++++++++++++++++++++++ > > include/linux/dma-mapping.h | 7 +++++++ > > You should document these new interfaces in Documentation/DMA-API-* > Will do. Thanks, Will -- nvpublic