x86: Handle HW IOMMU initialization failure gracefully
[cascardo/linux.git] / arch / x86 / include / asm / iommu.h
1 #ifndef _ASM_X86_IOMMU_H
2 #define _ASM_X86_IOMMU_H
3
4 static inline void iommu_shutdown_noop(void) {}
5 extern struct dma_map_ops nommu_dma_ops;
6 extern int force_iommu, no_iommu;
7 extern int iommu_detected;
8 extern int iommu_pass_through;
9
10 /* 10 seconds */
11 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
12
13 #endif /* _ASM_X86_IOMMU_H */