Skip to content

Commit bc95fd0

Browse files
committed
iommu/amd: Remove domain search for PCI/MSI
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> Link: https://lore.kernel.org/r/20200826112334.400700807@linutronix.de
1 parent 9f0ffb4 commit bc95fd0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/iommu/amd/iommu.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3562,9 +3562,6 @@ static struct irq_domain *get_irq_domain_for_devid(struct irq_alloc_info *info,
35623562
case X86_IRQ_ALLOC_TYPE_IOAPIC_GET_PARENT:
35633563
case X86_IRQ_ALLOC_TYPE_HPET_GET_PARENT:
35643564
return iommu->ir_domain;
3565-
case X86_IRQ_ALLOC_TYPE_PCI_MSI:
3566-
case X86_IRQ_ALLOC_TYPE_PCI_MSIX:
3567-
return iommu->msi_domain;
35683565
default:
35693566
WARN_ON_ONCE(1);
35703567
return NULL;

0 commit comments

Comments
 (0)