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-11-21 10:33:36 +11:00
2014-01-15 13:58:29 +11:00
2013-10-11 16:53:26 +11:00
2013-12-30 15:19:31 +11:00
2013-10-11 18:23:53 +11:00
2013-08-14 15:33:22 +10:00
2013-12-30 15:19:31 +11:00
2012-03-28 18:30:02 +01:00
2014-01-15 13:59:03 +11:00