diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2020-06-23 07:13:45 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-06-23 10:08:32 +0200 |
commit | 48f0bcfb7aad2c6eb4c1e66476b58475aa14393e (patch) | |
tree | 1999a430c4e8da99dc4e2e0562cbc87cc5ed9062 /include | |
parent | 04c00956ee3cd138fd38560a91452a804a8c5550 (diff) |
iommu/vt-d: Fix misuse of iommu_domain_identity_map()
The iommu_domain_identity_map() helper takes start/end PFN as arguments.
Fix a misuse case where the start and end addresses are passed.
Fixes: e70b081c6f376 ("iommu/vt-d: Remove IOVA handling code from the non-dma_ops path")
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Cc: Tom Murphy <murphyt7@tcd.ie>
Link: https://lore.kernel.org/r/20200622231345.29722-7-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions