diff options
author | 2025-03-21 10:19:29 -0700 | |
---|---|---|
committer | 2025-03-25 10:18:31 -0300 | |
commit | 75f990aef38e930f8b676562c4d4b02c1f5eccfd (patch) | |
tree | 19e238a15930ff66cb660321eabcbeedb1ba15e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommufd/device: Add helper to detect the first attach of a group (diff) | |
download | linux-rng-75f990aef38e930f8b676562c4d4b02c1f5eccfd.tar.xz linux-rng-75f990aef38e930f8b676562c4d4b02c1f5eccfd.zip |
iommufd/device: Wrap igroup->hwpt and igroup->device_list into attach struct
The igroup->hwpt and igroup->device_list are used to track the hwpt attach
of a group in the RID path. While the coming PASID path also needs such
tracking. To be prepared, wrap igroup->hwpt and igroup->device_list into
attach struct which is allocated per attaching the first device of the
group and freed per detaching the last device of the group.
Link: https://patch.msgid.link/r/20250321171940.7213-8-yi.l.liu@intel.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions