iommu/io-pgtable-arm-v7s: Use ias/oas to check the valid iova/pa
authorYong Wu <yong.wu@mediatek.com>
Sat, 24 Aug 2019 03:01:52 +0000 (11:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 30 Aug 2019 13:57:26 +0000 (15:57 +0200)
commit7f315c9da9f5e5f9ba720ca4b5e04e5ee91833f9
treed9d4c468ce0c30f0116abaa7ae71f8ff10d3454c
parent5950b9541b509037aeb9e7b95f88a692bf3f46a3
iommu/io-pgtable-arm-v7s: Use ias/oas to check the valid iova/pa

Use ias/oas to check the valid iova/pa. Synchronize this checking with
io-pgtable-arm.c.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/io-pgtable-arm-v7s.c