Re: [PATCH 1/7] iommu/arm-smmu: Introduce driver option handling

2013-10-10 Thread Will Deacon
On Wed, Oct 09, 2013 at 11:38:00PM +0100, Andreas Herrmann wrote: Introduce handling of driver options. Options are set based on DT information when probing an SMMU device. The first option introduced is arm,smmu-isolate-devices. (It will be used in the bus notifier block.) Signed-off-by:

Re: [PATCH 4/7] iommu/arm-smmu: Support buggy implementations where all config accesses are secure

2013-10-10 Thread Will Deacon
On Wed, Oct 09, 2013 at 11:38:03PM +0100, Andreas Herrmann wrote: In such a case we have to use secure aliases of some non-secure registers. This handling is switched on by DT property arm,smmu-secure-config-access for an SMMU node. Signed-off-by: Andreas Herrmann

Re: [PATCH 4/7] iommu/arm-smmu: Support buggy implementations where all config accesses are secure

2013-10-10 Thread Andreas Herrmann
On Thu, Oct 10, 2013 at 11:47:27AM -0400, Will Deacon wrote: On Wed, Oct 09, 2013 at 11:38:03PM +0100, Andreas Herrmann wrote: In such a case we have to use secure aliases of some non-secure registers. This handling is switched on by DT property arm,smmu-secure-config-access for an

Re: [PATCH 2/7] iommu/arm-smmu: Introduce bus notifier block

2013-10-10 Thread Will Deacon
On Wed, Oct 09, 2013 at 11:38:01PM +0100, Andreas Herrmann wrote: drivers/iommu/arm-smmu.c | 53 ++ 1 file changed, 53 insertions(+) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 478c8ad..87239e8 100644 ---

Re: [PATCH 2/7] iommu/arm-smmu: Introduce bus notifier block

2013-10-10 Thread Andreas Herrmann
On Thu, Oct 10, 2013 at 12:12:17PM -0400, Will Deacon wrote: On Wed, Oct 09, 2013 at 11:38:01PM +0100, Andreas Herrmann wrote: drivers/iommu/arm-smmu.c | 53 ++ 1 file changed, 53 insertions(+) diff --git a/drivers/iommu/arm-smmu.c

Re: [PATCH 7/7] iommu/arm-smmu: Introduce automatic stream-id-masking

2013-10-10 Thread Andreas Herrmann
On Thu, Oct 10, 2013 at 12:05:39PM -0400, Will Deacon wrote: On Wed, Oct 09, 2013 at 11:38:06PM +0100, Andreas Herrmann wrote: Try to determine a mask that can be used for all StreamIDs of a master device. This allows to use just one SMR group instead of number-of-streamids SMR groups for a

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-10 Thread Sethi Varun-B16395
-Original Message- From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Alex Williamson Sent: Tuesday, October 08, 2013 8:43 AM To: Bhushan Bharat-R65777 Cc: ag...@suse.de; Wood Scott-B07421; linux-...@vger.kernel.org;