Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331525
b: refs/heads/master
c: f6fec00
h: refs/heads/master
i:
  331523: 72ed3df
v: v3
  • Loading branch information
Joerg Roedel committed Sep 28, 2012
1 parent 1b503bc commit 1d92ed0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33f28c59e18d83fd2aeef258d211be66b9b80eb3
refs/heads/master: f6fec00a9202987f1be2ae0a722518b742a9a799
7 changes: 7 additions & 0 deletions trunk/drivers/iommu/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,13 @@ static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h)
ret = init_iommu_from_acpi(iommu, h);
if (ret)
return ret;

/*
* Make sure IOMMU is not considered to translate itself. The IVRS
* table tells us so, but this is a lie!
*/
amd_iommu_rlookup_table[iommu->devid] = NULL;

init_iommu_devices(iommu);

return 0;
Expand Down

0 comments on commit 1d92ed0

Please sign in to comment.