]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/amd: Manage iommu_group for ACPI HID devices
authorWan Zongshun <Vincent.Wan@amd.com>
Fri, 1 Apr 2016 13:06:04 +0000 (09:06 -0400)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Apr 2016 11:29:42 +0000 (13:29 +0200)
commitb097d11a0fa3f97be88774d09ee9ed1d8532a7b0
tree1417afde67742fdf8fa8c14d66ea7aea6a8c53b8
parent2bf9a0a12749b2c45964020795859d4a1f228a1d
iommu/amd: Manage iommu_group for ACPI HID devices

This patch creates a new function for finding or creating an IOMMU
group for acpihid(ACPI Hardware ID) device.

The acpihid devices with the same devid will be put into same group and
there will have the same domain id and share the same page table.

Signed-off-by: Wan Zongshun <Vincent.Wan@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c