Re: [PATCH 04/12] iommu/arm-smmu: Convert to iommu_capable() API function

2014-09-09 Thread Joerg Roedel
Hi Will, On Mon, Sep 08, 2014 at 05:51:36PM +0100, Will Deacon wrote: > On Fri, Sep 05, 2014 at 11:52:56AM +0100, Joerg Roedel wrote: > > switch (cap) { > > case IOMMU_CAP_CACHE_COHERENCY: > > - return features & ARM_SMMU_FEAT_COHERENT_WALK; > > + /* > > +*

Re: [PATCH 04/12] iommu/arm-smmu: Convert to iommu_capable() API function

2014-09-08 Thread Will Deacon
Hi Joerg, [adding devicetree for the last paragraph] On Fri, Sep 05, 2014 at 11:52:56AM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > Cc: Will Deacon > Signed-off-by: Joerg Roedel > --- > drivers/iommu/arm-smmu.c | 35 ++- > 1 file changed, 26 insertions

[PATCH 04/12] iommu/arm-smmu: Convert to iommu_capable() API function

2014-09-05 Thread Joerg Roedel
From: Joerg Roedel Cc: Will Deacon Signed-off-by: Joerg Roedel --- drivers/iommu/arm-smmu.c | 35 ++- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index ca18d6d..47c2cb6 100644 --- a/drivers/i