]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15e31b369442d53489c41c9afba1db5f246592f7
tree94dae7345da8d1f80a90ff34ca726aa0ce1f2512
parentffc57e3375a565c28cf32614bc697256f14f4a61
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