blob: baedab8ac5385f7d40ccbe7f17e583f8589bdb49 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
H. Peter Anvin1965aae2008-10-22 22:26:29 -07002#ifndef _ASM_X86_IOMMU_H
3#define _ASM_X86_IOMMU_H
Yinghai Luf2cf8e02007-07-21 17:11:31 +02004
Yinghai Luf2cf8e02007-07-21 17:11:31 +02005extern int force_iommu, no_iommu;
6extern int iommu_detected;
Fenghua Yu4ed0d3e2009-04-24 17:30:20 -07007extern int iommu_pass_through;
FUJITA Tomonorie93be882008-07-10 08:27:49 +09008
Linus Torvalds5b346532008-10-23 10:22:01 -07009/* 10 seconds */
10#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
11
H. Peter Anvin1965aae2008-10-22 22:26:29 -070012#endif /* _ASM_X86_IOMMU_H */