commit | 2bf9a0a12749b2c45964020795859d4a1f228a1d | [log] [tgz] |
---|---|---|
author | Wan Zongshun <Vincent.Wan@amd.com> | Fri Apr 01 09:06:03 2016 -0400 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Apr 07 13:29:42 2016 +0200 |
tree | ac8f9b80acc6e0015ce764379d19d0db73ac758b | |
parent | 7aba6cb9ee9db7849d0bf57891d9c7feb4e89457 [diff] |
iommu/amd: Add iommu support for ACPI HID devices Current IOMMU driver make assumption that the downstream devices are PCI. With the newly added ACPI-HID IVHD device entry support, this is no longer true. This patch is to add dev type check and to distinguish the pci and acpihid device code path. 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>