ARM: 8807/1: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 31 Oct 2018 22:53:12 +0000 (23:53 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 8 Nov 2018 10:57:10 +0000 (10:57 +0000)
commite2b85f709a705808a71560de60732fd49e4516a5
tree4eb7aece8cf489a913ed965c40cdfa95eee630a5
parentb99afae1390140f5b0039e6b37a7380de31ae874
ARM: 8807/1: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

Some software such as perf makes unconditional use of the special
[vectors] page which is only provided when CONFIG_KUSER_HELPERS is
enabled in the kernel.

Facilitate the debugging of such situations by printing a debug message
to the kernel log showing the task name and the faulting address.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/fault.c