Re: [PATCH v3 7/9] iommu/arm-smmu: Implement of_xlate() for SMMUv3

2016-07-01 Thread Robin Murphy
On 01/07/16 13:35, Will Deacon wrote: > On Tue, Jun 28, 2016 at 04:48:26PM +0100, Robin Murphy wrote: >> Now that we can properly describe the mapping between PCI RIDs and >> stream IDs via "iommu-map", and have it fed it to the driver >> automatically via of_xlate(), rework the SMMUv3 driver to be

Re: [PATCH v3 7/9] iommu/arm-smmu: Implement of_xlate() for SMMUv3

2016-07-01 Thread Will Deacon
On Tue, Jun 28, 2016 at 04:48:26PM +0100, Robin Murphy wrote: > Now that we can properly describe the mapping between PCI RIDs and > stream IDs via "iommu-map", and have it fed it to the driver > automatically via of_xlate(), rework the SMMUv3 driver to benefit from > that, and get rid of the curre

[PATCH v3 7/9] iommu/arm-smmu: Implement of_xlate() for SMMUv3

2016-06-28 Thread Robin Murphy
Now that we can properly describe the mapping between PCI RIDs and stream IDs via "iommu-map", and have it fed it to the driver automatically via of_xlate(), rework the SMMUv3 driver to benefit from that, and get rid of the current misuse of the "iommus" binding. Since having of_xlate wired up mea