iommu/vt-d: Implement map/unmap_pages() iommu_ops callback
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 20 Jul 2021 02:06:14 +0000 (10:06 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 Jul 2021 11:56:25 +0000 (13:56 +0200)
commit3f34f125977685e591def32984c77e23a86075b0
tree94dae7345da8d1f80a90ff34ca726aa0ce1f2512
parenta886d5a7e67bc403b8e51ab50c10324bcdbb686f
iommu/vt-d: Implement map/unmap_pages() iommu_ops callback

Implement the map_pages() and unmap_pages() callback for the Intel IOMMU
driver to allow calls from iommu core to map and unmap multiple pages of
the same size in one call. With map/unmap_pages() implemented, the prior
map/unmap callbacks are deprecated.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210720020615.4144323-3-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c