diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-09-02 10:00:23 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-09-03 10:03:45 -0400 |
commit | 04bfdd8406099fca2e6b8844748c4d6c5eba8c8d (patch) | |
tree | bab300413ef4c176ddc4050a50365d2e95160845 /arch/x86/include | |
parent | 407d733e30a97daf5ea6f9eb5f9ebbd42a0a9ef2 (diff) |
x86/amd-iommu: Flush domains if address space size was increased
Thist patch introduces the update_domain function which
propagates the larger address space of a protection domain
to the device table and flushes all relevant DTEs and the
domain TLB.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 7fce4ef77bdd..97f3d09d3be5 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h | |||
@@ -235,6 +235,7 @@ struct protection_domain { | |||
235 | int mode; /* paging mode (0-6 levels) */ | 235 | int mode; /* paging mode (0-6 levels) */ |
236 | u64 *pt_root; /* page table root pointer */ | 236 | u64 *pt_root; /* page table root pointer */ |
237 | unsigned long flags; /* flags to find out type of domain */ | 237 | unsigned long flags; /* flags to find out type of domain */ |
238 | bool updated; /* complete domain flush required */ | ||
238 | unsigned dev_cnt; /* devices assigned to this domain */ | 239 | unsigned dev_cnt; /* devices assigned to this domain */ |
239 | void *priv; /* private data */ | 240 | void *priv; /* private data */ |
240 | }; | 241 | }; |