Re: [PATCH 1/4] iommu/arm-smmu: Handle size mismatches better

2017-03-30 Thread Will Deacon
Hi Robin, On Tue, Mar 07, 2017 at 06:09:04PM +, Robin Murphy wrote: > We currently warn if the firmware-described region size differs from the > SMMU address space size reported by the hardware, but continue to use > the former to calculate where our context bank base should be, > effectively

[PATCH 1/4] iommu/arm-smmu: Handle size mismatches better

2017-03-07 Thread Robin Murphy
We currently warn if the firmware-described region size differs from the SMMU address space size reported by the hardware, but continue to use the former to calculate where our context bank base should be, effectively guaranteeing that things will not work correctly. Since over-mapping is effectiv