diff options
| author | Nicolin Chen <nicolinc@nvidia.com> | 2026-08-30 15:26:42 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-09-11 12:05:01 -0300 |
| commit | fe85c40e992be9578b8cdfa992d9e23005e25e77 (patch) | |
| tree | f1ae90143f32552d39f99a38d3fc4744fd0cc456 /tools/perf/python | |
| parent | 2d4f03f6610d569070a86d8d2c583ddfcd390f75 (diff) | |
| download | linux-next-fe85c40e992be9578b8cdfa992d9e23005e25e77.tar.gz linux-next-fe85c40e992be9578b8cdfa992d9e23005e25e77.zip | |
iommu/vt-d: Convert nested cache invalidation to the core array loop
intel_nested_cache_invalidate_user() used to walk the whole request array
on its own, copying and then flushing one single entry at a time.
The iommufd core now iterates the request array itself and re-invokes the
op with the not-yet-handled sub-array, so handle just a single request per
call out of the front of that sub-array and report one handled entry via
the array->entry_num. An empty array keeps returning a success, used as a
probe of IOMMU_HWPT_INVALIDATE_DATA_VTD_S1 support.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Link: https://patch.msgid.link/1a668edccc94a2469df993d42609b5909f6f1dee.1788127877.git.nicolinc@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
