Re: [PATCH v2 2/7] DMA-API: Introduce dma_(un)map_resource
On Mon, May 18, 2015 at 01:24:59PM -0500, wda...@nvidia.com wrote: > +static inline dma_addr_t dma_map_resource_attrs(struct device *dev, > + struct resource *res, > + size_t offset, size_t size, > +
[PATCH v2 2/7] DMA-API: Introduce dma_(un)map_resource
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 Reviewe