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
..
2014-01-15 13:46:44 +11:00
2014-01-15 13:46:44 +11:00
2013-10-30 16:01:23 +11:00
2014-01-31 08:37:32 -08:00
2013-08-27 16:01:23 +10:00
2014-01-29 17:02:26 +11:00
2012-07-10 19:18:35 +10:00
2014-01-07 19:40:28 -06:00
2013-12-05 16:04:38 +11:00
2013-12-05 16:04:40 +11:00
2013-12-13 15:48:39 +11:00
2014-01-15 13:46:44 +11:00
2013-04-18 15:59:55 +10:00
2013-12-30 14:17:19 +11:00
2012-09-12 14:57:09 -05:00
2014-02-11 16:07:37 +11:00
2013-07-24 14:18:46 +10:00
2013-06-20 17:05:35 +10:00
2014-02-11 11:24:46 +11:00
2013-11-21 10:33:36 +11:00
2014-01-15 13:46:46 +11:00
2013-07-24 14:18:49 +10:00
2014-01-15 13:58:29 +11:00
2013-06-01 08:29:27 +10:00
2014-01-15 13:59:11 +11:00
2013-03-13 14:19:36 -05:00
2013-10-09 20:04:11 -05:00
2014-01-10 17:34:04 -06:00
2013-12-30 14:16:30 +11:00
2013-04-29 15:54:30 -07:00
2014-01-15 13:59:11 +11:00
2014-01-09 17:52:16 -06:00
2013-10-11 16:53:26 +11:00
2013-10-28 21:11:21 -05:00
2012-03-09 10:55:08 +11:00
2013-08-14 14:59:50 +10:00
2013-08-14 14:59:50 +10:00
2014-01-15 13:46:44 +11:00
2013-05-02 10:31:01 +10:00
2014-01-09 17:52:18 -06:00
2014-01-15 13:46:44 +11:00
2013-09-26 15:49:42 -07:00
2012-07-11 14:18:22 +10:00
2013-03-13 14:19:36 -05:00
2012-07-11 14:18:22 +10:00
2012-07-11 14:18:22 +10:00
2013-12-05 16:04:36 +11:00
2013-07-01 11:10:35 +10:00
2013-08-14 14:57:50 +10:00
2013-08-14 14:58:08 +10:00
2014-01-15 13:46:44 +11:00
2014-02-11 16:07:37 +11:00
2014-02-11 11:24:52 +11:00
2013-01-03 15:57:04 -08:00
2014-01-15 13:46:44 +11:00
2013-10-14 15:46:39 +02:00
2012-05-30 11:43:11 +02:00
2014-01-09 10:14:56 +01:00
2013-10-11 16:48:59 +11:00
2014-02-11 11:24:52 +11:00
2014-02-11 11:24:52 +11:00
2014-01-12 18:53:04 +01:00
2013-12-30 14:51:09 +11:00
2014-01-15 13:58:59 +11:00
2013-12-02 14:13:47 +11:00
2013-12-30 15:19:31 +11:00
2012-09-30 23:35:51 -04:00
2013-10-30 16:00:31 +11:00
2013-10-30 16:00:31 +11:00
2013-10-30 16:00:31 +11:00
2013-11-25 11:50:57 +11:00
2013-01-10 17:01:58 +11:00
2014-01-09 17:52:19 -06:00
2013-05-06 13:40:40 +10:00
2013-08-14 11:50:25 +10:00
2013-08-14 15:33:31 +10:00
2013-12-21 10:06:10 -07:00
2013-12-21 10:06:10 -07:00
2013-07-24 14:18:48 +10:00
2013-02-03 18:16:10 -05:00
2013-10-11 18:23:53 +11:00
2013-06-29 12:57:50 +04:00
2014-01-29 16:58:47 +11:00
2013-08-14 14:57:40 +10:00
2014-01-13 09:49:17 +11:00
2013-08-14 15:33:26 +10:00
2014-01-09 17:52:17 -06:00
2013-10-18 18:44:49 -05:00
2013-12-13 15:48:33 +11:00
2013-07-01 11:10:34 +10:00
2014-02-11 11:24:48 +11:00
2013-05-14 14:36:26 +10:00
2013-10-11 16:50:22 +11:00
2013-08-14 15:33:22 +10:00
2013-04-26 16:08:26 +10:00
2014-02-11 11:24:52 +11:00
2014-01-27 21:11:26 -08:00
2013-12-13 15:48:34 +11:00
2014-01-29 16:58:49 +11:00
2014-01-15 13:59:11 +11:00
2014-01-15 13:59:11 +11:00
2013-06-01 08:29:23 +10:00
2014-01-15 13:46:44 +11:00
2013-12-30 15:19:31 +11:00
2012-03-28 18:30:02 +01:00
2013-10-31 12:37:29 +11:00
2014-01-07 19:06:03 -06:00
2012-03-28 18:30:02 +01:00
2013-05-09 13:46:38 -04:00
2014-01-15 13:46:44 +11:00
2014-01-29 17:02:24 +11:00
2014-01-15 13:59:03 +11:00
2013-10-30 16:02:14 +11:00
2014-01-15 13:59:14 +11:00
2013-08-16 10:59:27 +10:00
2013-06-20 16:55:12 +10:00
2013-11-20 16:31:01 +01:00
2013-10-30 16:00:31 +11:00
2013-10-11 17:26:49 +11:00
2014-01-15 13:59:11 +11:00
2013-12-30 14:17:19 +11:00
2013-07-24 14:18:43 +10:00