Skip to content

Commit 9f0ffb4

Browse files
committed
iommu/vt-d: Remove domain search for PCI/MSI[X]
Now that the domain can be retrieved through device::msi_domain the domain search for PCI_MSI[X] is not longer required. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20200826112334.305699301@linutronix.de
1 parent 874a201 commit 9f0ffb4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/iommu/intel/irq_remapping.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,9 +1138,6 @@ static struct irq_domain *intel_get_irq_domain(struct irq_alloc_info *info)
11381138
return map_ioapic_to_ir(info->devid);
11391139
case X86_IRQ_ALLOC_TYPE_HPET_GET_PARENT:
11401140
return map_hpet_to_ir(info->devid);
1141-
case X86_IRQ_ALLOC_TYPE_PCI_MSI:
1142-
case X86_IRQ_ALLOC_TYPE_PCI_MSIX:
1143-
return map_dev_to_ir(msi_desc_to_pci_dev(info->desc));
11441141
default:
11451142
WARN_ON_ONCE(1);
11461143
return NULL;

0 commit comments

Comments
 (0)