summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic
diff options
context:
space:
mode:
authorGanesan Ramalingam <ganesanr@broadcom.com>2012-05-08 18:11:56 +0530
committerRalf Baechle <ralf@linux-mips.org>2012-07-03 18:57:19 +0200
commit249e2a38fbd28ffaadba112290742ada16946900 (patch)
tree2eefd5b939eff790a01f523a5bf6ec00db6bdbea /arch/mips/netlogic
parentea8e867d9b505b1c852f9932ba75504bc4eebeaa (diff)
downloadop-kernel-dev-249e2a38fbd28ffaadba112290742ada16946900.zip
op-kernel-dev-249e2a38fbd28ffaadba112290742ada16946900.tar.gz
MIPS: Netlogic: MSI enable fix for XLS
MSI interrupts do not work on XLS after commit a776c49 ( "PCI: msi: Disable msi interrupts when we initialize a pci device" ) because the change disables MSI interrupts on the XLS PCIe bridges during the PCI enumeration. Fix this by enabling MSI interrupts on the bridge in the arch_setup_msi_irq() function. A new function xls_get_pcie_link() has been introduced to get the PCI device corresponding to the top level PCIe bridge on which MSI has to be enabled. Also, update get_irq_vector() to use the new xls_get_pcie_link() function and PCI_SLOT() macro for determining the IRQ of PCI devices. Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com> Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3753/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud