Loading
iommu/vt-d: Remove domain parameter for intel_pasid_setup_dirty_tracking()
mainline inclusion from mainline-v6.8-rc6 commit 56ecaf6c5834ace14941d7f13dceb48bc3327111 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I938E2 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=56ecaf6c5834ace14941d7f13dceb48bc3327111 -------------------------------- 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> Signed-off-by:
Jason Zeng <jason.zeng@intel.com>