diff options
author | Yi Liu <[email protected]> | 2024-11-08 10:13:52 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-11-08 14:04:49 +0100 |
commit | b45a3777ceabbe08ab7a6e97f258191c07cbab8d (patch) | |
tree | 7056c0308355bea5010883c2577d0853df9d3acc /tools/perf/scripts/python/netdev-times.py | |
parent | c43e1ccdebf2c950545fdf12c5796ad6f7bad7ee (diff) |
iommu: Pass old domain to set_dev_pasid op
To support domain replacement for pasid, the underlying iommu driver needs
to know the old domain hence be able to clean up the existing attachment.
It would be much convenient for iommu layer to pass down the old domain.
Otherwise, iommu drivers would need to track domain for pasids by
themselves, this would duplicate code among the iommu drivers. Or iommu
drivers would rely group->pasid_array to get domain, which may not always
the correct one.
Suggested-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Nicolin Chen <[email protected]>
Reviewed-by: Vasant Hegde <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions