]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72c047836a497729157d9d10debf85c44fbf57b8
tree4950b0193aa74489da7150cf5cacccb1c5125823
parentd0522c98c1ece21a5c5f1afa61a9283dcba091ea
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