]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Add new map for storing IVHD dev entry type HID
authorWan Zongshun <Vincent.Wan@amd.com>
Fri, 1 Apr 2016 13:06:00 +0000 (09:06 -0400)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Apr 2016 11:29:41 +0000 (13:29 +0200)
commit9b20ee5f3c9625862bccb6be18e3d81220bc997b
tree329282c4b447c3956380ae0ba82a627cf5e98943
parent2a9e639263fa8d528027521a10962ab41edf68c4
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>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h