ANDROID: iommu/arm-smmu: Don't blindly use first SMR to calculate mask
With the SMRs inherited from the bootloader the first SMR might actually be valid and in use. As such probing the SMR mask using the first SMR might break a stream in use. Search for an unused stream and use this to probe the SMR mask. Signed-off-by:Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by:
John Stultz <john.stultz@linaro.org> Bug: 146449535 Link: https://lore.kernel.org/linux-arm-msm/20191226221709.3844244-2-bjorn.andersson@linaro.org/ Change-Id: Iebed70e17cc112fcfc081bd8dade6379f00b5a6e
Loading
Please register or sign in to comment