From: Jayachandran C Date: Sat, 21 Dec 2013 11:22:13 +0000 (+0530) Subject: MIPS: Netlogic: Add MSI support for XLP X-Git-Tag: v3.14-rc1~37^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c24a8a7a99885d5b986f38f6631f69e7794a3e5e;p=pandora-kernel.git MIPS: Netlogic: Add MSI support for XLP Add MSI chip and MSIX chip definitions. For MSI, we map the link interrupt to a MSI link IRQ which will do a second level of dispatch based on the MSI status register. The MSI chip definitions use the MSI enable register to enable and disable the MSI irqs. For MSI-X, we split the 32 available MSI-X vectors across the four PCIe links (8 each). These PIC interrupts generate an IRQ per link which uses a second level dispatch as well. The MSI-X chip definition uses the standard functions to enable and disable interrupts. Signed-off-by: Jayachandran C Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/6270/ --- Reading git-diff-tree failed