]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/x86/include/asm/iommu.h
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / include / asm / iommu.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_IOMMU_H
3 #define _ASM_X86_IOMMU_H
4
5 extern const 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 int x86_dma_supported(struct device *dev, u64 mask);
11
12 /* 10 seconds */
13 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
14
15 #endif /* _ASM_X86_IOMMU_H */