linux/arch/parisc
Helge Deller e213cce42b parisc: Unbreak handling exceptions from kernel modules
[ Upstream commit 2ef4dfd9d9 ]

Handling exceptions from modules never worked on parisc.
It was just masked by the fact that exceptions from modules
don't happen during normal use.

When a module triggers an exception in get_user() we need to load the
main kernel dp value before accessing the exception_data structure, and
afterwards restore the original dp value of the module on exit.

Noticed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-20 01:08:54 -04:00
..
configs parisc: Update defconfigs which were missing CONFIG_NET. 2014-09-24 14:34:29 -04:00
include parisc: Unbreak handling exceptions from kernel modules 2016-04-20 01:08:54 -04:00
kernel parisc: Unbreak handling exceptions from kernel modules 2016-04-20 01:08:54 -04:00
lib parisc: Unbreak handling exceptions from kernel modules 2016-04-20 01:08:54 -04:00
math-emu parisc: remove duplicate define 2013-11-07 22:28:15 +01:00
mm parisc: Unbreak handling exceptions from kernel modules 2016-04-20 01:08:54 -04:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh parisc: make "make install" not depend on vmlinux 2013-11-07 22:28:06 +01:00
Kconfig parisc: expose number of page table levels on Kconfig level 2015-04-14 16:49:02 -07:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:07:08 -08:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00