Mark Kettenis dd6b68ed4f 
	
	
	iommu: Add DMA mapping operations ... 
			In order to support IOMMUs in non-bypass mode we need device ops
to map and unmap DMA memory.  The map operation enters a mapping
for a region specified by CPU address and size into the translation
table of the IOMMU and returns a DMA address suitable for
programming the device to do DMA.  The unmap operation removes
this mapping from the translation table of the IOMMU.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org > 
		
	 
		2023-01-27 14:47:57 -05:00 
	 
	
	
	
		 
	
	
		
	
		
	
		
			
			
			
			
			
			2023-01-12 14:06:16 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-27 12:51:27 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-27 14:47:57 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-16 18:01:11 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-12 16:48:33 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-26 21:07:45 +05:30 
		 
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-28 13:06:39 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-10-30 20:07:16 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-09-29 16:07:57 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-23 18:11:41 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:07:03 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-09-24 10:47:01 -04:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-23 01:18:31 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-11-07 16:24:30 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-31 11:04:00 -04:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-23 18:11:41 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-23 18:11:41 -05:00 
		 
	
		
			
			
			
			
			
			2022-09-29 16:07:57 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-23 18:11:41 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-31 11:03:18 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-23 18:11:40 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-13 09:09:07 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 14:14:11 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-20 08:58:25 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-12 14:06:16 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-11-02 08:42:03 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-12-08 14:30:39 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-18 13:40:40 -04:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:07 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-29 10:51:50 +01:00 
		 
	
		
			
			
			
			
			
			2022-11-22 12:00:45 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-06 22:54:58 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-06 22:27:30 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-11-22 11:54:30 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-20 16:06:48 +01:00 
		 
	
		
			
			
			
			
			
			2022-10-06 22:54:58 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:09:42 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:07:03 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:47 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-04 13:17:42 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-31 14:47:32 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-16 18:26:50 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-11 15:02:24 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-20 16:38:52 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-29 07:36:33 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-18 11:49:13 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-20 12:27:06 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-12 14:06:15 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-18 09:32:53 +08:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-20 12:27:06 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-11-10 10:08:55 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:49 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-31 14:47:32 -04:00 
		 
	
		
			
			
			
			
			
			2022-10-31 14:47:32 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-10-10 18:08:18 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-23 10:15:12 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 18:26:50 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:07 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-27 14:47:57 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-09 14:10:28 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-09 14:10:28 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-30 20:07:17 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-29 16:07:57 -04:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-29 16:07:58 -04:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 18:26:50 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-11-10 09:45:54 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-10 10:08:55 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-09 10:42:26 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-05 12:47:16 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-05 12:47:16 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-23 18:11:40 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:49 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-20 12:27:06 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-11-07 16:24:30 -07:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-23 18:11:40 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-29 07:36:33 -06:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-07 16:04:17 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-12-23 13:01:13 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-12 14:03:12 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 18:01:10 +08:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-09 14:10:28 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-11-16 08:34:06 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-31 11:02:44 -04:00 
		 
	
		
			
			
			
			
			
			2022-10-31 11:02:44 -04:00 
		 
	
		
			
			
			
			
			
			2022-10-24 18:01:23 +09:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-12-08 15:15:22 +08:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-23 13:01:13 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-13 12:08:40 -04:00 
		 
	
		
			
			
			
			
			
			2022-10-16 12:23:22 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-24 10:47:01 -04:00 
		 
	
		
			
			
			
			
			
			2022-09-24 10:47:01 -04:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-13 16:01:43 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-22 15:02:07 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-03 16:53:58 +03:00 
		 
	
		
			
			
			
			
			
			2022-09-03 16:59:05 +03:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-03 16:59:05 +03:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-12-07 16:04:16 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-23 10:07:03 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-12-07 16:04:17 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-07 16:04:17 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:49 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:49 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-10-31 11:04:00 -04:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 18:26:50 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-16 18:26:50 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-01-23 18:11:39 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-09-18 10:26:33 +02:00 
		 
	
		
			
			
			
			
			
			2022-09-18 10:26:49 +02:00