]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
iommu/amd: Convert iommu initialization to state machine
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 12 Jun 2012 13:59:30 +0000 (15:59 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Jul 2012 10:17:12 +0000 (12:17 +0200)
commit2c0ae1720c09c6f8fc8c6bcece29dc80b08ca1af
treea1e50ae85a9f0055639be9bd1226d93dde68e1ea
parentb9b1ce707d81ec63c04e4fd8c34699ada950e6dc
iommu/amd: Convert iommu initialization to state machine

This step makes it very easy to keep track about the current
intialization state of the iommu driver. With this change we
can initialize the IOMMU hardware to a point where it can
remap interrupts and later resume the initializion to enable
dma remapping.

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