summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2025-02-04 08:00:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 11:16:00 +0300
commit6d11543bf37abdf60b8e6022a62fccfb82a5fe2e (patch)
tree2f029a6458e30a9cb13772bb5bf6a888e2e79057 /tools/perf/scripts/python/mem-phys-addr.py
parent9ca4fe357464bbdad0db67985275f2694df8dab5 (diff)
downloadlinux-6d11543bf37abdf60b8e6022a62fccfb82a5fe2e.tar.xz
iommufd: Make attach_handle generic than fault specific
commit fb21b1568adaa76af7a8c853f37c60fba8b28661 upstream. "attach_handle" was added exclusively for the iommufd_fault_iopf_handler() used by IOPF/PRI use cases. Now, both the MSI and PASID series require to reuse the attach_handle for non-fault cases. Add a set of new attach/detach/replace helpers that does the attach_handle allocation/releasing/replacement in the common path and also handles those fault specific routines such as iopf enabling/disabling and auto response. This covers both non-fault and fault cases in a clean way, replacing those inline helpers in the header. The following patch will clean up those old helpers in the fault.c file. Link: https://patch.msgid.link/r/32687df01c02291d89986a9fca897bbbe2b10987.1738645017.git.nicolinc@nvidia.com Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions