Files
Linux/include/linux
Isaac J. Manjarres 910c4406cc iommu: Add a map_pages() op for IOMMU drivers
Add a callback for IOMMU drivers to provide a path for the
IOMMU framework to call into an IOMMU driver, which can
call into the io-pgtable code, to map a physically contiguous
rnage of pages of the same size.

For IOMMU drivers that do not specify a map_pages() callback,
the existing logic of mapping memory one page block at a time
will be used.

Signed-off-by: Isaac J. Manjarres <[email protected]>
Suggested-by: Will Deacon <[email protected]>
Acked-by: Lu Baolu <[email protected]>
Signed-off-by: Georgi Djakov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
2021-07-26 12:37:07 +02:00
..
…
…
…
…
…
…
…
…
2021-07-06 20:14:42 -04:00
…
…
…
2021-06-03 18:40:15 +02:00
2021-06-03 14:04:18 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-06 19:24:11 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-24 21:13:05 -07:00
…
2021-05-19 00:33:40 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-30 19:45:42 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-25 19:57:01 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-29 10:53:48 -07:00
…
…
…
…
…
…
…
…
…
…
2021-05-17 20:01:35 +02:00
…
…
…
…
…
…
2021-07-15 10:13:49 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-01 10:29:21 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-12 20:11:17 +02:00
…
…
…
…
…
…
…
2021-06-17 13:09:27 -04:00
…
…
…
…
2021-06-15 17:46:57 +02:00
…
…
…
2021-07-01 11:06:02 -07:00
…
…
…
…
2021-06-29 10:53:53 -07:00
…
…
…
…
2021-07-01 11:06:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-07-06 10:37:46 -05:00
…
2021-06-16 17:20:40 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
…
…
…
…
…
2021-06-12 13:08:57 -07:00
…
…
…
…
…
…
…
…
…
2021-06-07 14:11:47 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-30 19:12:19 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-10 16:03:35 -07:00
…
…
…
…
2021-06-24 15:49:32 +02:00
…
…
…
…
…
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
…
…
…
…
2021-05-21 22:13:13 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-05-13 18:29:11 +02:00
2021-05-13 16:57:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…