Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180086
b: refs/heads/master
c: d3ad937
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Jan 22, 2010
1 parent ccde23d commit c9281c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5325094379158e6b876ea0010c807bf7890ec8f
refs/heads/master: d3ad9373b7c29b63d5e8460a69453718d200cc3b
6 changes: 4 additions & 2 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,9 +1511,11 @@ static void __detach_device(struct device *dev)

/*
* If we run in passthrough mode the device must be assigned to the
* passthrough domain if it is detached from any other domain
* passthrough domain if it is detached from any other domain.
* Make sure we can deassign from the pt_domain itself.
*/
if (iommu_pass_through && dev_data->domain == NULL)
if (iommu_pass_through &&
(dev_data->domain == NULL && domain != pt_domain))
__attach_device(dev, pt_domain);
}

Expand Down

0 comments on commit c9281c4

Please sign in to comment.