Skip to content
Commit b7cc9554 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

x86/amd-iommu: Fix passthrough mode



The data structure changes to use dev->archdata.iommu field
broke the iommu=pt mode because in this case the
dev->archdata.iommu was left uninitialized. This moves the
inititalization of the devices into the main init function
and fixes the problem.

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