mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
iommu/vt-d: Drain PRQs when domain removed from RID
[ Upstream commitc43e1ccdeb] As this iommu driver now supports page faults for requests without PASID, page requests should be drained when a domain is removed from the RID2PASID entry. This results in the intel_iommu_drain_pasid_prq() call being moved to intel_pasid_tear_down_entry(). This indicates that when a translation is removed from any PASID entry and the PRI has been enabled on the device, page requests are drained in the domain detachment path. The intel_iommu_drain_pasid_prq() helper has been modified to support sending device TLB invalidation requests for both PASID and non-PASID cases. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Link: https://lore.kernel.org/r/20241101045543.70086-1-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de> Stable-dep-of:75ed00055c("iommu/vt-d: Clear Present bit before tearing down PASID entry") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d5cd1db0ac
commit
1913111809
3 changed files with 10 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue