diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2022-10-25 14:56:57 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-11-03 17:40:54 +0300 |
commit | f3cc4f874efa8d5b10ebd9dc8702cd25b9e536a3 (patch) | |
tree | 746d5d3b60dda4f90b00fd19134f733a12b99131 /.rustfmt.toml | |
parent | b4d8ae0e907b096583491101ddfc5143b7c08918 (diff) | |
download | linux-f3cc4f874efa8d5b10ebd9dc8702cd25b9e536a3.tar.xz |
iommu/s390: Implement map_pages()/unmap_pages() instead of map()/unmap()
While s390-iommu currently implements the map_page()/unmap_page()
operations which only map/unmap a single page at a time the internal
s390_iommu_update_trans() API already supports mapping/unmapping a range
of pages at once. Take advantage of this by implementing the
map_pages()/unmap_pages() operations instead thus allowing users of the
IOMMU drivers to map multiple pages in a single call followed by
a single I/O TLB flush if needed.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20221025115657.1666860-7-schnelle@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions