diff options
author | 2024-07-02 14:34:39 +0800 | |
---|---|---|
committer | 2024-07-09 13:54:32 -0300 | |
commit | c714f15860fcca02fe0fd7c3f1f1fc35b1768ac1 (patch) | |
tree | d5dce67a05b4f66401ee995db6ad6e95e7843f95 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommu: Extend domain attach group with handle support (diff) | |
download | wireguard-linux-c714f15860fcca02fe0fd7c3f1f1fc35b1768ac1.tar.xz wireguard-linux-c714f15860fcca02fe0fd7c3f1f1fc35b1768ac1.zip |
iommufd: Add fault and response message definitions
iommu_hwpt_pgfaults represent fault messages that the userspace can
retrieve. Multiple iommu_hwpt_pgfaults might be put in an iopf group,
with the IOMMU_PGFAULT_FLAGS_LAST_PAGE flag set only for the last
iommu_hwpt_pgfault.
An iommu_hwpt_page_response is a response message that the userspace
should send to the kernel after finishing handling a group of fault
messages. The @dev_id, @pasid, and @grpid fields in the message
identify an outstanding iopf group for a device. The @cookie field,
which matches the cookie field of the last fault in the group, will
be used by the kernel to look up the pending message.
Link: https://lore.kernel.org/r/20240702063444.105814-6-baolu.lu@linux.intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions