diff options
| author | Yi Liu <[email protected]> | 2024-12-04 12:29:27 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-12-18 08:39:37 +0000 |
| commit | 5f53638882391646e203e064c3ef3cc401745da8 (patch) | |
| tree | c570ece2983961a85eada58a953910e6f1a925ab /net/switchdev/switchdev.c | |
| parent | iommu/vt-d: Make the blocked domain support PASID (diff) | |
| download | kernel-5f53638882391646e203e064c3ef3cc401745da8.tar.gz kernel-5f53638882391646e203e064c3ef3cc401745da8.zip | |
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 <[email protected]>
Reviewed-by: Vasant Hegde <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
