Huang Rui
03161a6ecb
drm/amdgpu: fix dead lock if any ip block resume failed in s3
Driver must free the console lock whether driver resuming successful
or not. Otherwise, fb_console will be always waiting for the lock and
then cause system stuck.
[ 244.405541] INFO: task kworker/0:0:4 blocked for more than 120 seconds.
[ 244.405543] Tainted: G OE 4.9.0-custom #1
[ 244.405544] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 244.405541] INFO: task kworker/0:0:4 blocked for more than 120 seconds.
[ 244.405543] Tainted: G OE 4.9.0-custom #1
[ 244.405544] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 244.405550] kworker/0:0 D 0 4 2 0x00080000
[ 244.405559] Workqueue: events console_callback
[ 244.405564] ffff88045a2cfc00 0000000000000000 ffff880462b75940 ffffffff81c0e500
[ 244.405568] ffff880476419280 ffffc900018f7c90 ffffffff817dcf62 000000000000003c
[ 244.405572] 0000000100000000 0000000000000002 ffff880462b75940 ffff880462b75940
[ 244.405573] Call Trace:
[ 244.405580] [<ffffffff817dcf62>] ? __schedule+0x222/0x6a0
[ 244.405584] [<ffffffff817dd416>] schedule+0x36/0x80
[ 244.405588] [<ffffffff817e041c>] schedule_timeout+0x1fc/0x390
[ 244.405592] [<ffffffff817df1b4>] __down_common+0xa5/0xf8
[ 244.405598] [<ffffffff810b2ca8>] ? put_prev_entity+0x48/0x710
[ 244.405601] [<ffffffff817df224>] __down+0x1d/0x1f
[ 244.405606] [<ffffffff810c71a1>] down+0x41/0x50
[ 244.405611] [<ffffffff810d380a>] console_lock+0x1a/0x40
[ 244.405614] [<ffffffff814e3c03>] console_callback+0x13/0x160
[ 244.405617] [<ffffffff817dcf6a>] ? __schedule+0x22a/0x6a0
[ 244.405623] [<ffffffff810954e3>] process_one_work+0x153/0x3f0
[ 244.405628] [<ffffffff81095cab>] worker_thread+0x12b/0x4b0
[ 244.405633] [<ffffffff81095b80>] ? rescuer_thread+0x350/0x350
[ 244.405637] [<ffffffff8109b473>] kthread+0xd3/0xf0
[ 244.405641] [<ffffffff8109b3a0>] ? kthread_park+0x60/0x60
[ 244.405645] [<ffffffff8109b3a0>] ? kthread_park+0x60/0x60
[ 244.405649] [<ffffffff817e1ee5>] ret_from_fork+0x25/0x30
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-04-28 17:32:36 -04:00
..
2017-04-15 14:07:03 -07:00
2017-03-02 08:42:29 +01:00
2017-04-11 09:12:18 +09:00
2017-03-02 08:42:32 +01:00
2017-03-16 16:59:55 +09:00
2017-03-16 16:56:19 -07:00
2017-02-02 16:54:00 -05:00
2017-04-13 18:24:21 -07:00
2017-03-22 19:22:04 -07:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-04-19 11:07:14 +10:00
2017-03-23 16:08:46 -07:00
2017-04-02 09:22:03 -07:00
2017-04-13 03:38:44 +02:00
2017-03-29 22:55:36 +02:00
2017-04-10 09:37:43 -07:00
2017-04-12 13:45:18 -07:00
2017-02-27 18:43:47 -08:00
2017-03-14 10:11:27 +05:30
2017-04-20 13:47:46 +05:30
2017-03-26 09:36:28 +02:00
2017-03-22 18:29:48 +09:00
2017-02-28 20:29:41 -08:00
2017-04-05 09:20:18 +02:00
2017-02-10 15:20:44 +01:00
2017-02-10 15:19:48 +01:00
2017-03-30 11:08:46 +02:00
2017-04-28 17:32:36 -04:00
2017-04-11 23:35:14 -07:00
2017-03-02 08:42:32 +01:00
2017-03-16 16:42:33 +09:00
2017-03-23 12:01:57 -07:00
2017-03-15 14:55:18 +02:00
2017-04-11 07:40:42 +10:00
2017-03-02 08:42:36 +01:00
2017-03-02 17:41:27 -08:00
2017-04-02 11:44:03 +01:00
2017-04-11 23:51:58 -07:00
2017-04-14 17:51:16 -07:00
2017-03-22 23:59:56 +01:00
2017-04-14 10:55:05 +02:00
2017-03-28 17:59:33 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:32 +01:00
2017-02-15 08:27:21 -07:00
2017-03-10 14:17:23 +11:00
2017-03-02 08:42:32 +01:00
2017-04-08 11:56:58 -07:00
2017-04-20 13:47:46 +05:30
2017-03-06 08:37:53 -08:00
2017-02-17 14:08:19 -07:00
2017-02-21 11:51:42 -08:00
2017-02-22 12:14:01 -08:00
2017-03-26 11:15:54 -07:00
2017-03-30 21:10:29 +02:00
2017-03-09 17:01:09 -08:00
2017-04-14 17:38:24 -07:00
2017-02-27 18:43:47 -08:00
2017-02-16 23:11:26 -05:00
2017-04-10 17:21:45 -07:00
2017-04-09 13:58:11 -06:00
2017-03-14 15:07:33 +01:00
2017-03-02 08:42:40 +01:00
2017-03-03 16:20:06 -08:00
2017-03-16 17:32:21 +09:00
2017-04-11 07:40:42 +10:00
2017-03-02 08:42:27 +01:00
2017-03-09 15:29:57 +05:30
2017-04-11 10:09:39 +02:00
2017-03-30 22:42:30 +02:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:29 +01:00
2017-03-20 16:25:06 +01:00
2017-04-06 15:08:52 +02:00
2017-03-31 17:13:30 -07:00
2017-02-20 17:23:57 -08:00
2017-03-20 14:45:44 -07:00
2017-04-04 17:36:10 +02:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:32 +01:00
2017-04-05 20:17:38 -07:00
2017-04-15 09:42:14 -07:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:27 +01:00
2017-04-21 13:51:59 +10:00
2017-04-02 16:18:51 -07:00
2017-03-13 10:06:55 +08:00
2017-04-14 10:59:56 +02:00
2017-03-02 08:42:32 +01:00
2017-04-11 23:51:58 -07:00
2017-03-14 17:07:31 +08:00
2017-03-24 14:39:36 -07:00
2017-03-21 14:41:46 -07:00
2017-04-14 16:55:33 -07:00
2017-04-11 00:30:20 +03:00
2017-03-02 08:42:29 +01:00
2017-03-01 06:15:10 -08:00
2017-04-04 10:11:06 -04:00
2017-02-10 15:19:48 +01:00
2017-02-23 11:53:22 -08:00