diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2023-11-20 15:51:56 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-11-27 11:00:42 +0100 |
commit | 00271ca5cbcd36d01f3c58a05378304ba9dd6a2a (patch) | |
tree | 3b1998a4128c72d1a2e7d1a30489d1bd76a0323a /drivers/powercap/dtpm_cpu.c | |
parent | Linux 6.7-rc3 (diff) | |
download | linux-00271ca5cbcd36d01f3c58a05378304ba9dd6a2a.tar.xz linux-00271ca5cbcd36d01f3c58a05378304ba9dd6a2a.zip |
iommu/virtio: Make use of ops->iotlb_sync_map
Pull out the sync operation from viommu_map_pages() by implementing
ops->iotlb_sync_map. This allows the common IOMMU code to map multiple
elements of an sg with a single sync (see iommu_map_sg()).
Link: https://lore.kernel.org/lkml/20230726111433.1105665-1-schnelle@linux.ibm.com/
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20231120-viommu-sync-map-v3-1-50a57ecf78b5@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/powercap/dtpm_cpu.c')
0 files changed, 0 insertions, 0 deletions