Files
linux/arch/mips/kernel
Jason Wessel 72630f7050 mips,kgdb: fix recursive page fault with CONFIG_KPROBES
commit f0a996eeed upstream.

This fault was detected using the kgdb test suite on boot and it
crashes recursively due to the fact that CONFIG_KPROBES on mips adds
an extra die notifier in the page fault handler.  The crash signature
looks like this:

kgdbts:RUN bad memory access test
KGDB: re-enter exception: ALL breakpoints killed
Call Trace:
[<807b7548>] dump_stack+0x20/0x54
[<807b7548>] dump_stack+0x20/0x54

The fix for now is to have kgdb return immediately if the fault type
is DIE_PAGE_FAULT and allow the kprobe code to decide what is supposed
to happen.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-21 09:17:10 -07:00
..
2010-05-21 21:31:14 +01:00
2008-05-01 08:03:58 -07:00
2010-10-18 16:59:02 +01:00
2011-03-31 11:26:23 -03:00
2010-08-05 13:26:29 +01:00
2011-01-18 19:30:24 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-07-12 12:22:34 -07:00
2006-12-10 21:52:11 +00:00
2010-10-15 15:53:27 +02:00
2011-05-28 10:48:39 -07:00
2011-01-18 19:30:28 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-06-24 18:34:40 +01:00
2010-07-26 19:08:16 +01:00
2011-03-31 11:26:23 -03:00