Searched refs:drhd (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | dmar.h | 70 #define for_each_drhd_unit(drhd) \ argument 71 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 74 #define for_each_active_drhd_unit(drhd) \ argument 75 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 77 if (drhd->ignored) {} else 79 #define for_each_active_iommu(i, drhd) \ argument 80 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ 82 if (i=drhd->iommu, drhd->ignored) {} else 84 #define for_each_iommu(i, drhd) \ argument 85 list_for_each_entry_rcu(drhd, &dmar_drhd_units, list, \ [all …]
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | dmar.c | 66 static int alloc_iommu(struct dmar_drhd_unit *drhd); 69 static void dmar_register_drhd_unit(struct dmar_drhd_unit *drhd) in dmar_register_drhd_unit() argument 75 if (drhd->include_all) in dmar_register_drhd_unit() 76 list_add_tail_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit() 78 list_add_rcu(&drhd->list, &dmar_drhd_units); in dmar_register_drhd_unit() 296 struct acpi_dmar_hardware_unit *drhd; in dmar_pci_bus_add_dev() local 302 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev() 304 ret = dmar_insert_dev_scope(info, (void *)(drhd + 1), in dmar_pci_bus_add_dev() 305 ((void *)drhd) + drhd->header.length, in dmar_pci_bus_add_dev() 389 dmar_find_dmaru(struct acpi_dmar_hardware_unit *drhd) in dmar_find_dmaru() argument [all …]
|
H A D | debugfs.c | 116 struct dmar_drhd_unit *drhd; in iommu_regset_show() local 123 for_each_active_iommu(iommu, drhd) { in iommu_regset_show() 124 if (!drhd->reg_base_addr) { in iommu_regset_show() 131 iommu->name, drhd->reg_base_addr); in iommu_regset_show() 285 struct dmar_drhd_unit *drhd; in dmar_translation_struct_show() local 290 for_each_active_iommu(iommu, drhd) { in dmar_translation_struct_show() 425 struct dmar_drhd_unit *drhd; in invalidation_queue_show() local 432 for_each_active_iommu(iommu, drhd) { in invalidation_queue_show() 513 struct dmar_drhd_unit *drhd; in ir_translation_struct_show() local 519 for_each_active_iommu(iommu, drhd) { in ir_translation_struct_show() [all …]
|
H A D | irq_remapping.c | 225 struct dmar_drhd_unit *drhd = dmar_find_matched_drhd_unit(dev); in map_dev_to_ir() local 227 return drhd ? drhd->iommu->ir_domain : NULL; in map_dev_to_ir() 699 struct dmar_drhd_unit *drhd; in intel_cleanup_irq_remapping() local 702 for_each_iommu(iommu, drhd) { in intel_cleanup_irq_remapping() 715 struct dmar_drhd_unit *drhd; in intel_prepare_irq_remapping() local 744 for_each_iommu(iommu, drhd) in intel_prepare_irq_remapping() 757 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 769 for_each_iommu(iommu, drhd) { in intel_prepare_irq_remapping() 789 struct dmar_drhd_unit *drhd; in set_irq_posting_cap() local 804 for_each_iommu(iommu, drhd) in set_irq_posting_cap() [all …]
|
H A D | iommu.c | 463 struct dmar_drhd_unit *drhd; in domain_update_iommu_coherency() local 481 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_coherency() 493 struct dmar_drhd_unit *drhd; in domain_update_iommu_superpage() local 502 for_each_active_iommu(iommu, drhd) { in domain_update_iommu_superpage() 661 struct dmar_drhd_unit *drhd; in quirk_ioat_snb_local_iommu() local 679 drhd = dmar_find_matched_drhd_unit(pdev); in quirk_ioat_snb_local_iommu() 680 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) { in quirk_ioat_snb_local_iommu() 691 if (!iommu || iommu->drhd->ignored) in iommu_is_dummy() 708 struct dmar_drhd_unit *drhd = NULL; in device_to_iommu() local 732 for_each_iommu(iommu, drhd) { in device_to_iommu() [all …]
|
H A D | iommu.h | 697 struct dmar_drhd_unit *drhd; member
|
/openbmc/qemu/docs/ |
H A D | bypass-iommu.txt | 82 of devices which do not bypass iommu, then fill the DMAR drhd struct with
|