summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel2008-09-08 14:48:04 +0200
committerIngo Molnar2008-09-19 12:59:12 +0200
commitee893c24edb8ebab9a3fb66566855572579ad616 (patch)
tree72f51bc0e9686edc86c26322cb3656826d520588 /include/asm-x86/amd_iommu_types.h
parentAMD IOMMU: add event buffer allocation (diff)
downloadkernel-qcow2-linux-ee893c24edb8ebab9a3fb66566855572579ad616.tar.gz
kernel-qcow2-linux-ee893c24edb8ebab9a3fb66566855572579ad616.tar.xz
kernel-qcow2-linux-ee893c24edb8ebab9a3fb66566855572579ad616.zip
AMD IOMMU: save pci segment from ACPI tables
This patch adds the pci_seg field to the amd_iommu structure and fills it with the corresponding value from the ACPI table. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/amd_iommu_types.h')
-rw-r--r--include/asm-x86/amd_iommu_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/amd_iommu_types.h b/include/asm-x86/amd_iommu_types.h
index 8b8cd0c60b3c..20814b85bbc3 100644
--- a/include/asm-x86/amd_iommu_types.h
+++ b/include/asm-x86/amd_iommu_types.h
@@ -232,6 +232,9 @@ struct amd_iommu {
/* capabilities of that IOMMU read from ACPI */
u32 cap;
+ /* pci domain of this IOMMU */
+ u16 pci_seg;
+
/* first device this IOMMU handles. read from PCI */
u16 first_device;
/* last device this IOMMU handles. read from PCI */