]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: alignment: save last kernel aligned fault location
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Jul 2014 13:32:43 +0000 (14:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Jul 2014 11:29:06 +0000 (12:29 +0100)
commit1337de06b9ab8549ec955e278e56e0945e67d933
tree5be3ff83fd70898bd8d26365c4c356070e67fd2e
parentc283fe624aed6d78e819c665e42a74a1dd46e85b
ARM: alignment: save last kernel aligned fault location

Save and report (via the procfs file) the last kernel unaligned fault
location.  This allows us to trivially inspect where the last fault
happened for cases which we don't expect to occur.

Since we expect the kernel to generate misalignment faults (due to
the networking layer), even when warnings are enabled, we don't log
them for the kernel.

Tested-by: Tony Lindgren <tony@atomide.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/alignment.c