Skip to content

Commit

Permalink
x86/amd-iommu: Let domain_for_device handle aliases
Browse files Browse the repository at this point in the history
If there is no domain associated to a device yet and the
device has an alias device which already has a domain, the
original device needs to have the same domain as the alias
device.
This patch changes domain_for_device to handle this
situation and directly assigns the alias device domain to
the device in this situation.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Nov 27, 2009
1 parent f3be07d commit 15898bb
Showing 1 changed file with 135 additions and 92 deletions.
Loading

0 comments on commit 15898bb

Please sign in to comment.