Skip to content
Commit 7455aab1 authored by Neil Turton's avatar Neil Turton Committed by Joerg Roedel
Browse files

amd-iommu: fix the handling of device aliases in the AMD IOMMU driver.



The devid parameter to set_dev_entry_from_acpi is the requester ID
rather than the device ID since it is used to index the IOMMU device
table.  The handling of IVHD_DEV_ALIAS used to pass the device ID.
This patch fixes it to pass the requester ID.

[ Impact: fix setting the wrong req-id in acpi-table parsing ]

Signed-off-by: default avatarNeil Turton <nturton@solarflare.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 421f909c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment