aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommufd
AgeCommit message (Expand)AuthorFilesLines
2026-05-08iommufd: Use sizeof(*hdr) instead of sizeof(hdr) in veventq readKai Aizen1-1/+1
2026-04-16Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-39/+18
2026-04-15Merge tag 'iommu-updates-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+4
2026-04-11iommufd: Fix a race with concurrent allocation and unmapSina Hassani1-0/+10
2026-03-31iommufd/selftest: Remove MOCK_IOMMUPT_AMDV1 formatPranjal Shrivastava2-32/+0
2026-03-31iommufd: Fix return value of iommufd_fault_fops_write()Zhenzhong Duan1-2/+3
2026-03-25iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc()Kexin Sun1-1/+1
2026-03-17iommufd: Report ATS not supported status via IOMMU_GET_HW_INFOShameer Kolothum1-0/+4
2026-03-13iommufd/selftest: Fix page leaks in mock_viommu_{init,destroy}Thorsten Blum1-2/+2
2026-03-02iommufd: vfio compatibility extension check for noiommu modeJacob Pan1-1/+1
2026-03-02iommufd: Constify struct dma_buf_attach_opsChristophe JAILLET1-1/+1
2026-02-23iommufd: Add dma_buf_pin()Leon Romanovsky1-1/+8
2026-02-23Merge drm/drm-next into drm-misc-nextMaxime Ripard12-33/+33
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds5-13/+13
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook10-26/+26
2026-02-12Merge tag 'vfio-v7.0-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds4-7/+6
2026-02-05Merge drm/drm-next into drm-misc-nextThomas Zimmermann3-5/+18
2026-01-28iommufd: Initialize batch->kind in batch_clear()Deepanshu Kartikey1-0/+1
2026-01-27dma-buf: Rename dma_buf_move_notify() to dma_buf_invalidate_mappings()Leon Romanovsky1-1/+1
2026-01-27dma-buf: Rename .move_notify() callback to a clearer identifierLeon Romanovsky1-1/+1
2026-01-19Merge tag 'common_phys_vec_via_vfio' into v6.20/vfio/nextAlex Williamson4-7/+6
2026-01-19types: reuse common phys_vec type instead of DMABUF open‑coded variantLeon Romanovsky4-7/+6
2026-01-10iommufd/selftest: Prevent module/builtin conflicts in kconfigJason Gunthorpe1-1/+1
2026-01-10iommufd/selftest: Add missing kconfig for DMA_SHARED_BUFFERJason Gunthorpe1-0/+1
2025-12-16iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVEDJason Gunthorpe1-1/+7
2025-12-15iommufd/selftest: Do not leak the hwpt if IOMMU_TEST_OP_MD_CHECK_MAP failsJason Gunthorpe1-2/+4
2025-12-15iommufd: Fix building without dmabufArnd Bergmann1-1/+5
2025-12-04Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds8-70/+661
2025-12-04Merge tag 'iommu-updates-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-256/+182
2025-11-28Merge branches 'arm/smmu/updates', 'arm/smmu/bindings', 'mediatek', 'nvidia/t...Joerg Roedel3-256/+182
2025-11-26Merge branch 'iommufd_dmabuf' into k.o-iommufd/for-nextJason Gunthorpe8-70/+661
2025-11-25iommufd/selftest: Add some tests for the dmabuf flowJason Gunthorpe4-0/+167
2025-11-25iommufd: Accept a DMABUF through IOMMU_IOAS_MAP_FILEJason Gunthorpe3-19/+41
2025-11-25iommufd: Have iopt_map_file_pages convert the fd to a fileJason Gunthorpe3-12/+13
2025-11-25iommufd: Have pfn_reader process DMABUF iopt_pagesJason Gunthorpe1-7/+66
2025-11-25iommufd: Allow MMIO pages in a batchJason Gunthorpe1-5/+24
2025-11-25iommufd: Allow a DMABUF to be revokedJason Gunthorpe3-4/+135
2025-11-25iommufd: Do not map/unmap revoked DMABUFsJason Gunthorpe3-21/+52
2025-11-25iommufd: Add DMABUF to iopt_pagesJason Gunthorpe5-8/+169
2025-11-21iommufd/iommufd_private.h: Avoid -Wflex-array-member-not-at-end warningGustavo A. R. Silva1-1/+3
2025-11-21iommufd/driver: Fix counter initialization for counted_by annotationGustavo A. R. Silva1-1/+1
2025-11-05iommufd: Make vfio_compat's unmap succeed if the range is already emptyJason Gunthorpe2-9/+7
2025-11-05iommufd: Change the selftest to use iommupt instead of xarrayJason Gunthorpe3-255/+181
2025-10-27iommu: Pass in old domain to attach_dev callback functionsNicolin Chen1-1/+1
2025-10-20iommufd: Don't overflow during division for dirty trackingJason Gunthorpe1-3/+2
2025-09-30iommufd: Register iommufd mock devices with fwspecGuixin Liu1-1/+1
2025-09-19iommufd: WARN if an object is aborted with an elevated refcountJason Gunthorpe3-3/+7
2025-09-19iommufd: Fix race during abort for file descriptorsJason Gunthorpe2-10/+34
2025-09-19iommufd: Fix refcounting race during mmapJason Gunthorpe1-6/+14
2025-08-18iommufd: viommu: free memory allocated by kvcalloc() using kvfree()Akhilesh Patil1-2/+2
2025-07-31Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds13-189/+1052
2025-07-18iommufd: Rename some shortterm-related identifiersXu Yilun4-33/+34
2025-07-18iommufd/vdevice: Remove struct device reference from struct vdeviceXu Yilun2-5/+8
2025-07-18iommufd: Destroy vdevice on idevice destroyXu Yilun4-4/+113
2025-07-18iommufd: Add a pre_destroy() op for objectsXu Yilun1-0/+4
2025-07-18iommufd: Add iommufd_object_tombstone_user() helperXu Yilun2-2/+45
2025-07-18iommufd/viommu: Roll back to use iommufd_object_alloc() for vdeviceXu Yilun1-4/+10
2025-07-17iommufd: Prevent ALIGN() overflowJason Gunthorpe1-16/+25
2025-07-14iommufd: Do not allow _iommufd_object_alloc_ucmd if abort op is setNicolin Chen1-0/+9
2025-07-11iommufd: Allow an input data_type via iommu_hw_infoNicolin Chen1-3/+6
2025-07-11iommu: Allow an input type in hw_info opNicolin Chen2-0/+7
2025-07-11iommufd/selftest: Add coverage for the new mmap interfaceNicolin Chen2-1/+36
2025-07-11iommufd: Add mmap interfaceNicolin Chen3-0/+129
2025-07-11iommufd/selftest: Add coverage for IOMMUFD_CMD_HW_QUEUE_ALLOCNicolin Chen2-0/+100
2025-07-11iommufd/driver: Add iommufd_hw_queue_depend/undepend() helpersNicolin Chen1-0/+28
2025-07-11iommufd/viommu: Add IOMMUFD_CMD_HW_QUEUE_ALLOC ioctlNicolin Chen3-0/+188
2025-07-11iommufd/viommu: Add driver-defined vDEVICE supportNicolin Chen2-13/+25
2025-07-11iommufd/access: Bypass access->ops->unmap for internal useNicolin Chen4-10/+33
2025-07-10iommufd/access: Add internal APIs for HW queue to useNicolin Chen2-9/+73
2025-07-10iommufd/selftest: Support user_data in mock_viommu_allocNicolin Chen2-0/+28
2025-07-10iommufd/viommu: Allow driver-specific user data for a vIOMMU objectNicolin Chen1-1/+7
2025-07-10iommu: Pass in a driver-level user data structure to viommu_init opNicolin Chen2-2/+3
2025-07-10iommu: Use enum iommu_hw_info_type for type in hw_info opNicolin Chen1-1/+2
2025-07-10iommufd/viommu: Explicitly define vdev->virt_idNicolin Chen3-4/+9
2025-07-10iommufd: Report unmapped bytes in the error path of iopt_unmap_iova_rangeNicolin Chen1-2/+5
2025-06-27iommu: Remove ops.pgsize_bitmap from drivers that don't use itJason Gunthorpe1-1/+0
2025-06-19iommufd: Apply the new iommufd_object_alloc_ucmd helperNicolin Chen2-28/+10
2025-06-19iommufd: Introduce iommufd_object_alloc_ucmd helperNicolin Chen2-0/+51
2025-06-19iommufd: Move _iommufd_object_alloc out of driver.cNicolin Chen3-33/+36
2025-06-19iommu: Deprecate viommu_alloc opNicolin Chen1-15/+5
2025-06-19iommufd/selftest: Replace mock_viommu_alloc with mock_viommu_initNicolin Chen1-15/+14
2025-06-19iommufd/selftest: Drop parent domain from mock_iommu_domain_nestedNicolin Chen1-3/+0
2025-06-19iommufd/viommu: Support get_viommu_size and viommu_init opsNicolin Chen1-3/+39
2025-06-19iommufd: Return EOPNOTSUPP for failures due to driver bugsNicolin Chen2-3/+3
2025-06-19iommufd: Use enum iommu_veventq_type for type in struct iommufd_veventqNicolin Chen1-2/+3
2025-06-19iommufd: Drop unused ictx in struct iommufd_vdeviceNicolin Chen1-1/+0
2025-06-19iommufd: Apply obvious cosmetic fixesNicolin Chen9-36/+24
2025-04-28iommufd: Remove unnecessary IOMMU_DEV_FEAT_IOPFLu Baolu3-83/+30
2025-04-28iommufd/selftest: Put iopf enablement in domain attach pathLu Baolu1-10/+47
2025-03-28iommufd: Test attach before detaching pasidYi Liu1-0/+7
2025-03-28iommufd: Balance veventq->num_events inc/decYi Liu1-1/+2
2025-03-28iommufd: Initialize the flags of vevent in iommufd_viommu_report_event()Yi Liu1-1/+1
2025-03-28iommufd: Extend IOMMU_GET_HW_INFO to report PASID capabilityYi Liu1-1/+33
2025-03-25iommufd/selftest: Add test ops to test pasid attach/detachYi Liu2-0/+188
2025-03-25iommufd/selftest: Add a helper to get test deviceYi Liu1-13/+23
2025-03-25iommufd/selftest: Add set_dev_pasid in mock iommuYi Liu2-5/+36
2025-03-25iommufd: Allow allocating PASID-compatible domainYi Liu1-3/+4
2025-03-25iommufd: Enforce PASID-compatible domain for RIDYi Liu1-4/+22
2025-03-25iommufd: Support pasid attach/replaceYi Liu2-26/+41
2025-03-25iommufd: Enforce PASID-compatible domain in PASID pathYi Liu3-0/+21
2025-03-25iommufd/device: Add pasid_attach array to track per-PASID attachYi Liu2-20/+41
2025-03-25iommufd/device: Replace device_list with device_arrayYi Liu1-19/+39
2025-03-25iommufd/device: Wrap igroup->hwpt and igroup->device_list into attach structYi Liu2-23/+58
2025-03-25iommufd/device: Add helper to detect the first attach of a groupYi Liu1-2/+9
2025-03-25iommufd/device: Replace idev->igroup with local variableYi Liu1-20/+23
2025-03-25iommufd/device: Only add reserved_iova in non-pasid pathYi Liu1-6/+8
2025-03-25iommufd: Pass @pasid through the device attach/replace pathYi Liu3-39/+52
2025-03-25iommu: Drop sw_msi from iommu_domainNicolin Chen1-3/+0
2025-03-25iommufd: Move iommufd_sw_msi and related functions to driver.cNicolin Chen4-126/+140
2025-03-25iommu: Sort out domain user dataRobin Murphy1-0/+3
2025-03-18iommufd/selftest: Add IOMMU_TEST_OP_TRIGGER_VEVENT for vEVENTQ coverageNicolin Chen2-0/+40
2025-03-18iommufd/selftest: Require vdev_id when attaching to a nested domainNicolin Chen1-0/+24
2025-03-18iommufd/viommu: Add iommufd_viommu_report_event helperNicolin Chen1-0/+48
2025-03-18iommufd/viommu: Add iommufd_viommu_get_vdev_id helperNicolin Chen1-0/+24
2025-03-18iommufd: Add IOMMUFD_OBJ_VEVENTQ and IOMMUFD_CMD_VEVENTQ_ALLOCNicolin Chen4-1/+299
2025-03-17iommufd: Rename fault.c to eventq.cNicolin Chen2-1/+1
2025-03-17iommufd: Abstract an iommufd_eventq from iommufd_faultNicolin Chen3-63/+82
2025-03-17iommufd/fault: Add an iommufd_fault_init() helperNicolin Chen1-28/+42
2025-03-17iommufd/fault: Move two fault functions out of the headerNicolin Chen2-25/+25
2025-03-07iommufd: Fail replace if device has not been attachedYi Liu1-0/+16
2025-03-07iommufd: Set domain->iommufd_hwpt in all hwpt->domain allocatorsNicolin Chen1-1/+3
2025-03-04iommufd: Fix uninitialized rc in iommufd_access_rw()Nicolin Chen1-1/+1
2025-03-04iommufd: Disallow allocating nested parent domain with fault IDYi Liu1-0/+3
2025-02-27iommufd: Implement sw_msi support nativelyJason Gunthorpe4-23/+173
2025-02-21iommu: Turn fault_data to iommufd private pointerNicolin Chen2-2/+2
2025-02-11iommufd/fault: Remove iommufd_fault_domain_attach/detach/replace_dev()Nicolin Chen2-128/+0
2025-02-11iommufd: Make attach_handle generic than fault specificNicolin Chen3-33/+113
2025-01-21iommufd: Fix struct iommu_hwpt_pgfault init and paddingNicolin Chen1-1/+1
2025-01-20iommufd/fault: Use a separate spinlock to protect fault->deliver listNicolin Chen2-14/+49
2025-01-16iommufd/fault: Destroy response and mutex in iommufd_fault_destroy()Nicolin Chen1-0/+8
2025-01-14iommufd: Keep OBJ/IOCTL lists in an alphabetical orderNicolin Chen1-16/+14
2025-01-14iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()Qasim Ijaz1-1/+1
2025-01-14iommu: iommufd: fix WARNING in iommufd_device_unbindSuraj Sonawane1-1/+1
2024-12-11iommufd: Deal with IOMMU_HWPT_FAULT_ID_VALID in iommufd coreYi Liu2-4/+8
2024-12-11iommufd/selftest: Remove domain_alloc_paging()Jason Gunthorpe1-27/+16
2024-12-05Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+0
2024-12-03iommufd: Fix out_fput in iommufd_fault_alloc()Nicolin Chen1-2/+0
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra5-31/+31
2024-11-22iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags()Jason Gunthorpe2-11/+7
2024-11-22iommu: Add ops->domain_alloc_nested()Jason Gunthorpe2-7/+8
2024-11-22Merge tag 'iommu-updates-v6.13' of ssh://gitolite.kernel.org/pub/scm/linux/ke...Jason Gunthorpe1-1/+2
2024-11-15Merge branches 'intel/vt-d', 'amd/amd-vi' and 'iommufd/arm-smmuv3-nested' int...Joerg Roedel2-7/+3
2024-11-14iommufd: Add IOMMU_IOAS_CHANGE_PROCESSSteve Sistare4-0/+151
2024-11-14iommufd: Lock all IOAS objectsSteve Sistare3-0/+67
2024-11-14iommufd: Export do_update_pinnedSteve Sistare2-5/+10
2024-11-12Merge branch 'iommufd/arm-smmuv3-nested' of iommu/linux into iommufd for-nextJason Gunthorpe1-6/+1
2024-11-12iommufd/selftest: Add IOMMU_TEST_OP_DEV_CHECK_CACHE test commandNicolin Chen2-0/+27
2024-11-12iommufd/selftest: Add mock_viommu_cache_invalidateNicolin Chen2-1/+100
2024-11-12iommufd/viommu: Add iommufd_viommu_find_dev helperNicolin Chen1-0/+13
2024-11-12iommufd: Allow hwpt_id to carry viommu_id for IOMMU_HWPT_INVALIDATENicolin Chen1-9/+31
2024-11-12iommufd/viommu: Add IOMMUFD_OBJ_VDEVICE and IOMMU_VDEVICE_ALLOC ioctlNicolin Chen3-0/+100
2024-11-12iommufd/selftest: Add IOMMU_VIOMMU_TYPE_SELFTESTNicolin Chen2-0/+69
2024-11-12iommufd/selftest: Add refcount to mock_iommu_deviceNicolin Chen1-8/+31
2024-11-12iommufd/selftest: Prepare for mock_viommu_alloc_domain_nested()Nicolin Chen1-39/+50
2024-11-12iommufd/selftest: Add container_of helpersNicolin Chen1-33/+42
2024-11-12iommufd: Allow pt_id to carry viommu_id for IOMMU_HWPT_ALLOCNicolin Chen2-1/+73
2024-11-12iommufd/viommu: Add IOMMU_VIOMMU_ALLOC ioctlNicolin Chen4-1/+92
2024-11-12iommufd: Verify object in iommufd_object_finalize/abort()Nicolin Chen1-5/+11
2024-11-12iommufd: Move _iommufd_object_alloc helper to a sharable fileNicolin Chen5-36/+47
2024-11-08iommufd: Move struct iommufd_object to public iommufd headerNicolin Chen1-24/+1
2024-11-07iommufd: Allow fault reporting for non-PRI PCI devicesZhangfei Gao1-2/+7
2024-11-05iommufd: Enable PRI when doing the iommufd_hwpt_allocJoel Granados1-1/+2
2024-11-05vfio: Remove VFIO_TYPE1_NESTING_IOMMUJason Gunthorpe1-6/+1
2024-10-28iommufd: File mappings for mdevSteve Sistare1-7/+20
2024-10-28iommufd: Add IOMMU_IOAS_MAP_FILESteve Sistare6-1/+114
2024-10-28iommufd: pfn_reader for file mappingsSteve Sistare2-17/+116
2024-10-28iommufd: Folio subroutinesSteve Sistare1-14/+63
2024-10-28iommufd: pfn_reader local variablesSteve Sistare1-11/+14
2024-10-28iommufd: Generalize iopt_pages addressSteve Sistare3-32/+67
2024-10-28iommufd: Rename uptr in iopt_alloc_iova()Steve Sistare1-8/+8
2024-09-27[tree-wide] finally take no_llseek outAl Viro1-1/+0
2024-09-24Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds12-64/+93
2024-09-11iommu: Set iommu_attach_handle->domain in coreYi Liu1-1/+0
2024-09-11iommufd: Avoid duplicated __iommu_group_set_core_domain() callYi Liu1-1/+3
2024-09-05iommufd: Protect against overflow of ALIGN() during iova allocationJason Gunthorpe1-0/+8
2024-09-05iommufd: Check the domain owner of the parent before creating a nesting domainJason Gunthorpe1-1/+2
2024-09-01fault-inject: improve build for CONFIG_FAULT_INJECTION=nJani Nikula1-0/+1
2024-08-31Merge tag 'iommu-fixes-v6.11-rc5' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+8
2024-08-27Merge branch 'nesting_reserved_regions' into iommufd.git for-nextJason Gunthorpe3-27/+46
2024-08-27iommufd/device: Enforce reserved IOVA also when attached to hwpt_nestedNicolin Chen2-26/+45
2024-08-27iommufd/selftest: Fix buffer read overrrun in the dirty testJason Gunthorpe1-5/+4
2024-08-26iommufd: Reorder include filesNicolin Chen11-29/+31
2024-08-26iommufd: Do not allow creating areas without READ or WRITEJason Gunthorpe1-0/+8
2024-08-19iommufd/selftest: Make dirty_ops staticJinjie Ruan1-1/+1
2024-07-29iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()Nicolin Chen1-1/+1
2024-07-19Merge tag 'iommu-updates-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-6/+11
2024-07-12Merge branch 'iommu/iommufd/paging-domain-alloc' into iommu/nextWill Deacon1-3/+4
2024-07-12Merge branch 'iommu/core' into iommu/nextWill Deacon1-3/+4
2024-07-12iommufd: Fix error pointer checkingLu Baolu1-1/+1
2024-07-12iommufd: Add check on user response codeLu Baolu1-0/+10
2024-07-10iommufd: Require drivers to supply the cache_invalidate_user opsJason Gunthorpe1-1/+2
2024-07-09Merge branch 'iommufd_pri' into iommufd for-nextJason Gunthorpe8-11/+626
2024-07-09iommufd/selftest: Add IOPF support for mock deviceLu Baolu2-0/+72
2024-07-09iommufd: Associate fault object with iommufd_hw_pgtableLu Baolu3-8/+56
2024-07-09iommufd: Fault-capable hwpt attach/detach/replaceLu Baolu3-3/+235
2024-07-09iommufd: Add iommufd fault objectLu Baolu4-0/+263
2024-07-04iommufd: Use iommu_paging_domain_alloc()Lu Baolu1-3/+4
2024-07-03iommu/arm-smmu-v3: Add support for dirty tracking in domain allocJoao Martins1-0/+3
2024-06-28iommufd/iova_bitmap: Remove iterator logicJoao Martins1-95/+2
2024-06-28iommufd/iova_bitmap: Dynamic pinning on iova_bitmap_set()Joao Martins1-7/+66