summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommufd/device.c
AgeCommit message (Expand)AuthorFilesLines
2024-08-27Merge branch 'nesting_reserved_regions' into iommufd.git for-nextJason Gunthorpe1-26/+26
2024-08-27iommufd/device: Enforce reserved IOVA also when attached to hwpt_nestedNicolin Chen1-26/+26
2024-08-26iommufd: Reorder include filesNicolin Chen1-2/+2
2024-07-29iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()Nicolin Chen1-1/+1
2024-07-09iommufd: Fault-capable hwpt attach/detach/replaceLu Baolu1-3/+4
2023-11-30iommufd: Add iommufd_ctx to iommufd_put_object()Jason Gunthorpe1-7/+7
2023-10-26iommufd: Add a nested HW pagetable objectNicolin Chen1-1/+2
2023-10-26iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetableNicolin Chen1-31/+45
2023-10-26iommufd/device: Wrap IOMMUFD_OBJ_HWPT_PAGING-only configurationsJason Gunthorpe1-30/+81
2023-10-26iommufd: Rename IOMMUFD_OBJ_HW_PAGETABLE to IOMMUFD_OBJ_HWPT_PAGINGJason Gunthorpe1-5/+5
2023-10-24iommufd: Only enforce cache coherency in iommufd_hw_pagetable_allocNicolin Chen1-18/+2
2023-10-24iommufd: Add capabilities to IOMMU_GET_HW_INFOJoao Martins1-0/+4
2023-10-10iommufd: Flow user flags for domain allocation to domain_alloc_user()Yi Liu1-1/+1
2023-08-18iommufd: Add IOMMU_GET_HW_INFOYi Liu1-0/+73
2023-08-15Merge tag 'v6.5-rc6' into iommufd for-nextJason Gunthorpe1-8/+2
2023-07-28iommufd: Add iommufd_access_replace() APINicolin Chen1-0/+15
2023-07-28iommufd: Use iommufd_access_change_ioas in iommufd_access_destroy_objectNicolin Chen1-6/+4
2023-07-28iommufd: Add iommufd_access_change_ioas(_id) helpersNicolin Chen1-38/+71
2023-07-28iommufd: Allow passing in iopt_access_list_id to iopt_remove_access()Nicolin Chen1-2/+4
2023-07-27iommufd: IOMMUFD_DESTROY should not increase the refcountJason Gunthorpe1-9/+3
2023-07-26iommufd: Add iommufd_device_replace()Jason Gunthorpe1-0/+101
2023-07-26iommufd: Reorganize iommufd_device_attach into iommufd_device_change_ptJason Gunthorpe1-39/+102
2023-07-26iommufd: Fix locking around hwpt allocationJason Gunthorpe1-1/+1
2023-07-26iommufd: Add enforced_cache_coherency to iommufd_hw_pagetable_alloc()Jason Gunthorpe1-15/+4
2023-07-26iommufd: Move putting a hwpt to a helper functionJason Gunthorpe1-5/+1
2023-07-26iommufd: Make sw_msi_start a group globalJason Gunthorpe1-7/+7
2023-07-26iommufd: Use the iommufd_group to avoid duplicate MSI setupJason Gunthorpe1-4/+4
2023-07-26iommufd: Keep track of each device's reserved regions instead of groupsJason Gunthorpe1-3/+2
2023-07-26iommufd: Replace the hwpt->devices list with iommufd_groupJason Gunthorpe1-54/+46
2023-07-26iommufd: Add iommufd_groupJason Gunthorpe1-17/+127
2023-07-26iommufd: Move isolated msi enforcement to iommufd_device_bind()Jason Gunthorpe1-18/+20
2023-07-25iommufd/device: Add iommufd_access_detach() APINicolin Chen1-5/+69
2023-07-25iommufd: Add helper to retrieve iommufd_ctx and devidYi Liu1-0/+12
2023-07-25iommufd: Add iommufd_ctx_has_group()Yi Liu1-0/+30
2023-06-26iommufd: Call iopt_area_contig_done() under the lockJason Gunthorpe1-1/+1
2023-03-31Merge branch 'vfio_mdev_ops' into iommufd.git for-nextJason Gunthorpe1-23/+33
2023-03-31vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access IDYi Liu1-1/+3
2023-03-31iommufd: Create access in vfio_iommufd_emulated_bind()Nicolin Chen1-22/+30
2023-03-06iommufd/selftest: Make selftest create a more complete mock deviceJason Gunthorpe1-34/+6
2023-03-06iommufd: Make iommufd_hw_pagetable_alloc() do iopt_table_add_domain()Jason Gunthorpe1-48/+39
2023-03-06iommufd: Move iommufd_device to iommufd_private.hJason Gunthorpe1-17/+0
2023-03-06iommufd: Move ioas related HWPT destruction into iommufd_hw_pagetable_destroy()Jason Gunthorpe1-15/+2
2023-03-06iommufd: Consistently manage hwpt_itemJason Gunthorpe1-1/+8
2023-03-06iommufd: Add iommufd_lock_obj() around the auto-domains hwptsJason Gunthorpe1-0/+3
2023-03-06iommufd: Assert devices_lock for iommufd_hw_pagetable_has_group()Jason Gunthorpe1-0/+2
2023-02-16iommufd: Do not add the same hwpt to the ioas->hwpt_list twiceJason Gunthorpe1-4/+0
2023-01-11iommufd: Convert to msi_device_has_isolated_msi()Jason Gunthorpe1-3/+1
2022-12-09iommufd: Change the order of MSI setupJason Gunthorpe1-31/+25
2022-12-01iommufd: Add additional invariant assertionsJason Gunthorpe1-0/+5
2022-12-01iommufd: Add kernel support for testing iommufdJason Gunthorpe1-0/+38