AMD IOMMU: add protection domain flags
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 2 Dec 2008 16:46:25 +0000 (17:46 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:11:54 +0000 (14:11 +0100)
commit9fdb19d64c0247f23343b51fc85f438f8e7a2f3c
tree4950b0193aa74489da7150cf5cacccb1c5125823
parent43f4960983a309568a6c4375f081e63fb2ff24a3
AMD IOMMU: add protection domain flags

Imapct: add a new struct member to 'struct protection_domain'

When using protection domains for dma_ops and KVM its better to know for
which subsystem it was allocated. Add a flags member to struct
protection domain for that purpose.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c