> -----Original Message----- > From: Bjorn Helgaas [mailto:bhelgaas@xxxxxxxxxx] > Sent: Thursday, May 7, 2015 10:10 AM > To: William Davis > Cc: joro@xxxxxxxxxx; iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx; linux- > pci@xxxxxxxxxxxxxxx; Terence Ripperda; John Hubbard; jglisse@xxxxxxxxxx > Subject: Re: [PATCH 2/6] DMA-API: Introduce dma_(un)map_resource > > On Fri, May 01, 2015 at 01:32:14PM -0500, wdavis@xxxxxxxxxx wrote: > > From: Will Davis <wdavis@xxxxxxxxxx> > > > > 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 <wdavis@xxxxxxxxxx> > > Reviewed-by: Terence Ripperda <tripperda@xxxxxxxxxx> > > Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx> > > --- > > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html