aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-08-10 12:21:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-21 09:17:10 -0700
commit72630f70509e26bdce8059e93a18969961cec862 (patch)
tree664bb8b6d4081af5387558b11102f99292a0ce02 /fs
parent57600cd8d471a6a0a1f97ecdc838954fd202c28f (diff)
downloadkernel_samsung_smdk4412-72630f70509e26bdce8059e93a18969961cec862.zip
kernel_samsung_smdk4412-72630f70509e26bdce8059e93a18969961cec862.tar.gz
kernel_samsung_smdk4412-72630f70509e26bdce8059e93a18969961cec862.tar.bz2
mips,kgdb: fix recursive page fault with CONFIG_KPROBES
commit f0a996eeeda214f4293e234df33b29bec003b536 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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions