summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/iommu
Commit message (Expand)AuthorAgeFilesLines
* iommufd: Test attach before detaching pasidYi Liu9 days1-0/+6
* iommufd/selftest: Add coverage for reporting max_pasid_log2 via IOMMU_HW_INFOYi Liu9 days3-5/+33
* iommufd/selftest: Add coverage for iommufd pasid attach/detachYi Liu12 days3-10/+437
* iommufd/selftest: Add IOMMU_VEVENTQ_ALLOC test coverageNicolin Chen2025-03-183-0/+153
* iommufd/selftest: Require vdev_id when attaching to a nested domainNicolin Chen2025-03-181-0/+5
* iommufd: Disallow allocating nested parent domain with fault IDYi Liu2025-03-041-0/+4
* iommufd/selftest: Cover IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nthNicolin Chen2024-12-031-0/+14
* iommufd: IOMMU_IOAS_CHANGE_PROCESS selftestSteve Sistare2024-11-143-0/+148
* iommufd/selftest: Add vIOMMU coverage for IOMMU_HWPT_INVALIDATE ioctlNicolin Chen2024-11-122-0/+205
* iommufd/selftest: Add IOMMU_TEST_OP_DEV_CHECK_CACHE test commandNicolin Chen2024-11-122-1/+30
* iommufd: Allow hwpt_id to carry viommu_id for IOMMU_HWPT_INVALIDATENicolin Chen2024-11-121-2/+2
* iommufd/selftest: Add IOMMU_VDEVICE_ALLOC test coverageNicolin Chen2024-11-123-0/+51
* iommufd/selftest: Add IOMMU_VIOMMU_ALLOC test coverageNicolin Chen2024-11-123-0/+176
* iommufd: Selftest coverage for IOMMU_IOAS_MAP_FILESteve Sistare2024-10-283-15/+205
* iommufd: Do not allow creating areas without READ or WRITEJason Gunthorpe2024-08-261-3/+3
* Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2024-07-211-2/+0
|\
| * selftests: centralize -D_GNU_SOURCE= to CFLAGS in lib.mkEdward Liaw2024-07-101-2/+0
* | Merge branch 'iommufd_pri' into iommufd for-nextJason Gunthorpe2024-07-093-6/+104
|\ \
| * | iommufd/selftest: Add coverage for IOPF testLu Baolu2024-07-093-6/+104
| |/
* | iommufd/selftest: Fix tests to use MOCK_PAGE_SIZE based buffer sizesJoao Martins2024-06-281-18/+18
* | iommufd/selftest: Add tests for <= u8 bitmap sizesJoao Martins2024-06-281-0/+18
* | iommufd/selftest: Fix dirty bitmap tests with u8 bitmapsJoao Martins2024-06-282-7/+9
|/
* iommufd: Add config needed for iommufd_fail_nthMuhammad Usama Anjum2024-04-141-0/+2
* selftests/iommu: fix the config fragmentMuhammad Usama Anjum2024-02-221-2/+3
* iommufd/selftest: Add mock IO hugepages testsJoao Martins2024-02-061-3/+42
* iommufd/selftest: Refactor dirty bitmap testsJoao Martins2024-02-062-31/+36
* iommufd/selftest: Test u64 unaligned bitmapsJoao Martins2024-02-061-2/+17
* iommufd/selftest: Add coverage for IOMMU_HWPT_INVALIDATE ioctlNicolin Chen2024-01-112-0/+179
* iommufd/selftest: Add IOMMU_TEST_OP_MD_CHECK_IOTLB test opNicolin Chen2024-01-112-0/+28
* iommufd/selftest: Fix _test_mock_dirty_bitmaps()Robin Murphy2023-11-201-7/+6
* iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTsNicolin Chen2023-10-263-8/+140
* iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR flagJoao Martins2023-10-242-12/+52
* iommufd/selftest: Test out_capabilities in IOMMU_GET_HW_INFOJoao Martins2023-10-243-10/+33
* iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAPJoao Martins2023-10-242-0/+223
* iommufd/selftest: Test IOMMU_HWPT_SET_DIRTY_TRACKINGJoao Martins2023-10-242-0/+32
* iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKINGJoao Martins2023-10-242-0/+52
* iommufd/selftest: Expand mock_domain with dev_flagsJoao Martins2023-10-241-0/+29
* iommufd/selftest: Rework TEST_LENGTH to test min_size explicitlyNicolin Chen2023-10-161-13/+16
* iommufd/selftest: Add domain_alloc_user() support in iommu mockYi Liu2023-10-103-8/+29
* iommufd/selftest: Iterate idev_ids in mock_domain's alloc_hwpt testNicolin Chen2023-09-261-1/+1
* iommufd: Fix spelling errors in commentsGuokaiXu2023-09-192-2/+2
* iommufd/selftest: Add coverage for IOMMU_GET_HW_INFO ioctlNicolin Chen2023-08-183-1/+103
* iommufd/selftest: Add IOMMU_TEST_OP_ACCESS_REPLACE_IOAS coverageNicolin Chen2023-07-282-2/+46
* iommufd/selftest: Add a selftest for IOMMU_HWPT_ALLOCJason Gunthorpe2023-07-263-1/+46
* iommufd/selftest: Return the real idev id from selftest mock_domainJason Gunthorpe2023-07-263-21/+26
* iommufd/selftest: Test iommufd_device_replace()Nicolin Chen2023-07-263-4/+105
* iommufd/selftest: Cover domain unmap with huge pages and accessJason Gunthorpe2023-04-041-0/+34
* iommufd/selftest: Add a selftest for iommufd_device_attach() with a hwpt argu...Jason Gunthorpe2023-03-061-1/+13
* iommufd/selftest: Make selftest create a more complete mock deviceJason Gunthorpe2023-03-062-10/+0
* iommufd/selftest: Rename the remaining mock device_id's to stdev_idJason Gunthorpe2023-03-062-21/+21