PCI/MSI: Rename mask/unmask_msi_irq treewide
The PCI/MSI irq chip callbacks mask/unmask_msi_irq have been renamed to pci_msi_mask/unmask_irq to mark them PCI specific. Rename all usage sites. The conversion helper functions are kept around to avoid conflicts in next and will be removed after merging into mainline. Coccinelle assisted conversion. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Chris Metcalf <cmetcalf@tilera.com> Cc: x86@kernel.org Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Murali Karicheri <m-karicheri2@ti.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Mohit Kumar <mohit.kumar@st.com> Cc: Simon Horman <horms@verge.net.au> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Yijing Wang <wangyijing@huawei.com>
这个提交包含在:
@@ -1453,7 +1453,7 @@ static struct pci_ops tile_cfg_ops = {
|
||||
static unsigned int tilegx_msi_startup(struct irq_data *d)
|
||||
{
|
||||
if (d->msi_desc)
|
||||
unmask_msi_irq(d);
|
||||
pci_msi_unmask_irq(d);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -1465,14 +1465,14 @@ static void tilegx_msi_ack(struct irq_data *d)
|
||||
|
||||
static void tilegx_msi_mask(struct irq_data *d)
|
||||
{
|
||||
mask_msi_irq(d);
|
||||
pci_msi_mask_irq(d);
|
||||
__insn_mtspr(SPR_IPI_MASK_SET_K, 1UL << d->irq);
|
||||
}
|
||||
|
||||
static void tilegx_msi_unmask(struct irq_data *d)
|
||||
{
|
||||
__insn_mtspr(SPR_IPI_MASK_RESET_K, 1UL << d->irq);
|
||||
unmask_msi_irq(d);
|
||||
pci_msi_unmask_irq(d);
|
||||
}
|
||||
|
||||
static struct irq_chip tilegx_msi_chip = {
|
||||
|
在新工单中引用
屏蔽一个用户