Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199756
b: refs/heads/master
c: d7f0776
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Jun 1, 2010
1 parent 382cc39 commit b148b8b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e82752d8b5a7e0a5e4d607fd8713549e2a4e2741
refs/heads/master: d7f0776975334070a93370ae048fda0c31a91c38
4 changes: 0 additions & 4 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2330,10 +2330,6 @@ int __init amd_iommu_init_dma_ops(void)

iommu_detected = 1;
swiotlb = 0;
#ifdef CONFIG_GART_IOMMU
gart_iommu_aperture_disabled = 1;
gart_iommu_aperture = 0;
#endif

/* Make the driver finally visible to the drivers */
dma_ops = &amd_iommu_dma_ops;
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/x86/kernel/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,15 @@ static int __init amd_iommu_init(void)

free_unity_maps();

#ifdef CONFIG_GART_IOMMU
/*
* We failed to initialize the AMD IOMMU - try fallback to GART
* if possible.
*/
gart_iommu_init();

#endif

goto out;
}

Expand Down

0 comments on commit b148b8b

Please sign in to comment.