Home
last modified time | relevance | path

Searched refs:iommufd (Results 1 – 19 of 19) sorted by relevance

/qemu/backends/
H A Dtrace-events9 # iommufd.c
13 …mmufd_backend_map_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, void *vaddr, bool …
14 …nd_unmap_dma_non_exist(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret) " Unmap …
15 iommufd_backend_unmap_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret) " iomm…
16 iommufd_backend_alloc_ioas(int iommufd, uint32_t ioas) " iommufd=%d ioas=%d"
17iommufd, uint32_t dev_id, uint32_t pt_id, uint32_t flags, uint32_t hwpt_type, uint32_t len, uint6…
18 iommufd_backend_free_id(int iommufd, uint32_t id, int ret) " iommufd=%d id=%d (%d)"
19 iommufd_backend_set_dirty(int iommufd, uint32_t hwpt_id, bool start, int ret) " iommufd=%d hwpt=%u …
20 …backend_get_dirty_bitmap(int iommufd, uint32_t hwpt_id, uint64_t iova, uint64_t size, uint64_t pag…
H A Dmeson.build29 system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c'))
/qemu/docs/devel/
H A Dvfio-iommufd.rst10 the new iommufd interface is device-centric, relying on device fd and iommufd.
38 | iommufd | | vfio legacy |
62 - iommufd BE: uses device fd and iommufd to setup secure context
76 * iommufd BE: uses iommufd
95 named iommufd which allows to pass an iommufd object. Take ``vfio-pci``
100 -object iommufd,id=iommufd0
101 -device vfio-pci,host=0000:02:00.0,iommufd=iommufd0
109 -object iommufd,id=iommufd0,fd=22
110 -device vfio-pci,iommufd=iommufd0,fd=23
114 If no ``iommufd`` object is passed to the ``vfio-pci`` device, iommufd
[all …]
H A Dindex-internals.rst21 vfio-iommufd
/qemu/hw/vfio/
H A Diommufd.c69 IOMMUFDBackend *iommufd = vbasedev->iommufd; in iommufd_cdev_connect_and_bind() local
75 if (!iommufd_backend_connect(iommufd, errp)) { in iommufd_cdev_connect_and_bind()
89 bind.iommufd = iommufd->fd; in iommufd_cdev_connect_and_bind()
92 vbasedev->fd, bind.iommufd); in iommufd_cdev_connect_and_bind()
103 iommufd_backend_disconnect(iommufd); in iommufd_cdev_connect_and_bind()
111 iommufd_backend_disconnect(vbasedev->iommufd); in iommufd_cdev_unbind_and_disconnect()
241 int iommufd = vbasedev->iommufd->fd; in iommufd_cdev_attach_ioas_hwpt() local
263 int iommufd = vbasedev->iommufd->fd; in iommufd_cdev_detach_ioas_hwpt() local
283 IOMMUFDBackend *iommufd = vbasedev->iommufd; in iommufd_cdev_autodomains_get() local
506 vbasedev->iommufd != container->be) { in iommufd_cdev_attach()
[all …]
H A Dtrace-events170 #iommufd.c
172 iommufd_cdev_connect_and_bind(int iommufd, const char *name, int devfd, int devid) " [iommufd=%d] S…
174 iommufd_cdev_attach_ioas_hwpt(int iommufd, const char *name, int devfd, int id) " [iommufd=%d] Succ…
175 iommufd_cdev_detach_ioas_hwpt(int iommufd, const char *name) " [iommufd=%d] Successfully detached %…
177 iommufd_cdev_alloc_ioas(int iommufd, int ioas_id) " [iommufd=%d] new IOMMUFD container with ioasid=…
H A Dmeson.build12 'iommufd.c',
H A Dap.c197 DEFINE_PROP_LINK("iommufd", VFIOAPDevice, vdev.iommufd,
H A Dplatform.c640 DEFINE_PROP_LINK("iommufd", VFIOPlatformDevice, vbasedev.iommufd,
H A Dccw.c662 DEFINE_PROP_LINK("iommufd", VFIOCCWDevice, vdev.iommufd,
H A Dhelpers.c651 if (!vbasedev->iommufd) { in vfio_device_get_name()
H A Dcommon.c1545 if (vbasedev->iommufd) { in vfio_attach_device()
H A Dpci.c3408 DEFINE_PROP_LINK("iommufd", VFIOPCIDevice, vbasedev.iommufd,
/qemu/scripts/
H A Dupdate-linux-headers.sh203 vduse.h iommufd.h bits.h; do
/qemu/include/hw/vfio/
H A Dvfio-common.h147 IOMMUFDBackend *iommufd; member
/qemu/linux-headers/linux/
H A Dvfio.h924 __s32 iommufd; member
/qemu/qapi/
H A Dqom.json819 # Properties for iommufd objects.
823 # iommufd object to be shared across several subsystems (VFIO,
1109 'iommufd',
1184 'iommufd': 'IOMMUFDProperties',
/qemu/
H A DMAINTAINERS2177 iommufd
2182 F: backends/iommufd.c
2183 F: include/sysemu/iommufd.h
2188 F: docs/devel/vfio-iommufd.rst
H A Dqemu-options.hx5410 ``-object iommufd,id=id[,fd=fd]``
5411 Creates an iommufd backend which allows control of DMA mapping
5415 vfio-pci of vdpa) will use to connect with the iommufd backend.
5418 resulting from ``/dev/iommu`` opening. Usually the iommufd is shared