iommu/io-pgtable-arm: Check for v7s-incapable systems
commit82db33dc5e49fb625262d81125625d07a0d6184e
authorRobin Murphy <robin.murphy@arm.com>
Tue, 13 Sep 2016 17:02:02 +0000 (13 18:02 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:23 +0000 (16 09:34 +0100)
tree6cdfaea2509e4c2de4ba2bd883ca33711892388d
parentfade1ec055dc6b6373e7487906b7899b41d0c46f
iommu/io-pgtable-arm: Check for v7s-incapable systems

On machines with no 32-bit addressable RAM whatsoever, we shouldn't
even touch the v7s format as it's never going to work.

Fixes: e5fc9753b1a8 ("iommu/io-pgtable: Add ARMv7 short descriptor support")
Reported-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
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