diff options
| author | Yi Liu <yi.l.liu@intel.com> | 2025-03-21 20:19:23 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2025-03-25 16:18:30 +0300 |
| commit | ada14b9f1aab5b60d50dec14c17eb84a55c0f682 (patch) | |
| tree | f5688fb6935a94e69ad740d840c33a7e6648c6ea /tools/perf/scripts/python/gecko.py | |
| parent | 06d54f00f3f5a29cbf43410ac93ee2dd89e3b711 (diff) | |
| download | linux-ada14b9f1aab5b60d50dec14c17eb84a55c0f682.tar.xz | |
iommu: Require passing new handles to APIs supporting handle
Add kdoc to highligt the caller of iommu_[attach|replace]_group_handle()
and iommu_attach_device_pasid() should always provide a new handle. This
can avoid race with lockless reference to the handle. e.g. the
find_fault_handler() and iommu_report_device_fault() in the PRI path.
Link: https://patch.msgid.link/r/20250321171940.7213-2-yi.l.liu@intel.com
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@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/gecko.py')
0 files changed, 0 insertions, 0 deletions
