Jason Wang
1b48dc03e5
vhost: vdpa: report iova range
...
This patch introduces a new ioctl for vhost-vdpa device that can
report the iova range by the device.
For device that implements get_iova_range() method, we fetch it from
the vDPA device. If device doesn't implement get_iova_range() but
depends on platform IOMMU, we will query via DOMAIN_ATTR_GEOMETRY,
otherwise [0, ULLONG_MAX] is assumed.
For safety, this patch also rules out the map request which is not in
the valid range.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20201023090043.14430-3-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-10-23 11:55:28 -04:00
..
2020-08-26 10:50:50 -07:00
2020-09-23 13:50:12 +02:00
2020-07-29 17:05:44 +02:00
2020-09-04 13:19:19 -07:00
2020-09-04 21:42:57 -07:00
2020-09-05 14:22:46 -07:00
2020-09-26 10:33:57 -07:00
2020-08-02 18:26:51 +03:00
2020-10-02 15:27:08 -07:00
2020-07-31 15:11:52 -07:00
2020-08-23 17:36:59 -05:00
2020-08-30 15:53:44 -07:00
2020-09-22 12:54:41 -07:00
2020-09-29 23:55:27 -07:00
2020-08-22 11:38:42 +01:00
2020-09-30 17:37:23 +02:00
2020-09-22 19:32:03 +02:00
2020-08-30 15:53:44 -07:00
2020-09-20 08:57:36 -07:00
2020-09-23 13:35:58 +09:00
2020-09-22 20:18:05 +05:30
2020-09-21 11:17:06 +02:00
2020-09-15 09:42:15 +02:00
2020-08-23 17:36:59 -05:00
2020-09-20 15:18:11 -07:00
2020-07-27 11:49:37 +02:00
2020-10-07 11:47:41 +02:00
2020-10-08 17:15:52 -04:00
2020-07-29 16:58:08 +02:00
2020-09-02 12:55:46 -07:00
2020-08-23 17:36:59 -05:00
2020-09-15 16:20:43 -07:00
2020-08-29 12:37:00 -07:00
2020-08-23 17:36:59 -05:00
2020-10-10 13:15:46 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-26 12:41:53 +02:00
2020-09-22 13:33:19 +01:00
2020-10-05 11:27:14 -07:00
2020-10-03 11:37:23 -07:00
2020-09-04 00:07:12 +03:00
2020-10-01 14:54:17 +02:00
2020-08-30 11:56:54 -07:00
2020-08-23 17:36:59 -05:00
2020-08-05 19:24:27 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-14 19:56:57 -07:00
2020-09-21 19:49:15 -04:00
2020-09-24 09:05:04 -07:00
2020-08-23 17:36:59 -05:00
2020-09-28 12:16:13 +02:00
2020-08-23 17:36:59 -05:00
2020-08-28 10:15:33 -07:00
2020-09-13 08:52:21 -07:00
2020-10-09 08:26:09 +02:00
2020-07-31 14:38:12 +02:00
2020-09-14 20:58:27 +05:30
2020-08-23 17:36:59 -05:00
2020-10-08 12:26:31 -07:00
2020-09-03 18:50:48 -07:00
2020-08-23 17:36:59 -05:00
2020-08-17 14:47:38 -06:00
2020-10-08 18:48:34 -07:00
2020-07-29 17:12:09 +02:00
2020-08-19 16:30:57 -06:00
2020-09-01 19:44:20 +02:00
2020-08-12 12:41:15 -07:00
2020-08-23 17:36:59 -05:00
2020-10-02 14:48:25 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-29 17:21:54 +02:00
2020-10-01 09:51:36 +02:00
2020-10-06 12:00:52 -07:00
2020-10-09 11:38:07 -07:00
2020-09-16 14:16:04 +02:00
2020-08-23 17:36:59 -05:00
2020-08-19 16:23:22 -07:00
2020-08-14 16:00:09 -07:00
2020-09-05 19:52:54 +03:00
2020-09-25 15:16:01 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-26 11:01:18 -07:00
2020-10-05 11:27:14 -07:00
2020-08-14 19:56:57 -07:00
2020-08-23 17:36:59 -05:00
2020-09-03 14:10:19 +05:30
2020-10-09 18:05:12 -07:00
2020-08-23 17:36:59 -05:00
2020-09-13 09:15:20 -07:00
2020-10-02 14:42:13 -07:00
2020-09-04 12:49:03 -07:00
2020-09-15 13:52:14 +02:00
2020-09-16 13:23:33 +02:00
2020-09-25 16:53:02 +02:00
2020-10-21 10:36:54 -04:00
2020-08-23 17:36:59 -05:00
2020-10-23 11:55:28 -04:00
2020-10-06 12:38:28 +10:00
2020-10-21 10:34:12 -04:00
2020-08-23 17:36:59 -05:00
2020-10-01 14:45:26 +02:00