Searched full:viommu (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/drivers/iommu/ |
D | virtio-iommu.c | 65 struct viommu_dev *viommu; member 66 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-v5.15/drivers/acpi/ |
D | viot.c | 49 struct viot_iommu *viommu; member 78 static int __init viot_get_pci_iommu_fwnode(struct viot_iommu *viommu, in viot_get_pci_iommu_fwnode() argument 104 viommu->fwnode = pdev->dev.fwnode; in viot_get_pci_iommu_fwnode() 109 static int __init viot_get_mmio_iommu_fwnode(struct viot_iommu *viommu, in viot_get_mmio_iommu_fwnode() argument 124 viommu->fwnode = &adev->fwnode; in viot_get_mmio_iommu_fwnode() 131 struct viot_iommu *viommu; in viot_get_iommu() local 139 list_for_each_entry(viommu, &viot_iommus, list) in viot_get_iommu() 140 if (viommu->offset == offset) in viot_get_iommu() 141 return viommu; in viot_get_iommu() 146 viommu = kzalloc(sizeof(*viommu), GFP_KERNEL); in viot_get_iommu() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/virtio/ |
D | mmio.yaml | 50 iommus = <&viommu 23>; 53 viommu: iommu@3100 {
|
/Linux-v5.15/Documentation/userspace-api/ |
D | iommu.rst | 14 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-v5.15/include/uapi/linux/ |
D | iommu.h | 281 * Only guest vIOMMU selectable and effective options are passed down to
|
/Linux-v5.15/drivers/iommu/intel/ |
D | iommu.c | 3161 * is active. All vIOMMU allocators will eventually be calling the same in register_pasid_allocator() 3175 * is no custom allocator. Mixing SM capable vIOMMU in register_pasid_allocator() 3176 * and non-SM vIOMMU are not supported. in register_pasid_allocator() 4843 * vIOMMU in the guest will only expose first level page tables, therefore 4971 * Always flush device IOTLB if ATS is enabled. vIOMMU in intel_iommu_sva_invalidate()
|
/Linux-v5.15/drivers/iommu/amd/ |
D | iommu.c | 1278 * When NpCache is on, we infer that we run in a VM and use a vIOMMU. in domain_flush_pages()
|