commit | 15898bbcb48fc86c2baff156163df0941ecb6a15 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Tue Nov 24 15:39:42 2009 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Fri Nov 27 14:17:09 2009 +0100 |
tree | 0c3992a2bcedab86647f3829bbbc97e9eec9dfdb | |
parent | f3be07da531ceef1b51295e5becc9bc07670b671 [diff] |
x86/amd-iommu: Let domain_for_device handle aliases 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>