Robin Murphy 21174240e4 iommu/arm-smmu: Handle stream IDs more dynamically
Rather than assuming fixed worst-case values for stream IDs and SMR
masks, keep track of whatever implemented bits the hardware actually
reports. This also obviates the slightly questionable validation of SMR
fields in isolation - rather than aborting the whole SMMU probe for a
hardware configuration which is still architecturally valid, we can
simply refuse masters later if they try to claim an unrepresentable ID
or mask (which almost certainly implies a DT error anyway).

Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-09-16 09:34:18 +01:00
..
2015-06-23 18:27:19 -07:00
2016-08-01 07:25:10 -04:00
2016-08-01 07:25:10 -04:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2016-09-16 09:34:15 +01:00
2016-06-21 13:56:00 +02:00
2016-09-16 09:34:15 +01:00
2015-11-26 14:41:01 +01:00