]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd-iommu: Use only per-device dma_ops
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 30 May 2011 13:56:24 +0000 (15:56 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 6 Jun 2011 15:37:27 +0000 (17:37 +0200)
commit7c4982fb2c77c987daebe791a34b134cbf7c9769
treeff9d621106b5dadbd56702e4c5c4af910e14f3e4
parentc0ad029df25d55441aa95b87598fbb88890e9c80
x86/amd-iommu: Use only per-device dma_ops

Unfortunatly there are systems where the AMD IOMMU does not
cover all devices. This breaks with the current driver as it
initializes the global dma_ops variable. This patch limits
the AMD IOMMU to the devices listed in the IVRS table fixing
DMA for devices not covered by the IOMMU.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c