diff options
author | 2023-10-24 14:50:59 +0100 | |
---|---|---|
committer | 2023-10-24 11:58:43 -0300 | |
commit | 7623683857e52b75184d37862c70f1230aef2edd (patch) | |
tree | 879b09e37d229f1b6c507648920ca0bdb82025b8 /tools/perf/scripts/python | |
parent | iommufd: Add IOMMU_HWPT_GET_DIRTY_BITMAP (diff) | |
download | wireguard-linux-7623683857e52b75184d37862c70f1230aef2edd.tar.xz wireguard-linux-7623683857e52b75184d37862c70f1230aef2edd.zip |
iommufd: Add capabilities to IOMMU_GET_HW_INFO
Extend IOMMUFD_CMD_GET_HW_INFO op to query generic iommu capabilities for a
given device.
Capabilities are IOMMU agnostic and use device_iommu_capable() API passing
one of the IOMMU_CAP_*. Enumerate IOMMU_CAP_DIRTY_TRACKING for now in the
out_capabilities field returned back to userspace.
Link: https://lore.kernel.org/r/20231024135109.73787-9-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions