Home
last modified time | relevance | path

Searched full:viommu (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/iommu/
Dvirtio-iommu.c64 struct viommu_dev *viommu; member
65 struct mutex mutex; /* protects viommu pointer */
78 struct viommu_dev *viommu; member
136 static off_t viommu_get_write_desc_offset(struct viommu_dev *viommu, in viommu_get_write_desc_offset() argument
143 return len - viommu->probe_size - tail_size; in viommu_get_write_desc_offset()
154 static int __viommu_sync_req(struct viommu_dev *viommu) in __viommu_sync_req() argument
159 struct virtqueue *vq = viommu->vqs[VIOMMU_REQUEST_VQ]; in __viommu_sync_req()
161 assert_spin_locked(&viommu->request_lock); in __viommu_sync_req()
165 while (!list_empty(&viommu->requests)) { in __viommu_sync_req()
187 static int viommu_sync_req(struct viommu_dev *viommu) in viommu_sync_req() argument
[all …]
/Linux-v6.1/drivers/acpi/
Dviot.c48 struct viot_iommu *viommu; member
77 static int __init viot_get_pci_iommu_fwnode(struct viot_iommu *viommu, in viot_get_pci_iommu_fwnode() argument
103 viommu->fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()
108 static int __init viot_get_mmio_iommu_fwnode(struct viot_iommu *viommu, in viot_get_mmio_iommu_fwnode() argument
123 viommu->fwnode = &adev->fwnode; in viot_get_mmio_iommu_fwnode()
130 struct viot_iommu *viommu; in viot_get_iommu() local
138 list_for_each_entry(viommu, &viot_iommus, list) in viot_get_iommu()
139 if (viommu->offset == offset) in viot_get_iommu()
140 return viommu; in viot_get_iommu()
145 viommu = kzalloc(sizeof(*viommu), GFP_KERNEL); in viot_get_iommu()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/virtio/
Dmmio.yaml56 iommus = <&viommu 23>;
59 viommu: iommu@3100 {
/Linux-v6.1/Documentation/userspace-api/
Diommu.rst14 guest IO virtual address (IOVA), wherein the vIOMMU implementation
84 While launching a guest with vIOMMU, it is strongly advised to check
86 vIOMMU operation, such as cache invalidation failures cannot be nicely
/Linux-v6.1/drivers/hv/
Dhv_common.c225 * Hyper-V does not offer a vIOMMU in the guest in hv_setup_dma_ops()
/Linux-v6.1/drivers/iommu/intel/
Diommu.c2899 * is active. All vIOMMU allocators will eventually be calling the same in register_pasid_allocator()
2913 * is no custom allocator. Mixing SM capable vIOMMU in register_pasid_allocator()
2914 * and non-SM vIOMMU are not supported. in register_pasid_allocator()
/Linux-v6.1/drivers/iommu/amd/
Diommu.c1380 * When NpCache is on, we infer that we run in a VM and use a vIOMMU. in domain_flush_pages()