iommu/arm-smmu: Improve SMR mask test
authorRobin Murphy <robin.murphy@arm.com>
Fri, 10 Jan 2020 15:25:02 +0000 (15:25 +0000)
committerWill Deacon <will@kernel.org>
Fri, 10 Jan 2020 16:09:58 +0000 (16:09 +0000)
commit79f7a5cb87baa229b321246b3f33af875d8a1ef7
tree5e43817204a47ef626e03d2f1a5bcc4d8c65d9c5
parentdb6903010aa5b7691d8234a179f4cf71a119445a
iommu/arm-smmu: Improve SMR mask test

Make the SMR mask test more robust against SMR0 being live
at probe time, which might happen once we start supporting
firmware reservations for framebuffers and suchlike.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c