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

2014-08-04 Thread Will Deacon
On Mon, Aug 04, 2014 at 01:47:44AM +0100, Olav Haugan wrote: > 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.

[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