]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/x86/include/asm/iommu.h
Merge branches 'fixes' and 'misc' into for-linus
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / include / asm / iommu.h
1 #ifndef _ASM_X86_IOMMU_H
2 #define _ASM_X86_IOMMU_H
3
4 extern const struct dma_map_ops nommu_dma_ops;
5 extern int force_iommu, no_iommu;
6 extern int iommu_detected;
7 extern int iommu_pass_through;
8
9 int x86_dma_supported(struct device *dev, u64 mask);
10
11 /* 10 seconds */
12 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
13
14 #endif /* _ASM_X86_IOMMU_H */