iommu/io-pgtable-arm-v7s: Check table PTEs more precisely
authorRobin Murphy <robin.murphy@arm.com>
Thu, 22 Jun 2017 15:53:50 +0000 (16:53 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 23 Jun 2017 16:57:58 +0000 (17:57 +0100)
commit9db829d2818501f07583542c05d01513b9161e14
treec5e18068241aabedc88d216f2526daf5b148d4de
parent5c2d0218290afa3c335f38583bf4f8e8adad4c76
iommu/io-pgtable-arm-v7s: Check table PTEs more precisely

Whilst we don't support the PXN bit at all, so should never encounter a
level 1 section or supersection PTE with it set, it would still be wise
to check both table type bits to resolve any theoretical ambiguity.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/io-pgtable-arm-v7s.c