projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0ffb4
)
iommu/amd: Remove domain search for PCI/MSI
author
Thomas Gleixner
<tglx@linutronix.de>
Wed, 26 Aug 2020 11:17:06 +0000
(13:17 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:38 +0000
(16:52 +0200)
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
drivers/iommu/amd/iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd/iommu.c
b/drivers/iommu/amd/iommu.c
index
a9d8b32
..
ef64e01
100644
(file)
--- a/
drivers/iommu/amd/iommu.c
+++ b/
drivers/iommu/amd/iommu.c
@@
-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;