summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Woodhouse2008-09-04 10:54:37 +0200
committerIngo Molnar2008-09-05 20:20:25 +0200
commite51af6630848406fc97adbd71443818cdcda297b (patch)
tree6f25c35ad2a264e2ca8ad9bf0a4f8d2ac72d7a0c /include
parentx86, gart: add detection of AMD family 0x11 northbridges (diff)
downloadkernel-qcow2-linux-e51af6630848406fc97adbd71443818cdcda297b.tar.gz
kernel-qcow2-linux-e51af6630848406fc97adbd71443818cdcda297b.tar.xz
kernel-qcow2-linux-e51af6630848406fc97adbd71443818cdcda297b.zip
x86: blacklist DMAR on Intel G31/G33 chipsets
Some BIOSes (the Intel DG33BU, for example) wrongly claim to have DMAR when they don't. Avoid the resulting crashes when it doesn't work as expected. I'd still be grateful if someone could test it on a DG33BU with the old BIOS though, since I've killed mine. I tested the DMI version, but not this one. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h
index 5f888cc5be49..621a1af94c4c 100644
--- a/include/asm-x86/iommu.h
+++ b/include/asm-x86/iommu.h
@@ -6,6 +6,7 @@ extern void no_iommu_init(void);
extern struct dma_mapping_ops nommu_dma_ops;
extern int force_iommu, no_iommu;
extern int iommu_detected;
+extern int dmar_disabled;
extern unsigned long iommu_num_pages(unsigned long addr, unsigned long len);