Re: [PATCH v2] iommu: exynos: Fix trivial typos

2014-08-03 Thread Randy Dunlap
On 08/03/14 21:36, Sachin Kamat wrote: > Fixed trivial typos and grammar to improve readability. > Changed w/a to workaround. > > Signed-off-by: Sachin Kamat > --- > drivers/iommu/exynos-iommu.c | 51 > ++-- > 1 file changed, 26 insertions(+), 25 deletion

Re: [PATCH 1/1] iommu: exynos: Fix trivial typos

2014-08-03 Thread Sachin Kamat
On Sat, Aug 2, 2014 at 12:43 PM, Randy Dunlap wrote: > On 08/01/14 23:03, Sachin Kamat wrote: >> Fixed trivial typos and grammar to improve readability. >> >> Signed-off-by: Sachin Kamat >> --- >> drivers/iommu/exynos-iommu.c | 22 +++--- >> 1 file changed, 11 insertions(+), 11 d

[PATCH v1 1/2] iommu/arm-smmu: Fix programming of SMMU_CBn_TCR for stage 1

2014-08-03 Thread Olav Haugan
Stage-1 context bank does not have SMMU_CBn_TCR[SL0] field. SL0 field is only applicable to stage-2 context banks. Signed-off-by: Olav Haugan --- drivers/iommu/arm-smmu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c

[PATCH v1 2/2] iommu/arm-smmu: Correctly program S2CR and SMR registers

2014-08-03 Thread Olav Haugan
When stream matching is supported by the hardware the S2CR is indexed by the stream matching register group index and not the stream id. Fix the programming of the S2CR register to ensure it is programmed correctly in both cases. In addition, the SMR registers does not exist when stream matching i

[PATCH v1 0/2] arm-smmu fixes for CBn_TCR and S2CR/SMR programming

2014-08-03 Thread Olav Haugan
Here are a couple fixes for the arm smmu driver. The first one deals with ensuring that we program CBn_TCR correctly when we are programming a stage-1 context bank. The second patch ensures that the S2CR and SMR registers are programmed correctly for either stream id matching or stream id indexing.