Commit d8935f55 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by John Stultz
Browse files

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: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarJohn 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
parent cba941a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment