diff options
author | Yi Liu <[email protected]> | 2024-03-28 05:29:58 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-12 12:13:01 +0200 |
commit | d2f85a263883b679f87ed8f911746105658e9c47 (patch) | |
tree | 58d21b3942f962508b82184780babb7d6397f93c /tools/perf/util/trace-event-scripting.c | |
parent | b025dea63cded0d82bccd591fa105d39efc6435d (diff) |
iommu: Pass domain to remove_dev_pasid() op
Existing remove_dev_pasid() callbacks of the underlying iommu drivers
get the attached domain from the group->pasid_array. However, the domain
stored in group->pasid_array is not always correct in all scenarios.
A wrong domain may result in failure in remove_dev_pasid() callback.
To avoid such problems, it is more reliable to pass the domain to the
remove_dev_pasid() op.
Suggested-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions