Commit ff7ccaa
iommu/vt-d: Fix misplaced domain_attached assignment
Commit fb5873b ("iommu/vt-d: Restore context entry setup order
for aliased devices") was incorrectly backported: the domain_attached
assignment was mistakenly placed in device_set_dirty_tracking()
instead of original identity_domain_attach_dev().
Fix this by moving the assignment to the correct function as in the
original commit.
Fixes: fb5873b ("iommu/vt-d: Restore context entry setup order for aliased devices")
Closes: https://lore.kernel.org/linux-iommu/[email protected]/
Cc: [email protected]
Reported-by: Ban ZuoXiang <[email protected]>
Signed-off-by: Ban ZuoXiang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent e82d882 commit ff7ccaa
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4414 | 4414 | | |
4415 | 4415 | | |
4416 | 4416 | | |
4417 | | - | |
4418 | | - | |
4419 | | - | |
4420 | 4417 | | |
4421 | 4418 | | |
4422 | 4419 | | |
| |||
4600 | 4597 | | |
4601 | 4598 | | |
4602 | 4599 | | |
| 4600 | + | |
| 4601 | + | |
| 4602 | + | |
4603 | 4603 | | |
4604 | 4604 | | |
4605 | 4605 | | |
| |||
0 commit comments