android_kernel_google_msm/drivers/iommu
Joerg Roedel b9e619e35c iommu/amd: Initialize dma_ops for hotplug and sriov devices
commit ac1534a55d upstream.

When a device is added to the system at runtime the AMD
IOMMU driver initializes the necessary data structures to
handle translation for it. But it forgets to change the
per-device dma_ops to point to the AMD IOMMU driver. So
mapping actually never happens and all DMA accesses end in
an IO_PAGE_FAULT. Fix this.

Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 09:03:51 -07:00
..
amd_iommu.c iommu/amd: Initialize dma_ops for hotplug and sriov devices 2012-07-16 09:03:51 -07:00
amd_iommu_init.c iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode 2012-07-16 09:03:51 -07:00
amd_iommu_proto.h
amd_iommu_types.h iommu/amd: Cache pdev pointer to root-bridge 2012-06-10 00:36:18 +09:00
amd_iommu_v2.c iommu/amd: Don't initialize IOMMUv2 resources when not required 2012-03-15 12:46:40 +01:00
dmar.c iommu: Fix off by one in dmar_get_fault_reason() 2012-06-01 15:18:27 +08:00
intel-iommu.c intel-iommu: Add device info into list before doing context mapping 2012-06-01 15:18:27 +08:00
intr_remapping.c
intr_remapping.h
iommu.c Merge branches 'iommu/page-sizes' and 'iommu/group-id' into next 2012-01-09 13:06:28 +01:00
iova.c
Kconfig ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver 2012-01-26 13:59:02 +01:00
Makefile ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver 2012-01-26 13:59:02 +01:00
msm_iommu.c iommu/msm: Fix error handling in msm_iommu_unmap() 2012-01-30 12:53:14 +01:00
msm_iommu_dev.c
omap-iommu-debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
omap-iommu.c ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp 2012-02-27 14:18:42 +01:00
omap-iovmm.c Merge branches 'iommu/fixes', 'arm/omap' and 'x86/amd' into next 2012-01-09 13:04:05 +01:00
tegra-gart.c iommu/tegra-gart: fix spin_unlock in map failure path 2012-03-13 11:17:42 +01:00
tegra-smmu.c ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver 2012-01-26 13:59:02 +01:00