summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/amd_iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-08-26 15:26:30 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2009-09-03 16:15:42 +0200
commit0feae533ddebe02cda6ccce5cac7349b446776a8 (patch)
treed9c82d7ebec45d96194aeaf27acfbbd2015545ac /arch/x86/include/asm/amd_iommu.h
parent2650815fb03fe2bf1e6701584087ba669dcf92cd (diff)
x86/amd-iommu: Add passthrough mode initialization functions
When iommu=pt is passed on kernel command line the devices should run untranslated. This requires the allocation of a special domain for that purpose. This patch implements the allocation and initialization path for iommu=pt. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include/asm/amd_iommu.h')
-rw-r--r--arch/x86/include/asm/amd_iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu.h b/arch/x86/include/asm/amd_iommu.h
index bdf96f119f06..ac95995b7bad 100644
--- a/arch/x86/include/asm/amd_iommu.h
+++ b/arch/x86/include/asm/amd_iommu.h
@@ -25,6 +25,7 @@
#ifdef CONFIG_AMD_IOMMU
extern int amd_iommu_init(void);
extern int amd_iommu_init_dma_ops(void);
+extern int amd_iommu_init_passthrough(void);
extern void amd_iommu_detect(void);
extern irqreturn_t amd_iommu_int_handler(int irq, void *data);
extern void amd_iommu_flush_all_domains(void);