This is an initial draft of Kprobes support for MIPS architecture. It is based on a patch series submitted on CELinux mailing list from Sony for 2.6.16 series. Since then many things changed including APIs and file paths. So this is essentially a patch replayed on latest series. Please review and provide your feedback. Signed-off-by: Himanshu Chauhan <hschauhan@xxxxxxxxxxxxx> --- Himanshu Chauhan (1): MIPS: KProbes support v0.1 arch/mips/Kconfig | 13 ++ arch/mips/include/asm/kdebug.h | 5 + arch/mips/include/asm/kprobes.h | 85 +++++++++ arch/mips/kernel/Makefile | 2 + arch/mips/kernel/genex.S | 6 + arch/mips/kernel/kprobes.c | 380 +++++++++++++++++++++++++++++++++++++++ arch/mips/kernel/traps.c | 40 ++++- arch/mips/mm/fault.c | 11 +- 8 files changed, 539 insertions(+), 3 deletions(-) create mode 100644 arch/mips/include/asm/kprobes.h create mode 100644 arch/mips/kernel/kprobes.c