diff options
author | 2023-10-24 14:51:04 +0100 | |
---|---|---|
committer | 2023-10-24 11:58:44 -0300 | |
commit | e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65 (patch) | |
tree | a65f83d7ffc22e319fdb155d14217a781b778552 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/vt-d: Access/Dirty bit support for SS domains (diff) | |
download | wireguard-linux-e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65.tar.xz wireguard-linux-e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65.zip |
iommufd/selftest: Expand mock_domain with dev_flags
Expand mock_domain test to be able to manipulate the device capabilities.
This allows testing with mockdev without dirty tracking support advertised
and thus make sure enforce_dirty test does the expected.
To avoid breaking IOMMUFD_TEST UABI replicate the mock_domain struct and
thus add an input dev_flags at the end.
Link: https://lore.kernel.org/r/20231024135109.73787-14-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@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