Jike Song
f440c8a572
drm/i915/gvt/kvmgt: read/write GPA via KVM API
...
Previously to read/write a GPA, we at first try to pin the GFN it belongs
to, then translate the pinned PFN to a kernel HVA, then read/write it.
This is however not necessary. A GFN should be pinned IFF it would be
accessed by peripheral devices (DMA), not by CPU. This patch changes
the read/write method to KVM API, which will leverage userspace HVA
and copy_{from|to}_usr instead.
Signed-off-by: Jike Song <jike.song@intel.com >
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com >
2016-12-16 16:55:26 +08:00
..
2016-12-12 21:58:13 -08:00
2016-10-24 19:37:48 +02:00
2016-12-12 21:58:13 -08:00
2016-12-06 21:33:19 -05:00
2016-10-06 17:03:41 +02:00
2016-12-13 09:35:09 -08:00
2016-11-29 17:35:14 +02:00
2016-12-12 19:25:04 -08:00
2016-12-08 07:44:56 +01:00
2016-10-17 13:46:09 -07:00
2016-12-12 21:58:13 -08:00
2016-12-12 11:25:40 -08:00
2016-11-22 09:22:59 +01:00
2016-11-30 08:27:08 +01:00
2016-10-15 09:26:12 -07:00
2016-12-12 14:27:49 -08:00
2016-12-06 17:42:37 -08:00
2016-10-11 00:01:20 +02:00
2016-12-13 08:49:12 -08:00
2016-11-18 10:35:58 +01:00
2016-12-04 10:51:42 +01:00
2016-10-26 16:04:29 +09:00
2016-11-15 10:54:36 -05:00
2016-11-25 07:15:23 +01:00
2016-12-13 07:54:57 -08:00
2016-12-16 16:55:26 +08:00
2016-11-23 17:54:58 +01:00
2016-10-20 14:51:10 -04:00
2016-11-01 09:07:13 -06:00
2016-10-24 06:05:13 -07:00
2016-11-29 20:04:21 +01:00
2016-11-18 12:07:56 +01:00
2016-11-13 10:08:32 +01:00
2016-11-22 13:27:16 -05:00
2016-12-01 10:29:41 -08:00
2016-12-12 19:25:04 -08:00
2016-10-27 18:43:43 -07:00
2016-11-29 09:14:50 +00:00
2016-12-10 16:21:55 -05:00
2016-12-02 09:31:50 +01:00
2016-11-01 07:47:54 +01:00
2016-10-07 14:42:05 -07:00
2016-11-14 22:07:38 +01:00
2016-09-27 12:33:47 +02:00
2016-11-05 11:34:07 -07:00
2016-11-26 23:42:21 -05:00
2016-10-07 21:23:40 -07:00
2016-10-17 15:43:05 +02:00
2016-10-20 14:51:10 -04:00
2016-12-13 08:01:19 -08:00
2016-12-12 09:09:54 -08:00
2016-12-08 15:02:52 +01:00
2016-11-05 10:52:29 -07:00
2016-12-12 21:58:13 -08:00
2016-10-31 10:25:22 -06:00
2016-11-13 16:48:30 -05:00
2016-12-12 21:58:13 -08:00
2016-11-16 12:39:57 -07:00
2016-10-07 21:23:40 -07:00
2016-12-12 18:55:07 -08:00
2016-12-02 00:52:34 +01:00
2016-12-12 20:23:11 -08:00
2016-12-12 18:55:06 -08:00
2016-10-17 15:50:07 +01:00
2016-11-17 16:25:40 +01:00
2016-12-13 07:59:10 -08:00
2016-11-11 17:02:01 -08:00
2016-10-06 18:21:15 -07:00
2016-10-11 15:06:32 -07:00
2016-12-12 19:56:15 -08:00
2016-11-29 16:43:24 +01:00
2016-10-19 08:11:43 -07:00
2016-12-12 12:17:31 +00:00
2016-12-09 16:16:56 -08:00
2016-10-22 18:31:42 +09:00
2016-12-13 08:52:45 -08:00
2016-12-12 19:56:15 -08:00
2016-10-30 12:42:58 -04:00
2016-12-10 16:21:55 -05:00
2016-12-12 18:55:08 -08:00
2016-12-13 08:54:27 -08:00
2016-10-29 12:51:55 -06:00
2016-09-27 12:43:34 +02:00
2016-11-17 08:49:04 +02:00
2016-12-12 21:58:13 -08:00
2016-11-18 14:04:29 -05:00
2016-12-13 09:00:28 -08:00
2016-11-18 09:42:59 +01:00
2016-12-12 09:06:38 -08:00
2016-11-26 23:42:21 -05:00
2016-11-01 09:04:04 -06:00
2016-12-06 12:35:53 -07:00
2016-12-12 10:48:02 -08:00
2016-12-13 09:35:09 -08:00
2016-10-19 08:11:43 -07:00
2016-11-18 16:13:41 -07:00
2016-10-28 08:25:18 -04:00
2016-12-12 19:25:04 -08:00
2016-12-09 21:23:22 +01:00
2016-11-16 09:26:34 +01:00