]> 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)
commitd96ef8df2fd387960a6ccd9b84dd74a45b16e667
treecadbd551090fcecf6ec1551573ce8f907e8b6a28
parent314063429d2560377a8463c89cfefd6f9155cbf6
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