Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99635
b: refs/heads/master
c: 92af4e2
h: refs/heads/master
i:
  99633: 6fa30de
  99631: aac5263
v: v3
  • Loading branch information
Ingo Molnar committed Jun 27, 2008
1 parent 409b627 commit 5c81717
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 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: 24d2ba0a8a5816eb8322836271fbcb045d915dfd
refs/heads/master: 92af4e29020ff096178a00605b3662b3b39d4aa9
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,8 +937,10 @@ int __init amd_iommu_init_dma_ops(void)
iommu_detected = 1;
force_iommu = 1;
bad_dma_address = 0;
#ifdef CONFIG_GART_IOMMU
gart_iommu_aperture_disabled = 1;
gart_iommu_aperture = 0;
#endif

dma_ops = &amd_iommu_dma_ops;

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,10 @@ void __init amd_iommu_detect(void)

if (acpi_table_parse("IVRS", early_amd_iommu_detect) == 0) {
iommu_detected = 1;
#ifdef CONFIG_GART_IOMMU
gart_iommu_aperture_disabled = 1;
gart_iommu_aperture = 0;
#endif
}
}

Expand Down
5 changes: 3 additions & 2 deletions trunk/include/asm-x86/gart.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ extern int gart_iommu_aperture_allowed;
extern int gart_iommu_aperture_disabled;
extern int fix_aperture;
#else
#define gart_iommu_aperture 0
#define gart_iommu_aperture_allowed 0
#define gart_iommu_aperture 0
#define gart_iommu_aperture_allowed 0
#define gart_iommu_aperture_disabled 1

static inline void early_gart_iommu_check(void)
{
Expand Down

0 comments on commit 5c81717

Please sign in to comment.