Re: [RFC 2/2] iommu/arm-smmu: support qcom implementation

2017-02-14 Thread Rob Clark
On Tue, Feb 14, 2017 at 1:46 PM, Robin Murphy wrote: > Hi Rob, > > On 10/02/17 18:41, Rob Clark wrote: >> For devices with iommu(s) in secure mode, we cannot touch global >> registers, and we have to live with the context -> sid mapping that >> the secure world has set up for us. >> >> This enable

Re: [RFC 2/2] iommu/arm-smmu: support qcom implementation

2017-02-14 Thread Robin Murphy
Hi Rob, On 10/02/17 18:41, Rob Clark wrote: > For devices with iommu(s) in secure mode, we cannot touch global > registers, and we have to live with the context -> sid mapping that > the secure world has set up for us. > > This enables, for example db410c (apq8016) devices to use the up- > stream

[RFC 2/2] iommu/arm-smmu: support qcom implementation

2017-02-10 Thread Rob Clark
For devices with iommu(s) in secure mode, we cannot touch global registers, and we have to live with the context -> sid mapping that the secure world has set up for us. This enables, for example db410c (apq8016) devices to use the up- stream arm-smmu driver. This is the last major hurdle for havi