linux-stable/arch/mips/math-emu
Maneesh Soni d8d4e3ae0b MIPS Kprobes: Refactor branch emulation
This patch refactors MIPS branch emulation code so as to allow skipping
delay slot instruction in case of branch likely instructions when branch is
not taken. This is useful for keeping the code common for use cases like
kprobes where one would like to handle the branch instructions keeping the
delay slot instuction also in picture for branch likely instructions. Also
allow emulation when instruction to be decoded is not at pt_regs->cp0_epc
as in case of kprobes where pt_regs->cp0_epc points to the breakpoint
instruction.

The patch also exports the function for modules.

Signed-off-by: Maneesh Soni <manesoni@cisco.com>
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Cc: David Daney <david.daney@cavium.com>
Cc: ananth@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2913/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-12-07 22:04:03 +00:00
..
cp1emu.c MIPS Kprobes: Refactor branch emulation 2011-12-07 22:04:03 +00:00
dp_add.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fsp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_mul.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_sqrt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_sub.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dsemul.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ieee754.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754d.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754dp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754dp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754int.h MIPS: Fix GCC-4.6 'set but not used' warning in ieee754int.h 2011-03-14 21:07:26 +01:00
ieee754m.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754sp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754sp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754xcpt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
kernel_linkage.c [MIPS] Fix missing prototypes in asm/fpu.h 2008-07-20 14:38:17 +01:00
Makefile MIPS: Add -Werror to arch/mips/Kbuild 2010-08-05 13:25:44 +01:00
sp_add.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fdp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_mul.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sqrt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sub.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00