]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
iommu/amd: Work around broken IVRS tables
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 18 Jan 2012 13:03:11 +0000 (14:03 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 23 Jan 2012 13:05:23 +0000 (14:05 +0100)
commitaf1be04901e27ce669b4ecde1c953d5c939498f5
tree61382cc45e7b9d5a6648e46ed2369720d790b9f7
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
iommu/amd: Work around broken IVRS tables

On some systems the IVRS table does not contain all PCI
devices present in the system. In case a device not present
in the IVRS table is translated by the IOMMU no DMA is
possible from that device by default.
This patch fixes this by removing the DTE entry for every
PCI device present in the system and not covered by IVRS.

Cc: stable@vger.kernel.org # >= 3.0
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c