瀏覽代碼

PCI/MSI: Kill redundant call of irq_set_msi_desc() for MSI-X interrupts

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 <jiang.liu@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Jiang Liu 10 年之前
父節點
當前提交
d71d6432e1
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/pci/msi.c

+ 0 - 1
drivers/pci/msi.c

@@ -695,7 +695,6 @@ static void msix_program_entries(struct pci_dev *dev,
 						PCI_MSIX_ENTRY_VECTOR_CTRL;
 						PCI_MSIX_ENTRY_VECTOR_CTRL;
 
 
 		entries[i].vector = entry->irq;
 		entries[i].vector = entry->irq;
-		irq_set_msi_desc(entry->irq, entry);
 		entry->masked = readl(entry->mask_base + offset);
 		entry->masked = readl(entry->mask_base + offset);
 		msix_mask_irq(entry, 1);
 		msix_mask_irq(entry, 1);
 		i++;
 		i++;