summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorWan Zongshun <Vincent.Wan@amd.com>2016-04-01 15:06:00 +0200
committerJoerg Roedel <jroedel@suse.de>2016-04-07 13:29:41 +0200
commit2a0cb4e2d423c8aeafa79945279246f6b35ea8cf (patch)
tree329282c4b447c3956380ae0ba82a627cf5e98943 /drivers/iommu/amd_iommu.c
parentiommu/amd: Use the most comprehensive IVHD type that the driver can support (diff)
downloadlinux-2a0cb4e2d423c8aeafa79945279246f6b35ea8cf.tar.xz
linux-2a0cb4e2d423c8aeafa79945279246f6b35ea8cf.zip
iommu/amd: Add new map for storing IVHD dev entry type HID
This patch introduces acpihid_map, which is used to store the new IVHD device entry extracted from BIOS IVRS table. It also provides a utility function add_acpi_hid_device(), to add this types of devices to the map. Signed-off-by: Wan Zongshun <Vincent.Wan@amd.com> Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r--drivers/iommu/amd_iommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 374c129219ef..d8e59a84f7c0 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -72,6 +72,7 @@ static DEFINE_SPINLOCK(dev_data_list_lock);
LIST_HEAD(ioapic_map);
LIST_HEAD(hpet_map);
+LIST_HEAD(acpihid_map);
/*
* Domain for untranslated devices - only allocated