]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Netlogic: Support for XLR/XLS Fast Message Network
authorGanesan Ramalingam <ganesanr@broadcom.com>
Wed, 31 Oct 2012 12:01:42 +0000 (12:01 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:20 +0000 (11:37 +0100)
commit86a76593e9500fd7a3a2eb8a5840c94bf6a5639a
tree99382401195a5163fc6fd2191d786034512aa874
parent9d2474fc9ebe02e7708d88a9ae01425081fd5d5d
MIPS: Netlogic: Support for XLR/XLS Fast Message Network

On XLR/XLS, the cpu cores communicate with fast on-chip devices
(e.g. network accelerator, security engine etc.) using the Fast
Messaging Network(FMN). The FMN queues and credits needs to be
configured and intialized before it can be used.

The co-processor 2 on XLR/XLS CPU cores has registers for FMN access,
and the XLR/XLS has custom instructions for sending and loading
messages.  The FMN can deliver also per-cpu interrupts when messages
are available at the CPU.

This patch adds FMN initialization, adds interrupt setup and handling,
and also provides support for sending and receiving FMN messages.

Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4468
Signed-off-by: John Crispin <blogic@openwrt.org>
12 files changed:
arch/mips/include/asm/netlogic/common.h
arch/mips/include/asm/netlogic/interrupt.h
arch/mips/include/asm/netlogic/mips-extns.h
arch/mips/include/asm/netlogic/xlr/fmn.h [new file with mode: 0644]
arch/mips/include/asm/netlogic/xlr/xlr.h
arch/mips/netlogic/common/irq.c
arch/mips/netlogic/common/smp.c
arch/mips/netlogic/xlp/setup.c
arch/mips/netlogic/xlr/Makefile
arch/mips/netlogic/xlr/fmn-config.c [new file with mode: 0644]
arch/mips/netlogic/xlr/fmn.c [new file with mode: 0644]
arch/mips/netlogic/xlr/setup.c