ARM: save and reset the address limit when entering an exception
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 13 May 2016 10:40:20 +0000 (11:40 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 7 Jul 2016 15:01:01 +0000 (16:01 +0100)
commite6978e4bf181fb3b5f8cb6f71b4fe30fbf1b655c
treedddb20dbc9a5e594e406e71ed598039b33e0a4be
parentdd665be0e243873343a28e18f9f345927b658daf
ARM: save and reset the address limit when entering an exception

When we enter an exception, the current address limit should not apply
to the exception context: if the exception context wishes to access
kernel space via the user accessors (eg, perf code), it must explicitly
request such access.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/ptrace.h
arch/arm/kernel/asm-offsets.c
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-header.S
arch/arm/kernel/process.c