Skip to content

Commit

Permalink
iommu/amd: Remove domain search for PCI/MSI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Sep 16, 2020
1 parent 9f0ffb4 commit bc95fd0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/iommu/amd/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3562,9 +3562,6 @@ static struct irq_domain *get_irq_domain_for_devid(struct irq_alloc_info *info,
case X86_IRQ_ALLOC_TYPE_IOAPIC_GET_PARENT:
case X86_IRQ_ALLOC_TYPE_HPET_GET_PARENT:
return iommu->ir_domain;
case X86_IRQ_ALLOC_TYPE_PCI_MSI:
case X86_IRQ_ALLOC_TYPE_PCI_MSIX:
return iommu->msi_domain;
default:
WARN_ON_ONCE(1);
return NULL;
Expand Down

0 comments on commit bc95fd0

Please sign in to comment.