]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: Add debug information for userland SIGSEGV signals.
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 21 Jan 2015 10:54:46 +0000 (10:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Feb 2015 09:55:26 +0000 (10:55 +0100)
commitb3995479fcec7e477f9eec16ab1e773d0cba3521
treecadbd551090fcecf6ec1551573ce8f907e8b6a28
parentbc287954f45fa9c63b82b3173e9109a8d58ed989
MIPS: mm: Add debug information for userland SIGSEGV signals.

Commit 43fdc92956db ("[MIPS] MT: Improved multithreading support.")
removed useful debug information for userland segmentation faults.
This patch bring this back along with the ability to determine the
name of the object file where the EPC and RA registers point at.
Furthermore, we select the SYSCTL_EXCEPTION_TRACE symbol for MIPS
which is the de facto solution to turn userland exception logging
on and off via the /proc/sys/debug/exception-trace file.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9089/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/mm/fault.c