Leo Yan
8f0712037b
arm64: initialize spinlock for init_mm's context
ARM64 has defined the spinlock for init_mm's context, so need initialize
the spinlock structure; otherwise during the suspend flow it will dump
the info for spinlock's bad magic warning as below:
[ 39.084394] Disabling non-boot CPUs ...
[ 39.092871] BUG: spinlock bad magic on CPU#1, swapper/1/0
[ 39.092896] lock: init_mm+0x338/0x3e0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[ 39.092907] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 3.10.33 #125
[ 39.092912] Call trace:
[ 39.092927] [<ffffffc000087e64>] dump_backtrace+0x0/0x16c
[ 39.092934] [<ffffffc000087fe0>] show_stack+0x10/0x1c
[ 39.092947] [<ffffffc000765334>] dump_stack+0x1c/0x28
[ 39.092953] [<ffffffc0007653b8>] spin_dump+0x78/0x88
[ 39.092960] [<ffffffc0007653ec>] spin_bug+0x24/0x34
[ 39.092971] [<ffffffc000300a28>] do_raw_spin_lock+0x98/0x17c
[ 39.092979] [<ffffffc00076cf08>] _raw_spin_lock_irqsave+0x4c/0x60
[ 39.092990] [<ffffffc000094044>] set_mm_context+0x1c/0x6c
[ 39.092996] [<ffffffc0000941c8>] __new_context+0x94/0x10c
[ 39.093007] [<ffffffc0000d63d4>] idle_task_exit+0x104/0x1b0
[ 39.093014] [<ffffffc00008d91c>] cpu_die+0x14/0x74
[ 39.093021] [<ffffffc000084f74>] arch_cpu_idle_dead+0x8/0x14
[ 39.093030] [<ffffffc0000e7f18>] cpu_startup_entry+0x1ec/0x258
[ 39.093036] [<ffffffc00008d810>] secondary_start_kernel+0x114/0x124
Signed-off-by: Leo Yan <leoy@marvell.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-04-25 16:46:51 +01:00
..
2013-12-11 16:21:00 +00:00
2013-09-26 09:47:43 +01:00
2013-10-25 15:59:38 +01:00
2014-02-07 16:46:07 +00:00
2014-03-10 11:57:40 +00:00
2013-03-21 17:39:31 +00:00
2012-09-17 13:42:00 +01:00
2014-02-27 17:16:59 +00:00
2012-09-17 13:42:00 +01:00
2014-02-07 16:46:07 +00:00
2014-03-13 11:22:38 +00:00
2012-09-17 13:42:21 +01:00
2013-12-16 17:17:31 +00:00
2014-03-14 18:01:36 +00:00
2012-09-17 13:41:59 +01:00
2013-12-19 17:57:51 +00:00
2014-02-26 11:16:25 +00:00
2013-06-11 18:15:55 +01:00
2014-01-27 12:00:25 +00:00
2014-02-27 17:16:59 +00:00
2013-10-25 15:59:35 +01:00
2014-02-05 10:42:32 +00:00
2013-03-26 16:02:23 +00:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2014-04-07 16:36:15 -07:00
2012-11-08 16:06:20 +00:00
2012-12-05 11:26:50 +00:00
2014-02-07 16:46:07 +00:00
2013-12-16 17:17:35 +00:00
2013-06-14 09:52:40 +01:00
2012-09-17 13:42:14 +01:00
2014-03-04 08:06:32 +00:00
2013-06-07 10:39:45 +00:00
2014-01-08 15:21:29 +00:00
2014-04-07 16:36:15 -07:00
2013-10-25 11:33:21 +01:00
2014-02-26 11:16:25 +00:00
2014-01-08 15:23:53 +00:00
2014-04-07 16:36:15 -07:00
2014-02-26 11:16:25 +00:00
2014-04-02 14:50:10 -07:00
2014-03-03 01:15:21 +00:00
2013-06-12 16:42:16 +01:00
2013-11-11 12:05:20 +01:00
2013-12-28 10:28:50 +00:00
2013-06-07 14:03:38 +01:00
2014-03-03 01:15:22 +00:00
2013-06-12 16:40:32 +01:00
2012-10-20 11:12:01 +01:00
2012-09-17 13:41:56 +01:00
2014-04-07 16:36:15 -07:00
2013-06-07 18:00:11 +01:00
2014-04-25 16:46:51 +01:00
2012-09-17 13:42:19 +01:00
2013-08-20 12:12:26 +01:00
2012-09-17 13:41:57 +01:00
2014-02-28 16:12:25 +00:00
2013-01-29 16:56:17 +00:00
2013-11-15 09:32:16 +09:00
2013-11-05 17:23:52 +00:00
2013-08-22 11:44:41 +01:00
2012-09-17 13:41:56 +01:00
2013-08-22 11:44:41 +01:00
2014-04-03 10:43:11 +01:00
2014-03-31 15:01:45 -07:00
2012-09-17 13:42:17 +01:00
2013-12-16 17:17:31 +00:00
2013-10-25 15:59:35 +01:00
2014-02-28 14:14:53 +00:00
2014-03-13 11:22:38 +00:00
2012-09-17 13:42:07 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:12 +01:00
2013-12-16 17:17:30 +00:00
2013-10-25 11:33:21 +01:00
2012-09-17 13:41:56 +01:00
2013-10-25 16:10:22 +01:00
2014-02-07 16:46:07 +00:00
2012-09-17 10:24:46 +01:00
2012-10-11 11:05:13 +01:00
2013-03-21 17:39:30 +00:00
2013-12-16 17:17:31 +00:00
2013-06-07 10:39:45 +00:00
2013-10-23 15:45:35 +01:00
2013-02-14 09:17:29 -05:00
2013-07-19 15:57:08 +01:00
2013-11-13 20:21:47 +01:00
2013-06-10 17:58:20 +01:00
2014-04-25 16:46:49 +01:00
2013-06-14 09:52:41 +01:00
2014-03-04 10:30:07 +00:00
2012-09-17 10:24:46 +01:00
2014-03-20 17:41:27 +00:00
2013-03-18 10:42:16 +00:00
2014-04-23 10:22:33 +01:00
2014-03-04 09:05:33 +01:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00
2014-04-05 10:06:20 +01:00
2013-12-19 17:43:08 +00:00