kernel_optimize_test/arch/mips/netlogic
Jayachandran C 220d9122e8 MIPS: Netlogic: Optimize EIMR/EIRR accesses in 32-bit
Provide functions ack_c0_eirr(), set_c0_eimr(), clear_c0_eimr()
and read_c0_eirr_and_eimr() that do the EIMR and EIRR operations
and update the interrupt handling code to use these functions.
Also, use the EIMR register functions to mask interrupts in the
irq code.

The 64-bit interrupt request and mask registers (EIRR and EIMR) are
accessed when the interrupts are off, and the common operations are
to set or clear a bit in these registers. Using the 64-bit c0 access
functions for these operations is not optimal in 32-bit, because it
will disable/restore interrupts and split/join the 64-bit value during
each register access.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4790/
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-02-17 00:15:19 +01:00
..
common MIPS: Netlogic: Optimize EIMR/EIRR accesses in 32-bit 2013-02-17 00:15:19 +01:00
dts kbuild: centralize .dts->.dtb rule 2012-11-30 10:52:19 -06:00
xlp MIPS: Netlogic: Support for XLR/XLS Fast Message Network 2012-11-09 11:37:20 +01:00
xlr MIPS: Netlogic: add XLS6xx to FMN config 2013-02-17 00:15:18 +01:00
Kconfig MIPS: Netlogic: Make number of nodes configurable 2012-11-09 11:37:20 +01:00
Makefile MIPS: Netlogic: Add support for built in DTB 2012-08-22 23:46:37 +02:00
Platform MIPS: Netlogic: Add XLP makefiles and config 2011-12-07 22:04:56 +00:00