index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
iommu
/
iommufd
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-14
iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest
Jason Gunthorpe
1
-0
/
+1
2024-02-26
iommufd/selftest: Don't check map/unmap pairing with HUGE_PAGES
Jason Gunthorpe
1
-11
/
+18
2024-02-26
iommufd: Fix protection fault in iommufd_test_syz_conv_iova
Nicolin Chen
1
-6
/
+21
2024-02-26
iommufd/selftest: Fix mock_dev_num bug
Nicolin Chen
1
-4
/
+9
2024-02-26
iommufd: Fix iopt_access_list_id overwrite bug
Nicolin Chen
1
-3
/
+6
2024-02-21
iommufd: Reject non-zero data_type if no data_len is provided
Jason Gunthorpe
1
-1
/
+2
2024-02-06
iommufd/iova_bitmap: Consider page offset for the pages to be pinned
Joao Martins
1
-6
/
+7
2024-02-06
iommufd/selftest: Hugepage mock domain support
Joao Martins
2
-2
/
+14
2024-02-06
iommufd/selftest: Refactor mock_domain_read_and_clear_dirty()
Joao Martins
1
-19
/
+45
2024-02-06
iommufd/iova_bitmap: Handle recording beyond the mapped pages
Joao Martins
1
-0
/
+43
2024-02-06
iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 array
Joao Martins
1
-4
/
+4
2024-02-06
iommufd/iova_bitmap: Bounds check mapped::pages access
Joao Martins
1
-0
/
+4
2024-01-18
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
5
-13
/
+168
2024-01-11
iommufd/selftest: Check the bus type during probe
Jason Gunthorpe
1
-13
/
+15
2024-01-11
iommufd/selftest: Add IOMMU_TEST_OP_MD_CHECK_IOTLB test op
Nicolin Chen
2
-0
/
+31
2024-01-11
iommufd/selftest: Add mock_domain_cache_invalidate_user support
Nicolin Chen
2
-0
/
+68
2024-01-11
iommufd: Add IOMMU_HWPT_INVALIDATE
Yi Liu
3
-0
/
+54
2024-01-03
Merge branches 'apple/dart', 'arm/rockchip', 'arm/smmu', 'virtio', 'x86/vt-d'...
Joerg Roedel
1
-0
/
+2
2023-11-29
iommufd: Do not UAF during iommufd_put_object()
Jason Gunthorpe
2
-78
/
+135
2023-11-29
iommufd: Add iommufd_ctx to iommufd_put_object()
Jason Gunthorpe
6
-35
/
+36
2023-11-27
iommu: Validate that devices match domains
Robin Murphy
1
-0
/
+2
2023-11-09
Merge tag 'iommu-updates-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/g...
Linus Torvalds
1
-24
/
+7
2023-10-30
iommufd: Organize the mock domain alloc functions closer to Joerg's tree
Jason Gunthorpe
1
-19
/
+16
2023-10-30
iommufd/selftest: Fix page-size check in iommufd_test_dirty()
Joao Martins
1
-2
/
+4
2023-10-30
iommufd: Add iopt_area_alloc()
Jason Gunthorpe
2
-3
/
+17
2023-10-30
iommufd: Fix missing update of domains_itree after splitting iopt_area
Koichiro Den
1
-0
/
+10
2023-10-26
iommufd: Convert to alloc_domain_paging()
Jason Gunthorpe
1
-8
/
+3
2023-10-26
iommufd/selftest: Add nested domain allocation for mock domain
Nicolin Chen
2
-30
/
+140
2023-10-26
iommufd: Add a nested HW pagetable object
Nicolin Chen
4
-14
/
+130
2023-10-26
iommu: Pass in parent domain with user_data to domain_alloc_user op
Yi Liu
2
-2
/
+8
2023-10-26
iommufd: Share iommufd_hwpt_alloc with IOMMUFD_OBJ_HWPT_NESTED
Nicolin Chen
1
-17
/
+29
2023-10-26
iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetable
Nicolin Chen
5
-108
/
+148
2023-10-26
iommufd/device: Wrap IOMMUFD_OBJ_HWPT_PAGING-only configurations
Jason Gunthorpe
2
-30
/
+86
2023-10-26
iommufd: Rename IOMMUFD_OBJ_HW_PAGETABLE to IOMMUFD_OBJ_HWPT_PAGING
Jason Gunthorpe
5
-10
/
+10
2023-10-24
iommufd: Only enforce cache coherency in iommufd_hw_pagetable_alloc
Nicolin Chen
3
-20
/
+10
2023-10-24
iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR flag
Joao Martins
1
-6
/
+9
2023-10-24
iommufd/selftest: Test out_capabilities in IOMMU_GET_HW_INFO
Joao Martins
1
-1
/
+12
2023-10-24
iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP
Joao Martins
2
-5
/
+111
2023-10-24
iommufd/selftest: Test IOMMU_HWPT_SET_DIRTY_TRACKING
Joao Martins
1
-0
/
+16
2023-10-24
iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING
Joao Martins
1
-1
/
+36
2023-10-24
iommufd/selftest: Expand mock_domain with dev_flags
Joao Martins
2
-2
/
+21
2023-10-24
iommufd: Add a flag to skip clearing of IOPTE dirty
Joao Martins
2
-3
/
+9
2023-10-24
iommufd: Add capabilities to IOMMU_GET_HW_INFO
Joao Martins
1
-0
/
+4
2023-10-24
iommufd: Add IOMMU_HWPT_GET_DIRTY_BITMAP
Joao Martins
4
-0
/
+149
2023-10-24
iommufd: Add IOMMU_HWPT_SET_DIRTY_TRACKING
Joao Martins
4
-0
/
+93
2023-10-24
iommufd: Add a flag to enforce dirty tracking on attach
Joao Martins
1
-1
/
+3
2023-10-24
iommufd/iova_bitmap: Move symbols to IOMMUFD namespace
Joao Martins
1
-4
/
+4
2023-10-24
vfio: Move iova_bitmap into iommufd
Joao Martins
2
-0
/
+427
2023-10-10
iommufd/selftest: Add domain_alloc_user() support in iommu mock
Yi Liu
1
-0
/
+19
2023-10-10
iommufd: Support allocating nested parent domain
Yi Liu
1
-1
/
+4
2023-10-10
iommufd: Flow user flags for domain allocation to domain_alloc_user()
Yi Liu
3
-5
/
+9
2023-10-10
iommufd: Use the domain_alloc_user() op for domain allocation
Yi Liu
1
-4
/
+15
2023-09-25
iommu: Add IOMMU_DOMAIN_PLATFORM
Jason Gunthorpe
1
-9
/
+5
2023-09-25
iommu: Add iommu_ops->identity_domain
Jason Gunthorpe
1
-5
/
+0
2023-08-30
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
7
-314
/
+916
2023-08-30
Merge tag 'vfio-v6.6-rc1' of https://github.com/awilliam/linux-vfio
Linus Torvalds
5
-8
/
+142
2023-08-18
iommufd/selftest: Don't leak the platform device memory when unloading the mo...
Yang Yingliang
1
-2
/
+2
2023-08-18
iommufd/selftest: Add coverage for IOMMU_GET_HW_INFO ioctl
Nicolin Chen
2
-0
/
+25
2023-08-18
iommufd: Add IOMMU_GET_HW_INFO
Yi Liu
3
-0
/
+77
2023-08-17
vfio: align capability structures
Stefan Hajnoczi
1
-0
/
+2
2023-08-15
iommufd: Remove iommufd_ref_to_users()
Jason Gunthorpe
1
-23
/
+0
2023-08-15
Merge tag 'v6.5-rc6' into iommufd for-next
Jason Gunthorpe
4
-31
/
+76
2023-08-14
iommufd/selftest: Make the mock iommu driver into a real driver
Jason Gunthorpe
3
-59
/
+92
2023-07-28
iommufd/selftest: Add IOMMU_TEST_OP_ACCESS_REPLACE_IOAS coverage
Nicolin Chen
2
-0
/
+23
2023-07-28
iommufd: Add iommufd_access_replace() API
Nicolin Chen
1
-0
/
+15
2023-07-28
iommufd: Use iommufd_access_change_ioas in iommufd_access_destroy_object
Nicolin Chen
1
-6
/
+4
2023-07-28
iommufd: Add iommufd_access_change_ioas(_id) helpers
Nicolin Chen
1
-38
/
+71
2023-07-28
iommufd: Allow passing in iopt_access_list_id to iopt_remove_access()
Nicolin Chen
3
-6
/
+9
2023-07-27
iommufd: Set end correctly when doing batch carry
Jason Gunthorpe
1
-1
/
+1
2023-07-27
iommufd: IOMMUFD_DESTROY should not increase the refcount
Jason Gunthorpe
3
-30
/
+75
2023-07-26
iommufd/selftest: Add a selftest for IOMMU_HWPT_ALLOC
Jason Gunthorpe
1
-0
/
+3
2023-07-26
iommufd/selftest: Return the real idev id from selftest mock_domain
Jason Gunthorpe
2
-0
/
+3
2023-07-26
iommufd: Add IOMMU_HWPT_ALLOC
Jason Gunthorpe
3
-0
/
+58
2023-07-26
iommufd/selftest: Test iommufd_device_replace()
Nicolin Chen
2
-0
/
+43
2023-07-26
iommufd: Make destroy_rwsem use a lock class per object type
Jason Gunthorpe
2
-1
/
+11
2023-07-26
iommufd: Add iommufd_device_replace()
Jason Gunthorpe
2
-0
/
+102
2023-07-26
iommufd: Reorganize iommufd_device_attach into iommufd_device_change_pt
Jason Gunthorpe
1
-39
/
+102
2023-07-26
iommufd: Fix locking around hwpt allocation
Jason Gunthorpe
1
-1
/
+1
2023-07-26
iommufd: Allow a hwpt to be aborted after allocation
Jason Gunthorpe
3
-1
/
+26
2023-07-26
iommufd: Add enforced_cache_coherency to iommufd_hw_pagetable_alloc()
Jason Gunthorpe
3
-15
/
+32
2023-07-26
iommufd: Move putting a hwpt to a helper function
Jason Gunthorpe
2
-5
/
+11
2023-07-26
iommufd: Make sw_msi_start a group global
Jason Gunthorpe
2
-7
/
+8
2023-07-26
iommufd: Use the iommufd_group to avoid duplicate MSI setup
Jason Gunthorpe
1
-4
/
+4
2023-07-26
iommufd: Keep track of each device's reserved regions instead of groups
Jason Gunthorpe
3
-23
/
+16
2023-07-26
iommufd: Replace the hwpt->devices list with iommufd_group
Jason Gunthorpe
3
-81
/
+54
2023-07-26
iommufd: Add iommufd_group
Jason Gunthorpe
3
-18
/
+137
2023-07-26
iommufd: Move isolated msi enforcement to iommufd_device_bind()
Jason Gunthorpe
1
-18
/
+20
2023-07-25
vfio: Compile vfio_group infrastructure optionally
Yi Liu
1
-2
/
+2
2023-07-25
iommufd: Add iommufd_ctx_from_fd()
Yi Liu
1
-0
/
+24
2023-07-25
iommufd/device: Add iommufd_access_detach() API
Nicolin Chen
2
-5
/
+71
2023-07-25
iommufd: Add helper to retrieve iommufd_ctx and devid
Yi Liu
1
-0
/
+12
2023-07-25
iommufd: Add iommufd_ctx_has_group()
Yi Liu
1
-0
/
+30
2023-07-25
iommufd: Reserve all negative IDs in the iommufd xarray
Yi Liu
1
-1
/
+1
2023-06-29
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
2
-4
/
+12
2023-06-26
iommufd: Call iopt_area_contig_done() under the lock
Jason Gunthorpe
1
-1
/
+1
2023-06-26
iommufd: Do not access the area pointer after unlocking
Jason Gunthorpe
1
-3
/
+11
2023-06-09
mm/gup: remove unused vmas parameter from pin_user_pages_remote()
Lorenzo Stoakes
1
-2
/
+2
2023-04-04
Merge branch 'iommufd/for-rc' into for-next
Jason Gunthorpe
1
-2
/
+14
2023-04-04
iommufd/selftest: Set varaiable mock_iommu_device storage-class-specifier to ...
Tom Rix
1
-1
/
+1
2023-04-04
iommufd: Do not corrupt the pfn list when doing batch carry
Jason Gunthorpe
1
-1
/
+1
2023-04-04
iommufd: Fix unpinning of pages when an access is present
Jason Gunthorpe
1
-1
/
+9
2023-04-04
iommufd: Check for uptr overflow
Jason Gunthorpe
1
-0
/
+4
2023-03-31
Merge branch 'vfio_mdev_ops' into iommufd.git for-next
Jason Gunthorpe
5
-37
/
+51
2023-03-31
vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access ID
Yi Liu
2
-2
/
+5
2023-03-31
iommufd: Create access in vfio_iommufd_emulated_bind()
Nicolin Chen
2
-23
/
+34
2023-03-29
iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas()
Yi Liu
4
-13
/
+13
2023-03-10
iommufd/selftest: Catch overflow of uptr and length
Jason Gunthorpe
1
-2
/
+7
2023-03-06
iommufd/selftest: Make selftest create a more complete mock device
Jason Gunthorpe
3
-66
/
+181
2023-03-06
iommufd/selftest: Rename the sefltest 'device_id' to 'stdev_id'
Jason Gunthorpe
2
-2
/
+2
2023-03-06
iommufd: Make iommufd_hw_pagetable_alloc() do iopt_table_add_domain()
Jason Gunthorpe
3
-53
/
+85
2023-03-06
iommufd: Move iommufd_device to iommufd_private.h
Jason Gunthorpe
2
-17
/
+18
2023-03-06
iommufd: Move ioas related HWPT destruction into iommufd_hw_pagetable_destroy()
Jason Gunthorpe
2
-23
/
+21
2023-03-06
iommufd: Consistently manage hwpt_item
Jason Gunthorpe
1
-1
/
+8
2023-03-06
iommufd: Add iommufd_lock_obj() around the auto-domains hwpts
Jason Gunthorpe
1
-0
/
+3
2023-03-06
iommufd: Assert devices_lock for iommufd_hw_pagetable_has_group()
Jason Gunthorpe
1
-0
/
+2
2023-02-15
iommufd: Do not add the same hwpt to the ioas->hwpt_list twice
Jason Gunthorpe
1
-4
/
+0
2023-02-14
iommufd: Make sure to zero vfio_iommu_type1_info before copying to user
Jason Gunthorpe
1
-1
/
+1
2023-02-03
Merge branch 'vfio-no-iommu' into iommufd.git for-next
Jason Gunthorpe
3
-20
/
+89
2023-02-03
vfio: Support VFIO_NOIOMMU with iommufd
Jason Gunthorpe
3
-20
/
+89
2023-01-30
Merge branch 'iommu-memory-accounting' of ssh://gitolite.kernel.org/pub/scm/l...
Jason Gunthorpe
1
-2
/
+4
2023-01-25
iommufd: Use GFP_KERNEL_ACCOUNT for iommu_map()
Jason Gunthorpe
1
-2
/
+2
2023-01-25
iommu: Add a gfp parameter to iommu_map()
Jason Gunthorpe
1
-2
/
+4
2023-01-23
iommufd: Add three missing structures in ucmd_buffer
Yi Liu
1
-0
/
+3
2023-01-11
iommufd: Convert to msi_device_has_isolated_msi()
Jason Gunthorpe
1
-3
/
+1
2022-12-14
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
14
-0
/
+6956
2022-12-09
iommufd: Change the order of MSI setup
Jason Gunthorpe
2
-41
/
+39
2022-12-09
iommufd: Improve a few unclear bits of code
Jason Gunthorpe
1
-2
/
+5
2022-12-09
iommufd: Fix comment typos
Jason Gunthorpe
2
-3
/
+3
2022-12-02
iommufd: Allow iommufd to supply /dev/vfio/vfio
Jason Gunthorpe
2
-0
/
+56
2022-11-30
iommufd: Add additional invariant assertions
Jason Gunthorpe
4
-2
/
+70
2022-11-30
iommufd: Add some fault injection points
Jason Gunthorpe
2
-0
/
+29
2022-11-30
iommufd: Add kernel support for testing iommufd
Jason Gunthorpe
9
-0
/
+1058
2022-11-30
iommufd: vfio container FD ioctl compatibility
Jason Gunthorpe
4
-6
/
+491
2022-11-30
iommufd: Add kAPI toward external drivers for kernel access
Jason Gunthorpe
4
-2
/
+335
2022-11-30
iommufd: Add kAPI toward external drivers for physical devices
Jason Gunthorpe
4
-0
/
+428
2022-11-30
iommufd: Add a HW pagetable object
Jason Gunthorpe
5
-0
/
+97
2022-11-30
iommufd: IOCTLs for the io_pagetable
Jason Gunthorpe
4
-0
/
+474
2022-11-30
iommufd: Data structure to provide IOVA to PFN mapping
Jason Gunthorpe
4
-0
/
+1294
2022-11-30
iommufd: Algorithms for PFN storage
Jason Gunthorpe
2
-0
/
+917
2022-11-30
iommufd: PFN handling for iopt_pages
Jason Gunthorpe
5
-1
/
+1254
2022-11-30
iommufd: File descriptor, context, kconfig and makefiles
Jason Gunthorpe
4
-0
/
+470