Files
linux/arch/arm/include/asm
Rabin Vincent bbb8ae42eb ARM: 7325/1: fix v7 boot with lockdep enabled
commit 8e43a905dd upstream.

Bootup with lockdep enabled has been broken on v7 since b46c0f7465
("ARM: 7321/1: cache-v7: Disable preemption when reading CCSIDR").

This is because v7_setup (which is called very early during boot) calls
v7_flush_dcache_all, and the save_and_disable_irqs added by that patch
ends up attempting to call into lockdep C code (trace_hardirqs_off())
when we are in no position to execute it (no stack, MMU off).

Fix this by using a notrace variant of save_and_disable_irqs.  The code
already uses the notrace variant of restore_irqs.

Reviewed-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-29 16:33:44 -08:00
..
2009-02-01 11:01:22 +05:30
2011-05-26 17:12:38 -07:00
2011-03-16 23:35:26 +00:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-16 23:35:26 +00:00
2011-03-31 11:26:23 -03:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-10-29 13:14:40 -05:00
2010-06-09 11:12:36 +02:00
2010-10-27 21:41:39 +01:00
2010-04-22 21:38:11 +01:00
2011-02-21 19:24:14 +00:00
2011-03-16 23:35:25 +00:00
2010-10-01 22:32:18 -04:00
2011-04-16 12:52:18 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2010-10-01 22:32:18 -04:00
2011-05-25 08:39:14 -07:00
2011-03-23 19:47:18 -07:00
2011-03-31 11:26:23 -03:00
2011-05-28 10:51:01 -07:00
2008-09-06 12:10:45 +01:00