]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/io-pgtable-arm: Check for v7s-incapable systems
authorRobin Murphy <robin.murphy@arm.com>
Tue, 13 Sep 2016 17:02:02 +0000 (18:02 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:23 +0000 (09:34 +0100)
commite5ac23cc8235b572f1c17004650a0b3341f2451d
tree6cdfaea2509e4c2de4ba2bd883ca33711892388d
parentf6f8ec5ca70362ef43203f546b59b3c56bfd17b6
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: 7d8dc82dd3db ("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