diff options
author | Yi Liu <yi.l.liu@intel.com> | 2024-12-04 15:29:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-12-18 11:39:37 +0300 |
commit | 5f53638882391646e203e064c3ef3cc401745da8 (patch) | |
tree | c570ece2983961a85eada58a953910e6f1a925ab /tools/perf/scripts/python/task-analyzer.py | |
parent | 4f0bdab175d6ea544c97766813db001ba28be3a7 (diff) | |
download | linux-5f53638882391646e203e064c3ef3cc401745da8.tar.xz |
iommu/amd: Make the blocked domain support PASID
The blocked domain can be extended to park PASID of a device to be the
DMA blocking state. By this the remove_dev_pasid() op is dropped.
Remove PASID from old domain and device GCR3 table. No need to attach
PASID to the blocked domain as clearing PASID from GCR3 table will make
sure all DMAs for that PASID are blocked.
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20241204122928.11987-7-yi.l.liu@intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions