Linux IOMMU Development
 help / color / mirror / Atom feed
From: William Davis <wdavis@nvidia.com>
To: Joerg Roedel <joro@8bytes.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	"David S. Miller" <davem@davemloft.net>
Cc: Terence Ripperda <TRipperda@nvidia.com>,
	John Hubbard <jhubbard@nvidia.com>,
	Jerome Glisse <jglisse@redhat.com>,
	Mark Hounschell <markh@compro.net>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Yijing Wang <wangyijing@huawei.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	Dave Jiang <dave.jiang@intel.com>,
	"iommu@lists.linux-foundation.org"
	<iommu@lists.linux-foundation.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: RE: [PATCH v3 0/7] IOMMU/DMA map_resource support for peer-to-peer
Date: Wed, 1 Jul 2015 15:11:23 +0000	[thread overview]
Message-ID: <38cdc550f01d4bc38ebf0201e42d45f2@HQMAIL106.nvidia.com> (raw)
In-Reply-To: <236342dcc57b448b98c3a2b61a8ab23a@DRHQMAIL106.nvidia.com>

> From: Will Davis <wdavis@nvidia.com>
>
> > From: Will Davis <wdavis@nvidia.com>
> >
> > 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, do you have any remaining concerns with this patch series?
> 

Bjorn and/or Dave, do you have any more comments or concerns about these patches, or are they Ack-worthy as is?

Thanks,
Will

> > Thanks,
> > Will
> >
> > Changelog:
> >
> > v3:
> > - changed dma_map_resource() to BUG() if the map_resource DMA op is not
> >   provided, instead of returning 0
> > - updated documentation to remove requirement to check for 0 return value
> >   as an error
> > - remove const keyword from struct dma_map_ops in new DMA APIs for
> >   consistency with other APIs
> >
> > v2: http://www.spinics.net/lists/linux-pci/msg41192.html
> > - added documentation for the new DMA APIs
> > - fixed physical-to-bus address conversion in the nommu implementation
> >
> > v1: http://www.spinics.net/lists/linux-pci/msg40747.html
> >
> > Will Davis (7):
> >   dma-debug: add checking for map/unmap_resource
> >   DMA-API: Introduce dma_(un)map_resource
> >   dma-mapping: pci: add pci_(un)map_resource
> >   DMA-API: Add dma_(un)map_resource() documentation
> >   iommu/amd: Implement (un)map_resource
> >   iommu/vt-d: implement (un)map_resource
> >   x86: add pci-nommu implementation of map_resource
> >
> >  Documentation/DMA-API-HOWTO.txt          | 36 ++++++++++++++-
> >  Documentation/DMA-API.txt                | 31 ++++++++++---
> >  arch/x86/kernel/pci-nommu.c              | 32 ++++++++++++++
> >  drivers/iommu/amd_iommu.c                | 76 ++++++++++++++++++++++++++--
> > ----
> >  drivers/iommu/intel-iommu.c              | 18 ++++++++
> >  include/asm-generic/dma-mapping-broken.h |  9 ++++  include/asm-
> > generic/dma-mapping-common.h | 34 ++++++++++++++
> >  include/asm-generic/pci-dma-compat.h     | 14 ++++++
> >  include/linux/dma-debug.h                | 20 +++++++++
> >  include/linux/dma-mapping.h              |  7 +++
> >  lib/dma-debug.c                          | 47 ++++++++++++++++++++
> >  11 files changed, 304 insertions(+), 20 deletions(-)
> >
> > --
> > 2.4.0
> 
--
nvpublic

      reply	other threads:[~2015-07-01 15:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 17:14 [PATCH v3 0/7] IOMMU/DMA map_resource support for peer-to-peer wdavis
2015-05-29 17:14 ` [PATCH v3 1/7] dma-debug: add checking for map/unmap_resource wdavis
2015-05-29 17:14 ` [PATCH v3 2/7] DMA-API: Introduce dma_(un)map_resource wdavis
2015-05-29 17:14 ` [PATCH v3 3/7] dma-mapping: pci: add pci_(un)map_resource wdavis
2015-07-01 16:06   ` Bjorn Helgaas
     [not found]     ` <20150701160606.GA13409-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2015-07-01 18:31       ` Bjorn Helgaas
2015-07-06 15:16         ` Will Davis
2015-05-29 17:14 ` [PATCH v3 4/7] DMA-API: Add dma_(un)map_resource() documentation wdavis
2015-05-29 17:14 ` [PATCH v3 5/7] iommu/amd: Implement (un)map_resource wdavis
2015-07-01 16:13   ` Bjorn Helgaas
2015-05-29 17:14 ` [PATCH v3 6/7] iommu/vt-d: implement (un)map_resource wdavis
2015-05-29 17:14 ` [PATCH v3 7/7] x86: add pci-nommu implementation of map_resource wdavis
2015-07-01 16:45   ` Bjorn Helgaas
2015-07-01 18:14     ` Will Davis
2015-07-07 15:34       ` Bjorn Helgaas
     [not found]         ` <20150707153428.GA14784-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2015-07-07 18:59           ` Will Davis
2015-06-15 15:49 ` [PATCH v3 0/7] IOMMU/DMA map_resource support for peer-to-peer William Davis
2015-07-01 15:11   ` William Davis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38cdc550f01d4bc38ebf0201e42d45f2@HQMAIL106.nvidia.com \
    --to=wdavis@nvidia.com \
    --cc=TRipperda@nvidia.com \
    --cc=alex.williamson@redhat.com \
    --cc=bhelgaas@google.com \
    --cc=corbet@lwn.net \
    --cc=dave.jiang@intel.com \
    --cc=davem@davemloft.net \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jglisse@redhat.com \
    --cc=jhubbard@nvidia.com \
    --cc=joro@8bytes.org \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=markh@compro.net \
    --cc=wangyijing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox