]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/iommu/amd_iommu_init.c
amd-iommu: fix the handling of device aliases in the AMD IOMMU driver.
authorNeil Turton <nturton@solarflare.com>
Thu, 14 May 2009 13:08:11 +0000 (14:08 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 28 May 2009 16:06:38 +0000 (18:06 +0200)
commit7455aab1f95f6464c5af3fbdee28744e73f38564
tree8eb400d9e888b73c933617b24480221f20268a53
parent421f909c803d1c397f6c66b75653f238696c39ee
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: Neil Turton <nturton@solarflare.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c