diff options
author | 2023-08-18 03:10:32 -0700 | |
---|---|---|
committer | 2023-08-18 12:52:15 -0300 | |
commit | af4fde93c3196ed2cd4e64109a9307a7bc471c5a (patch) | |
tree | a516c6354b4e9a6383051732048fd027d4137742 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommufd: Add IOMMU_GET_HW_INFO (diff) | |
download | wireguard-linux-af4fde93c3196ed2cd4e64109a9307a7bc471c5a.tar.xz wireguard-linux-af4fde93c3196ed2cd4e64109a9307a7bc471c5a.zip |
iommufd/selftest: Add coverage for IOMMU_GET_HW_INFO ioctl
Add a mock_domain_hw_info function and an iommu_test_hw_info data
structure. This allows to test the IOMMU_GET_HW_INFO ioctl passing the
test_reg value for the mock_dev.
Link: https://lore.kernel.org/r/20230818101033.4100-5-yi.l.liu@intel.com
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions