summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/iommu
AgeCommit message (Expand)AuthorFilesLines
2025-03-28iommufd: Test attach before detaching pasidYi Liu1-0/+6
2025-03-28iommufd/selftest: Add coverage for reporting max_pasid_log2 via IOMMU_HW_INFOYi Liu3-5/+33
2025-03-25iommufd/selftest: Add coverage for iommufd pasid attach/detachYi Liu3-10/+437
2025-03-18iommufd/selftest: Add IOMMU_VEVENTQ_ALLOC test coverageNicolin Chen3-0/+153
2025-03-18iommufd/selftest: Require vdev_id when attaching to a nested domainNicolin Chen1-0/+5
2025-03-04iommufd: Disallow allocating nested parent domain with fault IDYi Liu1-0/+4
2024-12-03iommufd/selftest: Cover IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nthNicolin Chen1-0/+14
2024-11-14iommufd: IOMMU_IOAS_CHANGE_PROCESS selftestSteve Sistare3-0/+148
2024-11-12iommufd/selftest: Add vIOMMU coverage for IOMMU_HWPT_INVALIDATE ioctlNicolin Chen2-0/+205
2024-11-12iommufd/selftest: Add IOMMU_TEST_OP_DEV_CHECK_CACHE test commandNicolin Chen2-1/+30
2024-11-12iommufd: Allow hwpt_id to carry viommu_id for IOMMU_HWPT_INVALIDATENicolin Chen1-2/+2
2024-11-12iommufd/selftest: Add IOMMU_VDEVICE_ALLOC test coverageNicolin Chen3-0/+51
2024-11-12iommufd/selftest: Add IOMMU_VIOMMU_ALLOC test coverageNicolin Chen3-0/+176
2024-10-28iommufd: Selftest coverage for IOMMU_IOAS_MAP_FILESteve Sistare3-15/+205
2024-08-26iommufd: Do not allow creating areas without READ or WRITEJason Gunthorpe1-3/+3
2024-07-22Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+0
2024-07-10selftests: centralize -D_GNU_SOURCE= to CFLAGS in lib.mkEdward Liaw1-2/+0
2024-07-09Merge branch 'iommufd_pri' into iommufd for-nextJason Gunthorpe3-6/+104
2024-07-09iommufd/selftest: Add coverage for IOPF testLu Baolu3-6/+104
2024-06-28iommufd/selftest: Fix tests to use MOCK_PAGE_SIZE based buffer sizesJoao Martins1-18/+18
2024-06-28iommufd/selftest: Add tests for <= u8 bitmap sizesJoao Martins1-0/+18
2024-06-28iommufd/selftest: Fix dirty bitmap tests with u8 bitmapsJoao Martins2-7/+9
2024-04-14iommufd: Add config needed for iommufd_fail_nthMuhammad Usama Anjum1-0/+2
2024-02-22selftests/iommu: fix the config fragmentMuhammad Usama Anjum1-2/+3
2024-02-06iommufd/selftest: Add mock IO hugepages testsJoao Martins1-3/+42
2024-02-06iommufd/selftest: Refactor dirty bitmap testsJoao Martins2-31/+36
2024-02-06iommufd/selftest: Test u64 unaligned bitmapsJoao Martins1-2/+17
2024-01-11iommufd/selftest: Add coverage for IOMMU_HWPT_INVALIDATE ioctlNicolin Chen2-0/+179
2024-01-11iommufd/selftest: Add IOMMU_TEST_OP_MD_CHECK_IOTLB test opNicolin Chen2-0/+28
2023-11-21iommufd/selftest: Fix _test_mock_dirty_bitmaps()Robin Murphy1-7/+6
2023-10-26iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTsNicolin Chen3-8/+140
2023-10-24iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR flagJoao Martins2-12/+52
2023-10-24iommufd/selftest: Test out_capabilities in IOMMU_GET_HW_INFOJoao Martins3-10/+33
2023-10-24iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAPJoao Martins2-0/+223
2023-10-24iommufd/selftest: Test IOMMU_HWPT_SET_DIRTY_TRACKINGJoao Martins2-0/+32
2023-10-24iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKINGJoao Martins2-0/+52
2023-10-24iommufd/selftest: Expand mock_domain with dev_flagsJoao Martins1-0/+29
2023-10-16iommufd/selftest: Rework TEST_LENGTH to test min_size explicitlyNicolin Chen1-13/+16
2023-10-10iommufd/selftest: Add domain_alloc_user() support in iommu mockYi Liu3-8/+29
2023-09-26iommufd/selftest: Iterate idev_ids in mock_domain's alloc_hwpt testNicolin Chen1-1/+1
2023-09-19iommufd: Fix spelling errors in commentsGuokaiXu2-2/+2
2023-08-18iommufd/selftest: Add coverage for IOMMU_GET_HW_INFO ioctlNicolin Chen3-1/+103
2023-07-28iommufd/selftest: Add IOMMU_TEST_OP_ACCESS_REPLACE_IOAS coverageNicolin Chen2-2/+46
2023-07-26iommufd/selftest: Add a selftest for IOMMU_HWPT_ALLOCJason Gunthorpe3-1/+46
2023-07-26iommufd/selftest: Return the real idev id from selftest mock_domainJason Gunthorpe3-21/+26
2023-07-26iommufd/selftest: Test iommufd_device_replace()Nicolin Chen3-4/+105
2023-04-04iommufd/selftest: Cover domain unmap with huge pages and accessJason Gunthorpe1-0/+34
2023-03-06iommufd/selftest: Add a selftest for iommufd_device_attach() with a hwpt argu...Jason Gunthorpe1-1/+13
2023-03-06iommufd/selftest: Make selftest create a more complete mock deviceJason Gunthorpe2-10/+0
2023-03-06iommufd/selftest: Rename the remaining mock device_id's to stdev_idJason Gunthorpe2-21/+21