]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd-iommu: Use dev->arch->iommu to store iommu related information
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 23 Nov 2009 14:26:46 +0000 (15:26 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:32 +0000 (14:20 +0100)
commit266b4048c9ba0829d23007676f1f39957b9456c1
tree529b149cbb5d1d80ea0b7cd37e0a638441aaf69e
parent7e84ed02707fd7469ca9107afbf8f6d448d151b4
x86/amd-iommu: Use dev->arch->iommu to store iommu related information

This patch changes IOMMU code to use dev->archdata->iommu to
store information about the alias device and the domain the
device is attached to.
This allows the driver to get rid of the amd_iommu_pd_table
in the future.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/include/asm/device.h
arch/x86/kernel/amd_iommu.c