x86/amd-iommu: Add passthrough mode initialization functions
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 26 Aug 2009 13:26:30 +0000 (15:26 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 14:15:42 +0000 (16:15 +0200)
commit0feae533ddebe02cda6ccce5cac7349b446776a8
treed9c82d7ebec45d96194aeaf27acfbbd2015545ac
parent2650815fb03fe2bf1e6701584087ba669dcf92cd
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>
arch/x86/include/asm/amd_iommu.h
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c