Kumar Gala
04903a30a3
[POWERPC] Enable interrupts if we are doing fp math emulation
...
Anytime we are emulating an instruction we are going to be doing some form of
get_user() to get the instruction image to decode. Since get_user() might
sleep we need to ensure we have interrupts enabled or we might see something
like:
Debug: sleeping function called from invalid context at arch/powerpc/kernel/traps.c:697
in_atomic():0, irqs_disabled():1
Call Trace:
[D6023EB0] [C0007F84] show_stack+0x58/0x174 (unreliable)
[D6023EE0] [C0022C34] __might_sleep+0xbc/0xd0
[D6023EF0] [C000D158] program_check_exception+0x1d8/0x4fc
[D6023F40] [C000E744] ret_from_except_full+0x0/0x4c
--- Exception: 700 at 0x102a7100
LR = 0xdb9ef04
However, we want to ensure that interrupts are disabled when handling a trap
exception that might be used for a kernel breakpoint. This is why ProgramCheck
is marked as EXC_XFER_STD instead of EXC_XFER_EE.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org >
2007-02-07 01:13:32 -06:00
..
2006-10-25 11:54:07 +10:00
2006-10-25 11:54:18 +10:00
2006-06-09 21:24:15 +10:00
2007-01-09 17:03:02 +11:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2006-11-01 14:52:48 +11:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2007-02-07 14:03:22 +11:00
2006-10-16 16:32:25 +10:00
2007-02-07 14:03:22 +11:00
2006-08-08 17:07:04 +10:00
2006-12-07 08:39:46 -08:00
2006-12-04 20:38:59 +11:00
2006-06-30 19:25:36 +02:00
2007-02-07 14:03:23 +11:00
2006-06-30 19:25:36 +02:00
2006-08-30 14:45:35 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2007-01-24 21:13:58 +11:00
2006-06-30 19:25:36 +02:00
2007-02-07 14:03:23 +11:00
2006-02-10 16:51:50 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2006-06-30 19:25:36 +02:00
2006-10-16 16:31:36 +10:00
2006-10-25 14:20:22 +10:00
2006-10-02 07:57:20 -07:00
2006-12-04 20:39:05 +11:00
2007-01-26 01:52:27 -06:00
2006-12-04 20:38:40 +11:00
2007-01-24 21:13:59 +11:00
2007-02-06 22:55:19 -06:00
2006-06-30 19:25:36 +02:00
2006-08-25 14:56:07 +10:00
2006-08-01 16:19:15 +10:00
2006-01-09 15:06:06 +11:00
2006-06-26 18:57:34 +02:00
2006-08-25 14:56:07 +10:00
2006-08-17 16:41:10 +10:00
2007-02-07 14:03:22 +11:00
2006-10-25 11:42:10 +10:00
2007-02-07 14:03:22 +11:00
2006-09-20 14:06:18 +10:00
2007-01-24 21:13:58 +11:00
2006-12-11 16:35:07 +11:00
2006-12-13 09:05:58 -08:00
2006-12-08 02:23:07 -06:00
2006-12-19 15:35:40 +01:00
2006-08-08 17:08:56 +10:00
2007-01-24 21:13:57 +11:00
2007-02-07 14:05:13 +11:00
2006-07-31 15:55:04 +10:00
2007-02-07 14:03:19 +11:00
2005-11-03 16:03:28 +11:00
2007-02-07 14:03:23 +11:00
2006-12-08 08:28:48 -08:00
2006-10-16 15:53:30 +10:00
2006-12-11 13:49:49 +11:00
2006-12-20 16:37:47 +11:00
2007-01-24 21:13:57 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2007-01-24 21:13:58 +11:00
2006-12-08 08:28:48 -08:00
2006-12-04 20:39:05 +11:00
2006-07-31 15:55:04 +10:00
2006-06-09 21:21:06 +10:00
2006-12-08 17:10:22 +11:00
2005-09-26 16:04:21 +10:00
2006-12-04 20:40:16 +11:00
2006-12-04 20:40:16 +11:00
2006-10-04 14:52:22 +10:00
2006-05-19 15:02:12 +10:00
2006-12-20 16:37:49 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2007-01-11 18:18:20 -08:00
2006-09-26 08:49:01 -07:00
2006-12-04 20:41:19 +11:00
2006-10-02 07:57:21 -07:00
2007-02-07 14:03:19 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:39:15 +11:00
2007-02-07 01:13:32 -06:00
2007-02-07 14:03:22 +11:00
2007-02-07 14:03:22 +11:00
2007-01-26 13:50:58 -08:00
2005-09-21 19:21:07 +10:00
2006-06-30 19:25:36 +02:00
2007-01-24 21:13:57 +11:00
2006-12-11 16:35:07 +11:00