RE: [PATCH 11/22] swiotlb: Add map_peer_resource stub

2015-09-15 Thread William Davis
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Tuesday, September 15, 2015 2:40 PM > To: William Davis > Cc: Bjorn Helgaas; Alex Williamson; Joerg Roedel; > iommu@lists.linux-foundation.org; linux- > p...@vger.kernel

RE: [PATCH v5 04/13] DMA-API: Introduce dma_(un)map_peer_resource

2015-08-19 Thread William Davis
> > +#ifdef CONFIG_HAS_DMA_P2P > > +static inline dma_peer_addr_t dma_map_peer_resource_attrs(struct > > device *dev, > > + struct device *peer, > > + struct resource *res, > > +

RE: [PATCH v4 09/12] iommu/vt-d: implement (un)map_peer_resource

2015-08-10 Thread William Davis
On Monday, August 10, 2015 12:02 PM, Bjorn Helgaas wrote: > On Wed, Jul 22, 2015 at 04:39:54PM -0500, Will Davis wrote: > > Implement 'map_peer_resource' for the Intel IOMMU driver. Simply translate > > the resource to a physical address and route it to the same handlers used > > by the 'map_page'

RE: [PATCH v3 0/7] IOMMU/DMA map_resource support for peer-to-peer

2015-07-01 Thread William Davis
> From: Will Davis > > > From: Will Davis > > > > Hi, > > > > This is the third version of a patchset to add the DMA APIs necessary to > > map and unmap a struct resource to and from a PCI device's IOVA domain. > > This allows a PCI device to access a peer device's BAR resource when a > > hardwar

RE: [PATCH v3 0/7] IOMMU/DMA map_resource support for peer-to-peer

2015-06-15 Thread William Davis
> From: Will Davis > > Hi, > > This is the third version of a patchset to add the DMA APIs necessary to > map and unmap a struct resource to and from a PCI device's IOVA domain. > This allows a PCI device to access a peer device's BAR resource when a > hardware IOMMU is enabled. > Bjorn, Dave

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-06-02 Thread William Davis
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Monday, June 1, 2015 4:25 PM > To: William Davis > Cc: j...@8bytes.org; bhelg...@google.com; iommu@lists.linux-foundation.org; > linux-...@vger.kernel.org; Terence Ripperda; Jo

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-27 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Wednesday, May 20, 2015 3:07 PM > To: William Davis; Bjorn Helgaas > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; > linux-...@vger.kernel.org; Terence Ripperda; > John Hubbar

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Wednesday, May 20, 2015 2:16 PM > To: William Davis; Bjorn Helgaas > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard;

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Wednesday, May 20, 2015 7:11 AM > To: Bjorn Helgaas; William Davis > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard;

RE: [PATCH 0/6] IOMMU/DMA map_resource support for peer-to-peer

2015-05-11 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Friday, May 08, 2015 3:46 PM > To: Konrad Rzeszutek Wilk; William Davis > Cc: linux-...@vger.kernel.org; iommu@lists.linux-foundation.org; > jgli...@redhat.com; John Hubbard; > Terence R

RE: [PATCH 0/6] IOMMU/DMA map_resource support for peer-to-peer

2015-05-11 Thread William Davis
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Friday, May 08, 2015 3:22 PM > To: William Davis > Cc: j...@8bytes.org; jgli...@redhat.com; linux-...@vger.kernel.org; > iommu@lists.linux-foundation.org; > John Hubb

RE: [PATCH 0/6] IOMMU/DMA map_resource support for peer-to-peer

2015-05-07 Thread William Davis
> -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Thursday, May 7, 2015 8:13 AM > To: Yijing Wang > Cc: William Davis; Joerg Roedel; open list:INTEL IOMMU (VT-d); linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard; Jerome Gl

RE: [PATCH 2/6] DMA-API: Introduce dma_(un)map_resource

2015-05-07 Thread William Davis
> -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

RE: [PATCH 6/6] x86: add pci-nommu implementation of map_resource

2015-05-07 Thread William Davis
> -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Thursday, May 7, 2015 10:08 AM > To: William Davis > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard; jgli...@redhat