> -----Original Message----- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Thursday, May 7, 2015 10:10 AM > To: William Davis > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard; jgli...@redhat.com > Subject: Re: [PATCH 2/6] DMA-API: Introduce dma_(un)map_resource > > On Fri, May 01, 2015 at 01:32:14PM -0500, wda...@nvidia.com wrote: > > From: Will Davis <wda...@nvidia.com> > > > > 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 <wda...@nvidia.com> > > Reviewed-by: Terence Ripperda <trippe...@nvidia.com> > > Reviewed-by: John Hubbard <jhubb...@nvidia.com> > > --- > > 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 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu