Commit 56ecaf6
iommu/vt-d: Remove domain parameter for intel_pasid_setup_dirty_tracking()
The only usage of input @Domain is to get the domain id (DID) to flush
cache after setting dirty tracking. However, DID can be obtained from
the pasid entry. So no need to pass in domain. This can make this helper
cleaner when adding the missing dirty tracking for the parent domain,
which needs to use the DID of nested domain.
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240208082307.15759-7-yi.l.liu@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 5e54e86 commit 56ecaf6
3 files changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4741 | 4741 | | |
4742 | 4742 | | |
4743 | 4743 | | |
4744 | | - | |
4745 | | - | |
| 4744 | + | |
4746 | 4745 | | |
4747 | 4746 | | |
4748 | 4747 | | |
| |||
4756 | 4755 | | |
4757 | 4756 | | |
4758 | 4757 | | |
4759 | | - | |
4760 | | - | |
| 4758 | + | |
| 4759 | + | |
4761 | 4760 | | |
4762 | 4761 | | |
4763 | 4762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | 431 | | |
433 | 432 | | |
434 | 433 | | |
| |||
445 | 444 | | |
446 | 445 | | |
447 | 446 | | |
448 | | - | |
| 447 | + | |
449 | 448 | | |
450 | 449 | | |
451 | 450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | 310 | | |
312 | 311 | | |
313 | 312 | | |
| |||
0 commit comments