ARM: 8422/1: enable imprecise aborts during early kernel startup
authorLucas Stach <l.stach@pengutronix.de>
Tue, 25 Aug 2015 12:52:09 +0000 (13:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Sep 2015 07:13:56 +0000 (08:13 +0100)
commitbbeb9209515989ff47802d4e5d5702178c8e42c4
tree120dfe828f6ac8ea5a7728d37c8a0814102359e3
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
ARM: 8422/1: enable imprecise aborts during early kernel startup

This patch adds imprecise abort enable/disable macros and uses them to
enable imprecise aborts early when starting the kernel.

This helps in tracking down the real cause for such imprecise abort, as
they are handled as soon as they occur. Until now those aborts would
only be enabled when entering the userspace and as a consequence crash
the first userspace process if any abort had been raised during kernel
startup.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/irqflags.h
arch/arm/kernel/smp.c
arch/arm/mm/mmu.c