]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Return devid as alias for ACPI HID devices
authorArindam Nath <arindam.nath@amd.com>
Tue, 18 Sep 2018 10:10:58 +0000 (15:40 +0530)
committerJoerg Roedel <jroedel@suse.de>
Wed, 26 Sep 2018 07:41:11 +0000 (09:41 +0200)
commit5ee5a12948a84b15c6be61f27550373e8510386a
treecdf359424d5976aaea14e033b34251812a772da4
parent6c7929409b9d1087a337e7bb2e7c5e470afb3c3c
iommu/amd: Return devid as alias for ACPI HID devices

ACPI HID devices do not actually have an alias for
them in the IVRS. But dev_data->alias is still used
for indexing into the IOMMU device table for devices
being handled by the IOMMU. So for ACPI HID devices,
we simply return the corresponding devid as an alias,
as parsed from IVRS table.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Fixes: 6b21ab901da1 ('iommu/amd: Add iommu support for ACPI HID devices')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c