MIPS: Add FPU emulator counter for emulated delay slots.
authorDavid Daney <david.daney@cavium.com>
Wed, 3 Dec 2014 19:12:23 +0000 (11:12 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:57 +0000 (17:21 +0200)
commit2707cd293cc2386f8eea6fee1ba72e8b190f25cc
treeeaf18d32c09f61a82a2bf33746a8d93c7567753a
parent7d168923a35551ed6572d02a0f159e7d61f62cfc
MIPS: Add FPU emulator counter for emulated delay slots.

Delay slot emulation in the FPU emulator is the only kernel user of an
executable stack, it is also very slow.  Add a counter so we can see
how many of these emulations are done.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8634/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/fpu_emulator.h
arch/mips/math-emu/dsemul.c
arch/mips/math-emu/me-debugfs.c