linux/drivers/iommu
Joerg Roedel 33f28c59e1 iommu/amd: Split device table initialization into irq and dma part
When the IOMMU is enabled very early (as with irq-remapping)
some devices are still in BIOS hand. When dma is blocked
early this can cause lots of IO_PAGE_FAULTs. So delay the
DMA initialization and do it right before the dma_ops are
initialized.
To be secure, block all interrupts by default when irq-remapping is
enabled in the system. They will be reenabled on demand
later. Without blocking interrupts by default devices can
issue arbitrary interrupts by sending special DMA packets to
the CPU that look like MSI messages. This is especially
dangerous when a device is assigned to a KVM guest because
the guest can then DoS the host.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
2012-09-28 17:31:41 +02:00
..
amd_iommu_init.c iommu/amd: Split device table initialization into irq and dma part 2012-09-28 17:31:41 +02:00
amd_iommu_proto.h iommu/amd: Add function to get IOMMUv2 domain for pdev 2011-12-12 15:19:05 +01:00
amd_iommu_types.h iommu/amd: Allocate data structures to keep track of irq remapping tables 2012-09-28 17:30:04 +02:00
amd_iommu_v2.c IOMMU Updates for Linux v3.6-rc1 2012-07-24 16:24:11 -07:00
amd_iommu.c iommu/amd: Add slab-cache for irq remapping tables 2012-09-28 17:30:03 +02:00
dmar.c iommu/dmar: Use pr_format() instead of PREFIX to tidy up pr_*() calls 2012-06-11 10:27:44 +02:00
exynos-iommu.c iommu/exynos: Fix build error 2012-08-03 16:04:45 +02:00
intel_irq_remapping.c irq_remap: disable IRQ remapping if any IOAPIC lacks an IOMMU 2012-08-10 11:28:16 +02:00
intel-iommu.c iommu/intel: Fix ACS path checking 2012-08-06 18:09:51 +02:00
iommu.c Merge branches 'iommu/fixes', 'x86/amd', 'groups', 'arm/tegra' and 'api/domain-attr' into next 2012-07-23 12:17:00 +02:00
iova.c iommu: Fix typo in iommu 2012-07-24 12:58:49 +02:00
irq_remapping.c IOMMU Updates for Linux v3.6-rc1 2012-07-24 16:24:11 -07:00
irq_remapping.h iommu/amd: Add slab-cache for irq remapping tables 2012-09-28 17:30:03 +02:00
Kconfig iommu/amd: Check if IOAPIC information is correct 2012-09-28 17:31:09 +02:00
Makefile iommu: Add DMA window parser, of_get_dma_window() 2012-06-25 13:50:28 +02:00
msm_iommu_dev.c
msm_iommu.c iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute 2012-07-11 12:20:05 +02:00
of_iommu.c iommu: Add DMA window parser, of_get_dma_window() 2012-06-25 13:50:28 +02:00
omap-iommu-debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
omap-iommu.c iommu/omap: Implement DOMAIN_ATTR_GEOMETRY attribute 2012-07-11 12:15:45 +02: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: Implement DOMAIN_ATTR_GEOMETRY attribute 2012-07-11 12:25:57 +02:00
tegra-smmu.c iommu/tegra: smmu: Fix error initial value at domain_init 2012-08-03 16:04:44 +02:00