MIPS: Add MSI support for XLP9XX
authorGanesan Ramalingam <ganesanr@broadcom.com>
Fri, 9 May 2014 11:05:49 +0000 (16:35 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 14:51:02 +0000 (16:51 +0200)
commitd66f3f0e10b49df8d0cc0d8eb5bf2ef9863a33cf
tree39f0d8fa0dacfd9f7ab7794bbdd330160af173c9
parent1c98398662c9b4e2f03f64344f83dd6cb14e0420
MIPS: Add MSI support for XLP9XX

In XLP9XX, the interrupt routing table for MSI-X has been moved to the
PCIe controller's config space from PIC. There are also 32 MSI-X
interrupts available per link on XLP9XX.

Update XLP MSI/MSI-X code to handle this.

Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: g@linux-mips.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6912/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/xlp-hal/pcibus.h
arch/mips/include/asm/netlogic/xlp-hal/pic.h
arch/mips/include/asm/netlogic/xlp-hal/xlp.h
arch/mips/pci/msi-xlp.c