projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527f378
)
iommu/amd: Remove bogus check for multi MSI-X
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 11 Nov 2022 13:54:19 +0000
(14:54 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:18 +0000
(15:15 +0100)
PCI/Multi-MSI is MSI specific and not supported for MSI-X
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link:
https://lore.kernel.org/r/20221111122013.772447165@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 d3b39d0416fa32328bebe4edd56a77d8d053fb42..8ece86484b275fdd085d9e331d5bf6aaa404364c 100644
(file)
--- a/
drivers/iommu/amd/iommu.c
+++ b/
drivers/iommu/amd/iommu.c
@@
-3294,8
+3294,7
@@
static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq,
if (!info)
return -EINVAL;
- if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_PCI_MSI &&
- info->type != X86_IRQ_ALLOC_TYPE_PCI_MSIX)
+ if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_PCI_MSI)
return -EINVAL;
/*