Benjamin Herrenschmidt
cd15b04844
powerpc/powernv: Add iommu DMA bypass support for IODA2
...
This patch adds the support for to create a direct iommu "bypass"
window on IODA2 bridges (such as Power8) allowing to bypass iommu
page translation completely for 64-bit DMA capable devices, thus
significantly improving DMA performances.
Additionally, this adds a hook to the struct iommu_table so that
the IOMMU API / VFIO can disable the bypass when external ownership
is requested, since in that case, the device will be used by an
environment such as userspace or a KVM guest which must not be
allowed to bypass translations.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org >
2014-02-11 16:07:37 +11:00
..
2013-10-11 16:50:19 +11:00
2013-08-14 15:33:35 +10:00
2014-01-12 10:37:17 +01:00
2013-12-05 16:04:39 +11:00
2013-08-14 14:57:40 +10:00
2013-12-02 14:13:47 +11:00
2013-08-14 14:56:44 +10:00
2013-10-11 16:48:39 +11:00
2014-01-28 14:45:43 +11:00
2013-12-02 14:06:54 +11:00
2013-05-14 16:00:20 +10:00
2013-12-05 16:04:38 +11:00
2013-08-14 11:38:34 +02:00
2013-10-17 14:49:39 +02:00
2014-02-11 16:07:37 +11:00
2013-04-18 13:03:53 +10:00
2013-06-20 17:06:07 +10:00
2014-01-15 17:18:58 +11:00
2013-11-21 09:19:18 +11:00
2013-10-28 22:08:55 -05:00
2014-01-09 10:14:57 +01:00
2013-12-30 15:19:31 +11:00
2013-05-14 15:10:02 +10:00
2014-01-23 16:36:54 -08:00
2013-11-06 23:33:00 -08:00
2014-01-10 17:19:27 -06:00
2013-08-14 11:38:34 +02:00
2013-12-02 14:14:50 +11:00
2013-06-21 16:01:54 +10:00
2013-11-21 09:19:16 +11:00
2013-10-11 16:48:53 +11:00
2013-07-24 14:18:44 +10:00
2013-06-12 12:37:26 +01:00
2013-12-05 16:08:21 +11:00
2014-02-11 16:07:37 +11:00
2013-09-25 14:15:36 +10:00
2013-08-14 14:57:47 +10:00
2013-10-11 07:39:14 +02:00
2013-12-17 21:26:19 -05:00
2014-01-31 08:37:32 -08:00
2013-10-17 14:45:05 +02:00
2013-10-17 15:18:28 +02:00
2014-01-29 18:29:01 +01:00
2014-01-29 18:29:01 +01:00
2014-01-27 16:00:39 +01:00
2014-01-27 16:01:20 +01:00
2014-01-09 10:14:57 +01:00
2014-01-27 16:00:55 +01:00
2013-03-03 22:55:19 -05:00
2013-12-09 11:40:25 +11:00
2013-10-11 18:23:53 +11:00
2014-01-15 13:58:59 +11:00
2013-06-19 12:58:42 +02:00
2014-01-09 17:52:19 -06:00
2013-10-11 16:48:26 +11:00
2014-01-09 17:52:19 -06:00
2013-07-24 14:18:43 +10:00
2013-06-03 10:22:35 -07:00
2013-08-23 19:01:03 -05:00
2014-01-12 18:59:36 +01:00
2013-07-01 18:38:41 -05:00
2013-08-07 18:38:04 -05:00
2013-06-26 12:10:55 +02:00
2014-01-15 17:21:18 +11:00
2014-01-15 14:22:35 +11:00
2013-04-30 11:05:10 +10:00
2013-10-30 16:00:51 +11:00
2013-04-18 13:03:50 +10:00
2013-08-14 11:50:25 +10:00
2013-08-12 15:26:39 +00:00
2013-08-07 18:38:03 -05:00
2013-08-15 10:00:09 +02:00
2013-12-10 11:25:05 +11:00
2013-12-10 11:25:05 +11:00
2013-04-30 16:00:04 +10:00
2013-06-21 16:01:53 +10:00
2014-01-29 16:58:48 +11:00
2014-01-31 08:37:32 -08:00
2013-11-21 09:19:16 +11:00
2014-01-15 14:22:35 +11:00
2013-10-31 16:19:20 +11:00
2013-06-20 16:55:09 +10:00
2014-01-29 17:02:24 +11:00
2013-11-12 16:52:17 +09:00
2014-01-15 13:46:44 +11:00
2013-10-17 14:49:37 +02:00
2013-05-14 14:36:20 +10:00
2013-12-09 11:40:30 +11:00
2013-04-18 13:03:57 +10:00
2014-01-07 19:29:23 -06:00
2013-08-07 18:38:04 -05:00
2014-01-31 08:37:32 -08:00
2013-08-14 15:33:22 +10:00
2013-11-06 14:13:49 +11:00
2014-02-11 11:24:47 +11:00
2013-11-26 12:12:28 +01:00
2013-10-11 17:26:49 +11:00
2013-06-01 08:29:23 +10:00
2013-11-21 10:33:44 +11:00
2014-01-27 21:11:26 -08:00
2013-11-09 00:16:24 -05:00
2013-10-11 16:48:40 +11:00
2014-01-29 18:29:01 +01:00
2014-01-29 17:13:05 +11:00
2014-01-15 13:59:11 +11:00
2013-11-22 16:56:48 -06:00
2013-06-21 16:01:53 +10:00
2014-01-15 13:59:11 +11:00
2014-01-15 13:58:37 +11:00
2013-05-28 09:41:09 +02:00
2013-08-14 14:58:15 +10:00
2013-12-30 14:02:29 +11:00
2014-01-29 17:13:05 +11:00
2013-11-20 16:31:01 +01:00
2013-07-01 11:10:36 +10:00
2014-01-15 13:46:44 +11:00
2013-10-31 16:19:16 +11:00
2013-04-26 16:09:59 +10:00
2013-10-30 16:02:28 +11:00