summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-09-04 09:54:37 +0100
committerIngo Molnar <mingo@elte.hu>2008-09-05 20:20:25 +0200
commite51af6630848406fc97adbd71443818cdcda297b (patch)
tree6f25c35ad2a264e2ca8ad9bf0a4f8d2ac72d7a0c /include
parentcf169702ba6928cee9d4f4adf3e932b643b8db7a (diff)
downloadop-kernel-dev-e51af6630848406fc97adbd71443818cdcda297b.zip
op-kernel-dev-e51af6630848406fc97adbd71443818cdcda297b.tar.gz
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 5f888cc..621a1af 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);
OpenPOWER on IntegriCloud