iommu/amd: Split out PCI related parts of IOMMU initialization
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 12 Jun 2012 09:47:34 +0000 (11:47 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Jul 2012 10:14:57 +0000 (12:14 +0200)
commit23c742db217113585ccc6c4a9b6ff96d642b6158
tree3079b2a941cf00a4bad339aaf317bec2bcebe4f3
parent02f3b3f5449cd0d9c4fb2c6f85f2973adefb7c72
iommu/amd: Split out PCI related parts of IOMMU initialization

For interrupt remapping the relevant IOMMU initialization
needs to run earlier at boot when the PCI subsystem is not
yet initialized. To support that this patch splits the parts
of IOMMU initialization which need PCI accesses out of the
initial setup path so that this can be done later.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h