Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Michael Ellerman 922b9f86a0 powerpc: Fix program check handling when lockdep is enabled
In commit 54321242af ("Disable interrupts early in Program Check"), we
switched from enabling to disabling interrupts in program_check_common.

Whereas ENABLE_INTS leaves r3 untouched, if lockdep is enabled DISABLE_INTS
calls into lockdep code and will clobber r3. That means we pass a bogus
struct pt_regs* into program_check_exception() and all hell breaks loose.

So load our regs pointer into r3 after we call DISABLE_INTS.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-02-22 16:48:49 +11:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-12-09 07:51:02 -05:00
2012-01-11 11:54:20 +11:00
2011-11-28 21:13:18 +02:00
2011-09-23 10:27:03 +10:00
2011-03-31 11:26:23 -03:00
2012-01-03 22:54:56 -05:00
2011-03-31 11:26:23 -03:00
2010-12-09 15:35:32 +11:00
2010-09-22 09:33:50 -07:00
2011-07-26 16:49:47 -07:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2010-03-12 15:52:32 -08:00
2011-12-08 14:02:23 +11:00
2011-12-21 22:03:32 +01:00