diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-03-26 15:43:06 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-03-31 16:31:57 +0300 |
commit | a10315e5efb86c689142a7e7927125889f3682e6 (patch) | |
tree | 20c6548691cf2279778ffdbb1786a1bff826f536 /lib/dma-debug.c | |
parent | 8539c7c16b970258e14761d8a1f7d10fe798031a (diff) | |
download | linux-a10315e5efb86c689142a7e7927125889f3682e6.tar.xz |
iommu: Only allow iommu_map/unmap for paging domains
Check for the new __IOMMU_DOMAIN_PAGING flag before calling
into the iommu drivers ->map and ->unmap call-backs.
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions