Re: [RFC 2/2] iommu: arm-smmu: Don't blindly use first SMR to calculate mask

2019-06-12 Thread Bjorn Andersson
On Wed 12 Jun 10:58 PDT 2019, Jeffrey Hugo wrote: > On Wed, Jun 5, 2019 at 3:09 PM Bjorn Andersson > wrote: > > > > 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.

Re: [RFC 2/2] iommu: arm-smmu: Don't blindly use first SMR to calculate mask

2019-06-12 Thread Jeffrey Hugo
On Wed, Jun 5, 2019 at 3:09 PM Bjorn Andersson wrote: > > 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