Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-21 Thread Don Dutile
On 05/21/2012 10:59 AM, Alex Williamson wrote: On Mon, 2012-05-21 at 09:31 -0400, Don Dutile wrote: On 05/18/2012 10:47 PM, Alex Williamson wrote: On Fri, 2012-05-18 at 19:00 -0400, Don Dutile wrote: On 05/18/2012 06:02 PM, Alex Williamson wrote: On Wed, 2012-05-16 at 09:29 -0400, Don Dutile

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-21 Thread Alex Williamson
On Mon, 2012-05-21 at 09:31 -0400, Don Dutile wrote: > On 05/18/2012 10:47 PM, Alex Williamson wrote: > > On Fri, 2012-05-18 at 19:00 -0400, Don Dutile wrote: > >> On 05/18/2012 06:02 PM, Alex Williamson wrote: > >>> On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: > On 05/15/2012 05:09 PM

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-21 Thread Don Dutile
On 05/18/2012 10:47 PM, Alex Williamson wrote: On Fri, 2012-05-18 at 19:00 -0400, Don Dutile wrote: On 05/18/2012 06:02 PM, Alex Williamson wrote: On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: On 05/15/2012 05:09 PM, Alex Williamson wrote: On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helga

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-18 Thread Alex Williamson
On Fri, 2012-05-18 at 19:00 -0400, Don Dutile wrote: > On 05/18/2012 06:02 PM, Alex Williamson wrote: > > On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: > >> On 05/15/2012 05:09 PM, Alex Williamson wrote: > >>> On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: > On Mon, May 14, 201

Re: RESEND3: Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-18 Thread Don Dutile
On 05/18/2012 06:02 PM, Alex Williamson wrote: On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: On 05/15/2012 05:09 PM, Alex Williamson wrote: On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: On Mon, May 14, 2012 at 4:49 PM, Alex Williamson wrote: On Mon, 2012-05-14 at 16:02 -06

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-16 Thread Alex Williamson
On Wed, 2012-05-16 at 10:21 -0600, Alex Williamson wrote: > On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: > > On 05/15/2012 05:09 PM, Alex Williamson wrote: > > > On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: > > >> pci_acs_enabled(02:00.0) = 00:02.0 (acs_dev = 00:02.0, 02:00.0 has

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-16 Thread Alex Williamson
On Wed, 2012-05-16 at 09:29 -0400, Don Dutile wrote: > On 05/15/2012 05:09 PM, Alex Williamson wrote: > > On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: > >> On Mon, May 14, 2012 at 4:49 PM, Alex Williamson > >> wrote: > >>> On Mon, 2012-05-14 at 16:02 -0600, Bjorn Helgaas wrote: >

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-16 Thread Don Dutile
On 05/15/2012 05:09 PM, Alex Williamson wrote: On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: On Mon, May 14, 2012 at 4:49 PM, Alex Williamson wrote: On Mon, 2012-05-14 at 16:02 -0600, Bjorn Helgaas wrote: On Fri, May 11, 2012 at 4:56 PM, Alex Williamson wrote: In a PCIe environm

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-15 Thread Alex Williamson
On Tue, 2012-05-15 at 13:56 -0600, Bjorn Helgaas wrote: > On Mon, May 14, 2012 at 4:49 PM, Alex Williamson > wrote: > > On Mon, 2012-05-14 at 16:02 -0600, Bjorn Helgaas wrote: > >> On Fri, May 11, 2012 at 4:56 PM, Alex Williamson > >> wrote: > >> > In a PCIe environment, transactions aren't alway

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-15 Thread Bjorn Helgaas
> I tried to work through some examples to develop some intuition about this: Sorry, gmail inserted line breaks that ruined this picture. Here's a URL for it: http://www.asciiflow.com/#3736558963405980039 ___ iommu mailing list iommu@lists.linux-founda

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-15 Thread Bjorn Helgaas
On Mon, May 14, 2012 at 4:49 PM, Alex Williamson wrote: > On Mon, 2012-05-14 at 16:02 -0600, Bjorn Helgaas wrote: >> On Fri, May 11, 2012 at 4:56 PM, Alex Williamson >> wrote: >> > In a PCIe environment, transactions aren't always required to >> > reach the root bus before being re-routed.  Peer-

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-14 Thread Alex Williamson
On Mon, 2012-05-14 at 16:02 -0600, Bjorn Helgaas wrote: > On Fri, May 11, 2012 at 4:56 PM, Alex Williamson > wrote: > > In a PCIe environment, transactions aren't always required to > > reach the root bus before being re-routed. Peer-to-peer DMA > > may actually not be seen by the IOMMU in these

Re: [PATCH 05/13] pci: New pci_acs_enabled()

2012-05-14 Thread Bjorn Helgaas
On Fri, May 11, 2012 at 4:56 PM, Alex Williamson wrote: > In a PCIe environment, transactions aren't always required to > reach the root bus before being re-routed.  Peer-to-peer DMA > may actually not be seen by the IOMMU in these cases.  For > IOMMU groups, we want to provide IOMMU drivers a way

[PATCH 05/13] pci: New pci_acs_enabled()

2012-05-11 Thread Alex Williamson
In a PCIe environment, transactions aren't always required to reach the root bus before being re-routed. Peer-to-peer DMA may actually not be seen by the IOMMU in these cases. For IOMMU groups, we want to provide IOMMU drivers a way to detect these restrictions. Provided with a PCI device, pci_a