]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/include/asm/iommu.h
Merge branch 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / iommu.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1965aae3
PA
2#ifndef _ASM_X86_IOMMU_H
3#define _ASM_X86_IOMMU_H
f2cf8e08 4
5299709d 5extern const struct dma_map_ops nommu_dma_ops;
f2cf8e08
YL
6extern int force_iommu, no_iommu;
7extern int iommu_detected;
4ed0d3e6 8extern int iommu_pass_through;
e93be88d 9
5860acc1
CH
10int x86_dma_supported(struct device *dev, u64 mask);
11
5b6985ce
FY
12/* 10 seconds */
13#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
14
1965aae3 15#endif /* _ASM_X86_IOMMU_H */