projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a7b17
)
PCI/MSI: Kill redundant call of irq_set_msi_desc() for MSI-X interrupts
author
Jiang Liu
<
[email protected]
>
Thu, 6 Nov 2014 14:20:33 +0000
(22:20 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Sun, 23 Nov 2014 12:01:45 +0000
(13:01 +0100)
It is the repsonsibility of arch_setup_msi_irq()/arch_setup_msi_irqs()
to call irq_set_msi_desc() to associate IRQ descriptors and MSI
descriptors. Kill the redundant call of irq_set_msi_desc() for MSI-X
interrupts in the PCI MSI core.
Signed-off-by: Jiang Liu <
[email protected]
>
Cc: Bjorn Helgaas <
[email protected]
>
Cc: Grant Likely <
[email protected]
>
Cc: Marc Zyngier <
[email protected]
>
Cc: Yingjoe Chen <
[email protected]
>
Cc: Yijing Wang <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
drivers/pci/msi.c
patch
|
blob
|
history
diff --git
a/drivers/pci/msi.c
b/drivers/pci/msi.c
index df0170b8da730fae89afec4fbb87cdf0d6d5732e..5cb471ec3e61f83d84683c92015383eb73cb378c 100644
(file)
--- a/
drivers/pci/msi.c
+++ b/
drivers/pci/msi.c
@@
-695,7
+695,6
@@
static void msix_program_entries(struct pci_dev *dev,
PCI_MSIX_ENTRY_VECTOR_CTRL;
entries[i].vector = entry->irq;
- irq_set_msi_desc(entry->irq, entry);
entry->masked = readl(entry->mask_base + offset);
msix_mask_irq(entry, 1);
i++;