aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu_init.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-06-26 15:27:40 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-27 04:12:08 -0400
commit928abd2545fe367ea3ff3cb8a5076e1d6d2a9574 (patch)
tree92b2d1728adf06b94a90aaee117de828ba7b5bd4 /arch/x86/kernel/amd_iommu_init.c
parentf6e2e6b6fc465bc3cc4eae8d53fcf573ca1cfa14 (diff)
x86, AMD IOMMU: add data structures to manage the IOMMUs in the system
This patch adds the data structures which will contain the information read from the ACPI table. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: Sebastian.Biemueller@amd.com Cc: robert.richter@amd.com Cc: joro@8bytes.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r--arch/x86/kernel/amd_iommu_init.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
index 6fce5ab683d8..0ad8cf9e7ba2 100644
--- a/arch/x86/kernel/amd_iommu_init.c
+++ b/arch/x86/kernel/amd_iommu_init.c
@@ -99,3 +99,20 @@ struct ivmd_header {
99 u64 range_length; 99 u64 range_length;
100} __attribute__((packed)); 100} __attribute__((packed));
101 101
102static int __initdata amd_iommu_disable;
103
104u16 amd_iommu_last_bdf;
105struct list_head amd_iommu_unity_map;
106unsigned amd_iommu_aperture_order = 26;
107int amd_iommu_isolate;
108
109struct list_head amd_iommu_list;
110struct dev_table_entry *amd_iommu_dev_table;
111u16 *amd_iommu_alias_table;
112struct amd_iommu **amd_iommu_rlookup_table;
113struct protection_domain **amd_iommu_pd_table;
114unsigned long *amd_iommu_pd_alloc_bitmap;
115
116static u32 dev_table_size;
117static u32 alias_table_size;
118static u32 rlookup_table_size;