RE: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-14 Thread Wei Chen
fradead.org > Subject: Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS > > On Tue, Jun 14, 2016 at 11:11:36AM +0800, Wei Chen wrote: > > On 13 June 2016 at 20:45, Will Deacon <will.dea...@arm.com> wrote: > > > On Mon, Jun 13, 2016 at 05:20:17PM +0

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-14 Thread Will Deacon
On Tue, Jun 14, 2016 at 11:11:36AM +0800, Wei Chen wrote: > On 13 June 2016 at 20:45, Will Deacon wrote: > > On Mon, Jun 13, 2016 at 05:20:17PM +0800, Wei Chen wrote: > >> The PCIe ACS capability will affect the layout of iommu groups. > >> Generally speaking, if the path

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Wei Chen
On 13 June 2016 at 20:45, Will Deacon wrote: > On Mon, Jun 13, 2016 at 05:20:17PM +0800, Wei Chen wrote: >> The PCIe ACS capability will affect the layout of iommu groups. >> Generally speaking, if the path from root port to the PCIe device >> is ACS enabled, the iommu will

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Will Deacon
On Mon, Jun 13, 2016 at 05:20:17PM +0800, Wei Chen wrote: > The PCIe ACS capability will affect the layout of iommu groups. > Generally speaking, if the path from root port to the PCIe device > is ACS enabled, the iommu will create a single iommu group for this > PCIe device. If all PCIe devices

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Auger Eric
Wei, Le 13/06/2016 à 13:18, Robin Murphy a écrit : > On 13/06/16 10:20, Wei Chen wrote: >> The PCIe ACS capability will affect the layout of iommu groups. >> Generally speaking, if the path from root port to the PCIe device >> is ACS enabled, the iommu will create a single iommu group for this >>

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Robin Murphy
On 13/06/16 10:20, Wei Chen wrote: The PCIe ACS capability will affect the layout of iommu groups. Generally speaking, if the path from root port to the PCIe device is ACS enabled, the iommu will create a single iommu group for this PCIe device. If all PCIe devices on the path are ACS enabled

[PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Wei Chen
The PCIe ACS capability will affect the layout of iommu groups. Generally speaking, if the path from root port to the PCIe device is ACS enabled, the iommu will create a single iommu group for this PCIe device. If all PCIe devices on the path are ACS enabled then Linux can determine this path is